Created
November 13, 2018 15:45
-
-
Save AngelBerihuete/a2fbcf85a901eaeeddda69655b6fc82c to your computer and use it in GitHub Desktop.
Cambio de LaTeX a markdown
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Puede que los materiales estén en un formato no adecuado para trabajar en | |
| codificación UTF (la codificación predefinida en Linux), por ejemplo en iso-8859-1. | |
| Esto puede verse haciendo en consola | |
| file -i estadistica-descriptiva-sintesis_2.0.tex | |
| resultando | |
| estadistica-descriptiva-sintesis_2.0.tex: text/x-tex; charset=iso-8859-1 | |
| Para cambiar a formato UTF-8, por ejemplo, hacemos | |
| iconv -f iso-8859-1 -t UTF-8 estadistica-descriptiva-sintesis_2.0.tex -o estadistica-descriptiva-sintesis_3.0.tex | |
| Ya solo queda pasar el archivo TeX a Markdown con Pandoc: | |
| pandoc -s estadistica-descriptiva-sintesis_3.0.tex -o estadistica-descriptiva-sintesis_3.0.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment