2,363 reputation
1718
bio website sigurdhsson.org
location Gothenburg, Sweden
age 24
visits member for 4 years, 2 months
seen 3 hours ago
Student at Chalmers University of Technology.

Sep
5
comment Is there a way to define a newcommand that can evaluate mathematical expressions
I don't know how computationally expensive l3regex is, but as a rule I tend to avoid regular expressions unless they are absolutely necessary. And as @BrunoLeFloch says, it is not that hard to avoid them in this particular case.
Aug
15
comment LaTeX3: If next in input stream is command X or environment X, do Y else Z
I think you want one of the \peek_meaning(...):NTF macros (page 59 of interface3.pdf).
Aug
8
answered LaTeX Editors/IDEs
Jul
26
awarded  Yearling
Jun
28
comment references to floats without ever using figure numbers (possbily using lua or python)
@Mico: Not printing the label while still keeping the reference isn't really a technical problem. There will be lots of manual float placement hinting and making sure references aren't ambiguous, though.
Jun
28
comment references to floats without ever using figure numbers (possbily using lua or python)
I think either varioref or cleveref does something similar to this, if the figure is on the same or adjacent page.
May
30
comment Why $\bf \bar D$ displays as ``7016D in the pdf generated bookmark using hyperref package
Check your logs. PDF bookmarks cannot contain all characters, and hyperref usually warns you about this.
May
28
revised Problem in LaTeXDiff
fix code formatting
May
19
answered Changing the way figure reference appears in LaTeX
Jan
24
comment Adding sections such as Linkedin and Github to a Moderncv footer
fontawesome has both Github (\faGithub) and LinkedIn (\faLinkedin) as well as a few other social network icons.
Jan
20
comment Argument of \begin has an extra }
Isn't longtable an environment?
Jan
16
comment What are the main differences between AutoLaTeX and LaTeXMk?
The title is perhaps a bit misleading in that respect.
Jan
7
comment Goudy Old Style for LaTeX?
@Martin: The difference between Xe(La)TeX and (pdf)LaTeX in terms of writing documents is pretty small, and could probably be summarized as “use fontspec, don't use inputenc”. See e.g. “What is XeTeX exactly and why should I use it?”, and “Using LuaTeX as a replacement for pdfTeX” which applies to XeTeX as well.
Jan
6
comment How to use Xindy with TeXShop/LaTeX Mac OS X (error: sort åäö in index)
Is there a default module that sorts å/ä/ö under their own headings at the end of the index, as expected in a swedish index?
Jan
3
comment Strange error generated after another error and related to aux files (Xe(La)TeX)
It's fairly hard to deduce what the actual problem is without a minimal example (produced e.g. using binary search of the document, removing half of it at a time to see where the problem lies).
Jan
3
comment Strange error generated after another error and related to aux files (Xe(La)TeX)
The error concerns a missing { in the expression d(x_,,x_0)<\eg.$$ (you're missing a subscript). As for the poor code style, that's not really my problem but I can almost guarantee that adopting a more structured style will be more efficient and give more consistent results.
Jan
3
revised LaTeX Introductions in languages other than English
updated "Att TeX:a" entry to reflect second edition
Jan
3
comment Strange error generated after another error and related to aux files (Xe(La)TeX)
Unrelated to the actual problem, your code is very messy. You're defining a lot of macros that are never used, and there's excessive use of manual spacing in math formulas (of the variety \,\,\,\,\,\,\,\,). It's hard to tell what exactly is wrong, because I can't reproduce your problem. I suspect that you're running XeLaTeX through some GUI which sets --interaction=batchmode or similar, which makes the engine bail out on the error I encountered near line 826; this could very well result in an incomplete aux file which is then read on the next run, producing an error.
Jan
3
answered MinionPro Font-bugs: Copy numbers in pdf with lf option does not work and small caps are not scaled correctly
Jan
1
comment Strange error generated after another error and related to aux files (Xe(La)TeX)
@MickG: Can you post the .log file as a gist? I suspect there's something else causing this.