0

I'm working as a programmer for about 20 years and invested a lot of time into understanding programming and computers before earning money with it.

I've learned to program Java, use Windows, then Python, Linux. Now I'm a Devops learning Docker and Keycloak ... what I mean to say is: I've picked up a pretty pile of tech but TeX, well ... this always remained a love-hate relationship.

I've made a couple attempts at differents flavours of TeX in the past and was never really happy with the whole thing. In the last month I was using Pandoc over a Docker container, which generates PDF from a Markdown document. I generate the Markdown file from my own Python program. This is fine. I just needed to nudge the default theme and I almost got everything that I wanted.

My problem is: I know I don't master the TeX behind it. How do I learn TeX (or LuaTeX or whatever) so I really am in control?

I want to know about what the nitty-gritty details are. I want to know what consequences are of choosing this flavour of TeX and choosing that package etc.

How do I learn this? What is the starting point to get on that path?

Update: I've read (or at least skimmed over) many tutorials. Some of my recurring problem about those:

  • Many tutorials aim to teach you how to write a scientific paper in the end (which I'm not really interested in).

  • Many times the tutorials are old and I'm uncertain if the information is still relevant (just as an example), let's say if I already know I'll be using LuaTeX/LuaLaTeX.

My goal is: I want to know about the today relevant foundations of TeX. About the architecture of it. What the limits of which parts are. I want to be able to make an informed decision about which part of TeX is going to be good about tackling what kind of problem.

MadMike
  • 101
  • 3
    How would you answer "How does one learn Linux?". Probably with "Depends on what you want to do with it.". Same here. If you use want to use Linux to do some standard tasks, you start it, select a nice theme and run applications. If you want to change things at the core level, the answer will be very different. Likewise, if you want to use LaTeX to write some documents, you load some packages, and there you go. If you want to write your own packages, you will need more preparations. –  Sep 20 '19 at 06:23
  • 5
    Read the TeXbook, after that you'll know plainTeX and the underlying macros. Then read the LaTeX Companion, so you know LaTeX. Package choices come by time as you try to solve different issues you encounter in practice. The used engine (pdfTeX, XeTeX, or LuaTeX) don't have that huge of an impact, only really noteworthy difference is the usage of system fonts in the latter two. Oh, and the fact that you can use Lua in LuaTeX... And most package authors try to provide exhaustive documentation, so for the big packages you might skim through those as well. – Skillmon Sep 20 '19 at 06:23
  • @Schrödinger'scat I've founded a "Linuxmeetup" where I live. I know exactly what you mean by "it depends". I've updated my question trying to clear up my goals. – MadMike Sep 20 '19 at 06:41
  • @Schrödinger'scat . Question https://tex.stackexchange.com/questions/97519/what-sequence-of-documents-should-i-read-to-know-all-of-tex-and-then-latex covers why to read the TeXBook. Can you elaborate on source2e? Why did you add it to the list? – MadMike Sep 20 '19 at 07:15
  • So you are asking basically become an expert in TeX. There are no magic tricks for this. Read brave TeX books help, but I think that is more important a problem-based learning. Try to use LaTeX to write anything that you need. Try to answer yourself any questions of this site that you consider of interest. Compare it with the others answers too. For instance, I never use flashcards but was instructive for me try to help to someone to make flashcards with LaTeX. And remember that texdoc is your friend. – Fran Sep 20 '19 at 07:37
  • source2e is the documented source code of latex. If you read the texbook you will know nothing about latex as that is a program written in tex, so if you want to know latex programming details you first need to know tex (the language latex is written in) then know the latex sources. so reading the texbook then source2e is the natural order. – David Carlisle Sep 20 '19 at 09:33
  • @Fran I didn't mind re-implement quicksort to learn C. I just need some reassurance, that learning those things will allow me to have a fundamental grasp of the technologie. Right now TeX is like a minefield for me which I'm too affraid to explore. – MadMike Sep 20 '19 at 12:17
  • 2
    @ MadMike Do not explore it, use it. I can drive a car without knowing almost nothing about its mechanics, except that it needs gasoline from time to time. Over time, you end up learning to change the oil, the battery or the spark plugs, but surely you will never need know how replace the clutch. I used LaTeX productively for years without knowing how work most TeX primitives, nor mess with the catcodes all the time, nor drawing every diagram with a Tikz that I can make in Inkscape in much less time. Establish your comfort zone an relax, the rest will take time. – Fran Sep 20 '19 at 18:32
  • 1
  • 1
    If you follow the advice given here, you'll probably waste a lot of time. Do it the other way round: Become a well informed user and then decide, what else to learn. I use LaTeX since 15 years as a user and never learned TeX. I'm not proud of the latter, but writing documents never ever made that necessary. With the try and error method and help by the lovely tex.stackexchange and from elsewhere you can get quite far: https://tex.stackexchange.com/a/325871/4736 – Keks Dose Sep 23 '19 at 11:05
  • 1
    @KeksDose That's pretty much what I'm doing now. I'm starting somewhere in the middle of it all. I've started recreating PDFs the "Vorlagen" from https://www.teuderun.de/luatex/ by creating a docker-container with the minimal necessary texlive-packages running lualatex... with success after some hours. I'm now going over doing the same with the showcases here https://tex.stackexchange.com/questions/1319/showcase-of-beautiful-typography-done-in-tex-friends . I was able to compile the top-voted one. I will now continue with those I want to study more indepth. – MadMike Sep 24 '19 at 09:51

0 Answers0