Earlier quoted context omitted.
I wrote a free tool a bit ago that wraps Pandoc/LaTeX/Jekyll and takes Markdown inputs and exports epub, mobi, and print-ready PDFs (5x8 & 6x9 Pdfx-1a compliant), specifically for fiction. You can check out the LaTeX template in the repo. http://chrisanthropic.github.io/Open-Publisher-Documentation...
you should add a LICENSE or LICENSE.txt file
TeX Live 2017 released
61–67 of 67 posts
Re: TeX Live 2017 released
#62Earlier quoted context omitted.
Your comment is interesting to me. I've read about TeX and LaTeX from time to time and it was my impression that everyone used LaTeX because TeX itself was difficult to use. And I never questioned this because almost every article I could find only spoke about LaTeX. Your comment is making me reevaluate what I thought I understood.
Yes, an overwhelming majority use LaTeX rather than TeX directly. (Well, among the tiny number of people who use TeX/LaTeX at all.) The reason, though, is not that TeX is difficult to use: it's that TeX is a system for typesetting, and most people don't need typesetting. If you're writing a paper for publication in a journal, they probably have their own typesetting style. With LaTeX you can just specify your paper a…
Re: TeX Live 2017 released
#63Earlier quoted context omitted.
Yes, an overwhelming majority use LaTeX rather than TeX directly. (Well, among the tiny number of people who use TeX/LaTeX at all.) The reason, though, is not that TeX is difficult to use: it's that TeX is a system for typesetting, and most people don't need typesetting. If you're writing a paper for publication in a journal, they probably have their own typesetting style. With LaTeX you can just specify your paper a…
I've never needed to use it much, but when I do, it's mostly copy paste, crappy hacks, or video 'tutorials' of LaTeX. Now I'm genuinely curious what vanilla TeX looks like. Any good learning resources?
If all you have is a passing curiosity though, you may just want to look at some examples: Knuth has .tex sources of some of his papers on his website (https://cs.stanford.edu/~knuth/preprints.html); you can look at them and compare with the resulting PDF files (which you can generate with `pdftex`). For an already typeset example, look at JRM2680.tex (https://cs.stanford.edu/~knuth/papers/JRM2680.tex) and JRM2680.pdf (https://cs.stanford.edu/~knuth/papers/JRM2680.pdf).
Re: TeX Live 2017 released
#64Earlier quoted context omitted.
Getting otf fonts working, getting images working and properly positioned, getting alternating left-right headers to behave themselves, especially at a chapter start. Every new thing involved going back to ctan (I had high hopes for memoir) or searching online in the hopes that someone took the time to write down how they did it. Most of the time you'd just find "how to make your math formulas look pretty" or "how to…
OTF is dead easy if you use XeTeX (specifically the xelatex command). The fancyhdr should give enough control over headers. Yeah, floating images can be annoying. I use it mainly for technical documentation (product manuals, etc.), so I've never tried the memoir class. But what I find myself doing mostly these days is makinng my own classes, usually based on article because it seems to me to have the most 'neutral' d…
Re: TeX Live 2017 released
#65LaTeX is still one of my favourite piece of technology of all time. It is at time so alien, yet beautiful. I now get closer to 10+ years of programming experience, yet nothing comes close to debugging a faulty LaTeX custom command... it can quickly turn to an unreadable mess, but you have to admit that once everything is swept under a preamble.tex file, the rest of the code is very clean. Especially with auctex in em…
Yes .tex programming is probably the least intuitive kind of language I've ever seen. Here is a FizzBuzz in vanilla .tex for anyone who curious to see what that's like: % fizzbuzz.tex -- Compile with pdftex, not pdflatex \def\modulo#1#2{(#1-(#1/#2)*#2)} % a mod n = a-(a/n)*n where / is integer division \newcount\X \X=1 \loop \ifnum \numexpr\modulo{\X}{15} = 0 FizzBuzz \else \ifnum \numexpr\modulo{\X}{3} = 0 Fizz \els…
Re: TeX Live 2017 released
#66Earlier quoted context omitted.
Yes .tex programming is probably the least intuitive kind of language I've ever seen. Here is a FizzBuzz in vanilla .tex for anyone who curious to see what that's like: % fizzbuzz.tex -- Compile with pdftex, not pdflatex \def\modulo#1#2{(#1-(#1/#2)*#2)} % a mod n = a-(a/n)*n where / is integer division \newcount\X \X=1 \loop \ifnum \numexpr\modulo{\X}{15} = 0 FizzBuzz \else \ifnum \numexpr\modulo{\X}{3} = 0 Fizz \els…
Honestly, that doesn't seem that non-intuitive to me. Certainly missing opening and closing brackets, but if closing with fi is a common idiom of old languages. The rest doesn't seem that bad. Just verbose.
\unless \ifnum \X>100 \repeatRe: TeX Live 2017 released
#67Earlier quoted context omitted.
Honestly, that doesn't seem that non-intuitive to me. Certainly missing opening and closing brackets, but if closing with fi is a common idiom of old languages. The rest doesn't seem that bad. Just verbose.
I had never seen this kind of yoda-speak before: \unless \ifnum \X>100 \repeat