shi. i see people working with overleaf. its the most convenient thing ever; however my ahh sees the login screen and for some reason is deterred. also i see the Slightest Bit of latex (outside of math) and i freak out.
I use markdown. they are pretty good especially if coupled with Pandoc. but pandoc md -> pdf requires a tex engine. they ask for xelatex, latex, lualatex… you know what can provide? tex live.
tex live
tex live is some kinda tex all in ones idfk from the site it “provides a comprehensive TeX system with binaries” and “includes all the major TeX-related programs” Ooohhhhh that sounds juicy
tex live will download and install to idfk C:/texlive/<year idfk>. I think you lowk open that website and install the installer (shortcut here). on dih. i use choco but its ass. its another store manager. jus install it manually, dont use shi.
oh if your on linux idfk brew install texlive (actually listen to texlive people install MacTeX) or apt-get install texlive (texlive-full?) or dnf install texlive i think idk internet
Pandoc
AND THIS extremely overpowered tool CAN CONVERT FROM ANY document type TO ANY OTHER (a lot but not quite, check the site) even if not all that sounds so good cuh white tears running down my leg rn
yes lets go winget now
winget install -e --id JohnMacFarlane.Pandoc # winget is actually restarted cuh
you need some stuff.
likely xelatex (what i recommend, and what pandoc users like)
you also need some of these https://pandoc.org/MANUAL.html#variables likely title and author… limited, or skill issue, but id rather have that than learning latex ngl
xelatex! cool
i would think that if you install ts thing it installs xelatex with it. so check if xelatex or xetex is on then good else do this
i think for linux you needa install sum texlive-xelatex or texlive-xetex or something. through apt-get.
or if windows tlmgr install xetex or xelatex search it up to see. or TLShell TeX Live Manager!!!!! use that app its good.
the TLShell TeX Live Manager app breaks for me.
thats because i had multiple things in C:/texlive/. Ahh. delete all but one. do tlmgr update --all. they are good they provide Warnings! so you dont fuhh up. or you can wait 20 mins GUI style with the app.
i searched google for “back end gone” and it says to also tlmgr update --self. idk cuh.
now how does pandoc work
pandoc --to pdf --from markdown --output output.pdf input.md
cool! there is also --pdf-engine xelatex, have that and now your PDF dont bloat (and actually use the md -> tex -> pdf route instead of spinning up a browser and taking glorified screenshots)
tables
tables in markdown and tables in pandoc they a lil different. I suggest convert your markdown to markdown (yes somehow) Exclude extensions with -pipe_table or sum shi idfk check the site there i jus linked it
math
i write and preview my mahhh in vscode. it has a previewer. and it understands katex.
the math here needs to be latex and it needs to not open new block context? i dont understand ts latex bs. so \begin{align*} turns to \begin{aligned}. I didnt know this, copilot suggested those. idk any of ts
you tell me
title
---
title: My Title
author:
- lda
- lda
---
to specify stuff you should open a YAML frontmatter thing before the Markdown content. you need it.
idfk man my setup is Dih
and thats how i convert plain ahh md to pdf! looks good too.
comment below!