plugin:latexport
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
plugin:latexport [2021-10-15 17:11] – [Using the plugin to export pages as latex] Aleksandr | plugin:latexport [2021-10-18 13:20] (current) – [Creating a PDF file based on the exported latex] Aleksandr | ||
---|---|---|---|
Line 98: | Line 98: | ||
Follow this procedure to export Dokuwiki pages into a PDF file: | Follow this procedure to export Dokuwiki pages into a PDF file: | ||
- | * Download the zip archive from the page. You can either type the url in your browser and save the content in an appropriate place, or use a command similar to: | + | * Download the zip archive from the page. You can either type the url in your browser and save the content in an appropriate place, or use a command similar to:<code bash> |
- | + | ||
- | <code bash> | + | |
cd working_folder | cd working_folder | ||
curl -o content.zip " | curl -o content.zip " | ||
</ | </ | ||
- | + | | |
- | | + | |
- | + | ||
- | <code bash> | + | |
mkdir content | mkdir content | ||
unzip content.zip -d content/ | unzip content.zip -d content/ | ||
</ | </ | ||
- | + | | |
- | | + | |
- | + | ||
- | <code latex> | + | |
\documentclass{book} | \documentclass{book} | ||
Line 139: | Line 131: | ||
\end{document} | \end{document} | ||
</ | </ | ||
- | + | | |
- | | + | |
- | + | ||
- | <code bash> | + | |
cd working_folder | cd working_folder | ||
lualatex root.tex | lualatex root.tex | ||
lualatex root.tex | lualatex root.tex | ||
</ | </ | ||
- | |||
* If everything went correctly, you should have a PDF containing the exported page(s) | * If everything went correctly, you should have a PDF containing the exported page(s) | ||
plugin/latexport.1634310672.txt.gz · Last modified: 2021-10-15 17:11 by Aleksandr