Reputation
2,371
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
7 24
Newest
 Yearling
Impact
~42k people reached

Aug
17
comment Why does pdflatex crash on \includegraphics?
Oops, now I see it. The final line was hidden in my browser, and I needed to scroll down to see it.
Aug
17
comment Why does pdflatex crash on \includegraphics?
I do not see a reason not to believe the error message, that the included PDF file is invalid. I'm confused by this. The OP describes this as a "crash," and the output does not have an error message in it.
Jul
23
awarded  Yearling
Mar
19
awarded  Announcer
Feb
13
awarded  Popular Question
Jan
24
awarded  Popular Question
Jan
11
awarded  Nice Question
Jan
10
accepted Surtitle for section?
Jan
10
comment Surtitle for section?
Thanks, that was very helpful! I had in mind something slightly different for the table of contents. Also, since I have leading dots in my ToC, your code produced an extra line of them. What worked for me was to do the following variation on your code: \newcommand\sectionwithsurtitle[3]{\printsectionsurtitle{#1}\section[#1: #3]{#2}\sectionmark{#3}}
Jan
10
comment Surtitle for section?
@UweZiegenhagen: No, the surtitle only applies to section 1.7 in my example. Section 1.8 would not be about science and society.
Jan
10
comment Why is LaTeX so complicated?
"Old" is probably better defined by comparing a language's date of origin to the date at which its genre began, rather than by comparing its origin to the present date. C was designed a long time ago, but it was not a pioneer in its niche of procedural programming languages. The pioneer in that niche would be FORTRAN. TeX was a pioneer in its niche of typesetting languages, and can be compared with later systems such as postscript, html, and mathml.
Jan
10
asked Surtitle for section?
Jan
10
comment Why is LaTeX so complicated?
TeX/LaTeX is a macro language. Macro languages tend to suck^H^H^H^H have certain well-known drawbacks, such as poor error handling. Other than TeX, one of the most unpleasant and frustrating programming languages I've ever used was another macro language, M4.
Jan
10
comment Why is LaTeX so complicated?
I don't think it's viable to claim that "LaTeX was never intended to be a programming language." We're talking about Donald Knuth here. Clearly he realized that what he'd created was a Turing-complete language.
Sep
24
awarded  Autobiographer
Sep
13
accepted How to wrap a TOC entry in custom code
Sep
13
asked How to wrap a TOC entry in custom code
Sep
12
accepted Post-filtering output that I can't seem to pre-filter with silence package
Sep
7
revised Simpler alternative to hyperref?
deleted 428 characters in body
Sep
7
accepted Simpler alternative to hyperref?