Reputation
2,969
Top tag
Next privilege 3,000 Rep.
Cast close & reopen votes
Badges
26 47
Newest
 Taxonomist
Impact
~165k people reached

Apr
19
comment Using BibTeX with letter class
I see. That sounds useful.
Apr
13
comment Using BibTeX with letter class
Yes, I've also become a fan of the KOMA classes. They're not perfect, but they are much more flexible than the default letter and article classes. I now use scrlttr2 as my default letter class. Thanks for the answer. I'm unclear what the scrletter class is for, though.
Apr
11
comment Embedding version control information returns error when file is not under version control
I'm not sure how that code would look.
Apr
11
comment Embedding version control information returns error when file is not under version control
@cfr Yes, I'd probably throw away the standard error.
Apr
11
comment Embedding version control information returns error when file is not under version control
@cfr Well, I wouldn't mind knowing of a more general solution/approach.
Apr
11
comment Embedding version control information returns error when file is not under version control
@cfr Ah, good point. Yes, I'm only testing inside a versioned directory. I have a ~/.hg directory at the top of my home directory. So my entire home is nominally inside a hg working directory. So, what is your recommendation?
Apr
10
comment Embedding version control information returns error when file is not under version control
There's additional text in the \parbox after the \\ . I left it out for simplicity. Should I add something?
Apr
9
comment Embedding version control information returns error when file is not under version control
Please suggest additional suitable tags, or just edit the question. Thank you.
Apr
9
comment Embedding version control information returns error when file is not under version control
The hg command does not output anything to standard error when it returns nothing to standard output. Maybe for completeness it would be a good idea to deal with standard error, but I don't even have a good idea how the | command works. Does it typeset standard output as well as standard error?
Apr
9
comment Embedding version control information returns error when file is not under version control
@cfr I'm unclear why it would return something on standard error. Can you elaborate?
Apr
9
comment Embedding version control information returns error when file is not under version control
Oh, I see. Thank you.
Apr
9
comment Embedding version control information returns error when file is not under version control
Sorry, I've no idea what your comment is saying. I'm in chat, if you prefer to answer there.
Apr
9
comment Embedding version control information returns error when file is not under version control
This works, but I don't know why. Apparently % your input is processed if TeX is in one of the horizontal modes, and otherwise is ignored. But why does blank input imply that it leaves horizontal mode?
Apr
5
comment scrpage2 conflict with fancyhdr
Your first version, for "KOMA-Script version 3.19 or newer ", works for me with the KOMA in TeX Live 2015 (labelled as 3.19a). But you wrote "documentclass scrlttr2". Does it not work for other KOMA classes then? Anyway, thanks very much for the through answer, and accepted. Sorry I was so slow.
Apr
4
comment longtable extends unnecessarily to a second page
Ok, understood.
Apr
4
comment longtable extends unnecessarily to a second page
Ok. But if I don't specifically add any commands, are there still commands that will be executed in this case? E.g. \relax? Or, to put it another way, is there some way of determining which commands are in fact being executed in this case?
Apr
4
comment longtable extends unnecessarily to a second page
Yes, I see. The blub executes at the beginning of every line, including the blank line. But if I don't have anything except the {c}, is there any code that is executed? In any case, the change you suggested fixes the issue. Thanks.
Apr
4
comment longtable extends unnecessarily to a second page
@cfr I've corrected letter to letterpaper. Is it Ok now? I can reproduce the issue with both a4paper and letterpaper options, but I need to use a different number of rows for the two options. I don't know what you mean by the reference to geometry.
Apr
4
comment longtable extends unnecessarily to a second page
@touhami Yes, an unnecessary blank row which goes to the next page is problematic, though it's a relatively minor issue. But still annoying.
Apr
3
comment longtable extends unnecessarily to a second page
If you can't reproduce, try taking out letter from the first line and/or replacing with a4paper.