⬅️ **[[$-Tools|Tools]]** *** # Markdown - Pandoc - PDF - HTML Eisvogel LaTex Template https://github.com/Wandmalfarbe/pandoc-latex-template Git: - Pages/Wiki --> OneNote pages - ToDos von Dominik als Issues für alle sichtbar und nur Code betreffend ## Markdown - see [[Markdown]] - großes Dokument - je Kapitel ein .md File - mit Pandoc zusammenfügen (testen) --> cat aller Files | pandoc ... - TOC am Ende für alles --> --toc - am Ende alle Links und Bilder Links (testen, ausprobieren was sinnvoll ist, evtl. je Kapitel/.md File besser) - Konvertierung von docx zu Markdown - Kapitel Nummerierung --> automatisch mit --number-sections - ???tiefere Aufzählungen / Anleitungen z.b. 3.1.2 - Farben im Text usw. --> HTML - ???Page Breaks - ??Kopf und Fußzeilen --> eisvogel Tempalte (pandoc Latex Tempalte) - Listings --> mit --listings - ??? pandoc latex template Anpassungen - Website anstatt PDF --> jekyll (optional/Zukunft) ``` pandoc -s VRE\ Project\ Manual.docx --wrap=none --reference-links -t markdown -o VRE.md pandoc --standalone --from markdown --to pdf -o book.pdf cat 2016-11-24-Reise-Afrika.md 2017-01-26-Urlaub-Skifahren-Hochzillertal.md 2017-03-26-Urlaub-Skifahren-Nauders.md 2017-06-14-Urlaub-Katha.md 2018-06-05-Urlaub-Polen.md 2019-10-08-Reise-Peru.md | pandoc -s --metadata pagetitle="reisen" --toc -o reisen.**pdf** cat 2016-11-24-Reise-Afrika.md 2017-01-26-Urlaub-Skifahren-Hochzillertal.md 2017-03-26-Urlaub-Skifahren-Nauders.md 2017-06-14-Urlaub-Katha.md 2018-06-05-Urlaub-Polen.md 2019-10-08-Reise-Peru.md | pandoc -s --metadata pagetitle="reisen" --toc --number-sections --listings --template eisvogel.tex -o reisen.pdf cat 2016-11-24-Reise-Afrika.md 2017-01-26-Urlaub-Skifahren-Hochzillertal.md 2017-03-26-Urlaub-Skifahren-Nauders.md 2017-06-14-Urlaub-Katha.md 2018-06-05-Urlaub-Polen.md 2019-10-08-Reise-Peru.md | pandoc -s --metadata pagetitle="reisen" --toc --number-sections --listings --template eisvogel.tex -o reisen.html cat 00_Title.md 00_BeforeYouStart.md 01_Goal.md 02_Team.md 03_Realization.md | pandoc -s --metadata pagetitle="VRE" --toc --number-sections --listings --template eisvogel.tex -o vre_02.pdf cat 000_Title.md 001_DocumentInfo.md 010_Introduction.md 020_Operational_Overview.md 030_System_Overview.md | pandoc -s --metadata pagetitle="VRE" --toc --number-sections --listings --template eisvogel.tex -o OM_VREA_01.pdf cat 000_Title.md 001_DocumentInfo.md 010_Introduction.md 020_Operational_Overview.md 030_System_Overview.md 040_Tests.md | pandoc -s --metadata pagetitle="VRE" --number-sections --listings --template eisvogel.tex -o OM_VREA_01.pdf pandoc -s 0410_ApplicationSecurity.md --listings --template eisvogel.tex -o 0410.pdf ``` ``` _02 - markdown _03 - markdown_mmd _04 - markdown_strict _05 - gfm _06 - markdown_github ``` ## Markdown + Pandoc Tables: https://stackoverflow.com/questions/25037357/pandoc-long-tablerows-in-markdown-pdf-documents-do-not-get-linewrap https://pandoc.org/MANUAL.html#tables Eisvogel Latex Template: https://github.com/Wandmalfarbe/pandoc-latex-template MultiMarkdown Tables: https://fletcher.github.io/MultiMarkdown-5/tables.html `cat 000_Title.md 001_DocumentInfo.md 010_Introduction.md 020_Operational_Overview.md 030_System_Overview.md 0400-07_Application_Administration.md 0408_InstantiationOfVre.md 0409_StartStopVre.md 0410_ApplicationSecurity.md 0411_ApplicationConfiguration.md 0412-13.md 0414_MaintenanceOperations.md 0415-19.md 0500_Monitoring.md | pandoc -s --metadata pagetitle="VRE" --number-sections --listings --template eisvogel.tex -o OM_VREA_02.pdf` ## Regex Suchen und Ersetzen ``` ]\(media\/image([0-9]*) ===> \label{image$1}](media\image$1 \sFigure\s([0-9]*) ===> _Figure \\ref{image$1}_ ``` ## [[Pandoc]] ## *** Related: - [[$-Note-Making|Note-Making]]