Reputation
8,379
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 36 65
Newest
 Yearling
Impact
~1.1m people reached

Jul
26
awarded  Yearling
Jul
26
awarded  Nice Question
Jun
26
comment Write diagrams without a separate style file
Congrats! (And I will file this info away too in case I need it in the future.)
Jun
24
reviewed Approve VimLatex strange behavior exponents
Jun
23
comment Write diagrams without a separate style file
Try first using the AMScd package; that has the highest chance of being accepted.
Jun
16
reviewed Approve 3d Graph Error with Plot
Jun
16
comment Write diagrams without a separate style file
Hmm... I should note that in many other cases the easiest thing would be to just re-submit the article with the relevant .sty file included in your submission. But TikZ has so many of them and it may be more hassle than it is worth.
Jun
16
answered Write diagrams without a separate style file
Jun
12
accepted Temporarily changing catcode of %
Jun
12
comment Temporarily changing catcode of %
Thanks, that's exactly the sort of comment that I am looking for, and thinking about it I can see the advantage to what you wrote. +1
Jun
12
comment Temporarily changing catcode of %
@Andrew: that's exactly my intended approach.
Jun
12
comment Temporarily changing catcode of %
+1: that's a solution I didn't think of. I'll have to check whether showing white space instead of %d is acceptable, but it does solve the problem of latex not running.
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
revised Temporarily changing catcode of %
deleted 18 characters in body
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.)
Jun
12
revised Temporarily changing catcode of %
added 429 characters in body
Jun
12
asked Temporarily changing catcode of %