Reputation
9,084
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
3 40 71
Impact
~1.4m people reached

Jun
12
comment Temporarily changing catcode of %
I tagged it "code review" and "best practices" because I only tested it on a limited number of test cases and wanted to check (a) is there an obvious use-case that will break my code and (b) whether the same effect can be achieved with different, more "idiomatically correct" code.
Jun
12
comment Temporarily changing catcode of %
\@percentchar is known to TeX. It is not known to my external filter, which, as I tried to emphasize, I cannot change. Someone else already suggested the similar "solution" in a previous comment (which unfortunately now is deleted). // Please see the edit below the hline in the OP.
Jun
12
comment Temporarily changing catcode of %
Guys: I really appreciate you brainstorming alternative solutions (and do keep them coming, since I know I have not thought of everything). But the point of this question is really simply: is there something wrong with the code I posted above, and is there someway to write it in a better way?
Jun
12
comment Temporarily changing catcode of %
@Andrew: the filter depends on external information; there's no way I can code that in TeX short of calling write18, which at the moment is not possible.
Jun
12
comment Temporarily changing catcode of %
@ChrisH for external reasons neither of those are viable. (The full reasons are too long to explain, but let's just say that write18 is a security risk, and if I cannot count on the filter being run [which will moot the entire problem], I cannot count on the sed script being run either.)
Feb
17
comment How to cite an article from Arxiv using bibtex
@ErelSegalHalevi: there is no "should", since I don't think it is standardized. But I generally just put the arXiv id such as arXiv:gr-qc/XXXXXXX or arXiv:XXXX.XXXX Remember, absent an actual style guide from a journal, the main goal of the bibliography is to make the references findable by readers. The arXiv id (properly formatted) is sufficient to uniquely identify a pre-print, so it is generally good enough.
Oct
15
comment bibliography in Beamer
In particular, your mention of \printbibliography seems to indicate that you are using biblatex instead of bibtex? The answer above is based on the assumption that bibtex is used (see the comments on the OP).
Oct
15
comment bibliography in Beamer
@Bakuriu: please ask a new question. In the question include a full MWE, indicate how you compile the file, and give the exact error. (I am pretty sure the sentence "You cannot use \bibliography outside the preamble" is not the actual error shown to you.)
Oct
14
comment bibliography in Beamer
@Bakuriu What in the world are you talking about? See the BibTeX user guide.
Aug
26
comment Bibtex source in JabRef
@JosephWright: one possible use-case (not necessarily that of the OP), is that sometimes one does not want all collaborators to see those 'SpecialRemarks' one might write in one's own bibliography management software.
Aug
26
comment Bibtex source in JabRef
Like greyshade, I would suggest looking into export filters. Another option is to save your bibtex file and then run it through something like bibtool to strip out unwanted fields.
Mar
20
comment Aligned \description
Incidentally, I couldn't get your MWE to build as it was missing (for me) the \euro and \textcentoldstyle commands.
Mar
20
comment Aligned \description
Instead of \multirow, maybe you should use p? en.wikibooks.org/wiki/LaTeX/Tables#Text_wrapping_in_tables (or perhaps tabularx: stackoverflow.com/a/790955 )
Mar
20
comment Aligned \description
Why would you like to avoid using tables? The type of presentation you want is basically a table, no?
Mar
4
comment Debian packages
@Ivica: what is \fs{2} supposed to output? Almost certainly what you need to do is to follow the instructions in the link given in the above comment, and edit the configuration for the LaTeX preamble to load the appropriate LaTeX package. We may be able to help you track down the appropriate package, but you will need to tell us what the expected outcome is. The actual configuration of Moodle, however, is likely to be off-topic here.
Mar
4
comment Debian packages
@SvendTveskæg: Digging around, Moodle suggests that one installs an up-to-date TeX distribution to provide the backend for the automatic LaTeX to GIF filter. So theoretically Debian's somewhat out-of-date TeXLive distribution may have something to do with the problem.
Feb
19
comment How to use chronology package to draw this timeline?
the phrase "where is year should be a major tick": do you mean "where each year should be a major tick"?
Feb
7
comment Nice scientific pictures show off
Nice. Would it make more sense to colour/style the lines so that the radial directions and the "circular" directions are distinguished upstairs?
Feb
3
comment After making a mistake while citing, BibTex doesn't run anymore
If it says 'file ended while scanning use of \emph' you may want to double check your source files to make sure all braces { and } are paired properly.
Feb
3
comment After making a mistake while citing, BibTex doesn't run anymore
Have you tried removing all "generated" files (such as the .aux, .bbl, .blg, .out, .log) from your directory and then running latex followed by bibtex?