Skip to content

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Informes

Procedimiento para la elaboración de informes.

Prerequisitos

  1. Descargar el contenedor https://hub.docker.com/r/rstropek/pandoc-latex

  2. Instalar Joplin

Procedimiento

  1. Elaborar el informe en formato markdown en Joplin. No incluir emojis, ni tablas de contenido.
  2. Une vez terminado el informe, clic en exportar y en formato elegir markdown.
  3. Elegir un directorio para guardar el archivo markdown.
  4. Una vez generado el archivo exportado, desde linux o mac hacer lo siguiente:

Entrar al directorio donde está el archivo markdown y ejecutar el siguiente script.

#!/bin/bash

read -p "Ingresa el título del documento: " title
awk '{gsub("../_resources/",""); print}' *.md > reporte.md; mv ../_resources/* .
cat << EOF >> reporte.md
---
title: $title
author: []
date:
subject: Markdown
keywords: [Markdown, Example]
subtitle: NOMBRE DE LA EMPRESA CLIENTE.
lang: es
titlepage: false
titlepage-color: 483D8B
titlepage-text-color: FFFAFA
titlepage-rule-color: FFFAFA
titlepage-rule-height: 2
book: true
classoption: oneside
code-block-font-size: \scriptsize
---
EOF

docker run --rm -v $(pwd):/data  -w /data  rstropek/pandoc-latex  -f markdown  --from markdown+yaml_metadata_block  --template https://raw.githubusercontent.com/vsh00t/Informes/main/eisvogel.tex  --table-of-contents  --toc-depth 6  -t latex  -o Informe.pdf reporte.md

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages