35,354 reputation
164142
bio website randomdeterminism.wordpress.c…
location
age
visits member for 3 years, 11 months
seen 1 hour ago

May
17
awarded  Enlightened
May
17
awarded  Nice Answer
May
16
awarded  Nice Answer
May
15
comment How can I invoke a macro inside minted inline code?
@Jubobs: My solution should work with minted + LuaLaTeX using the LaTeX port of m-translate (tex.stackexchange.com/a/36021/323)
May
15
comment How can I invoke a macro inside minted inline code?
@Jubobs: Never say never. See my answer.
May
15
answered How can I invoke a macro inside minted inline code?
May
13
comment ConTeXt: Prevent Reference Name Clashes in Floating Objects of Different Types
@Haroogan: The only question in your post was So how to cleverly fulfill the TODO thingy?. The post answers that.
May
13
comment ConTeXt: Prevent Reference Name Clashes in Floating Objects of Different Types
The space on the left is because you do not use % after the { in the first \def\figure{. You do not need all the \unskip and \ignorespaces. If you do not want to add % all over the code, look at \starttexdefinition, etc.
May
13
comment ConTeXt: Prevent Reference Name Clashes in Floating Objects of Different Types
This answer provides a complete answer of the question, as far as one could understand the question. I have started a bounty that I will award to this clear and succinct answer.
May
11
comment ConTeXt: Prevent Reference Name Clashes in Floating Objects of Different Types
Post a complete minimal example. AFAIK, there is no core \figure macro. Is that supposed to be a replacement for \in?
May
9
comment Is there something like chktex for ConTeXt?
@Cubic: Which version of ConTeXt are using? concheck is a ruby script, so you need Ruby to run it. The filename in the above command is a placeholder and you need to replace it by the name of your file.
May
6
answered Is there something like chktex for ConTeXt?
Apr
29
comment Mathematica notebook into latex document
An (untested) possibility is to using IPython instead of Mathematica. There is an IPython extension github.com/bjedwards/IPython-mathematicamagic-extension that is supposed to interop with Mathematica. IPython generates fairly clean LaTeX code.
Apr
29
awarded  Good Answer
Apr
28
comment \span as a math operator
As a general practice, I always use upper case to define my own macros. So I use \SPAN. This avoids collision with the internal macros. Since all such macros that I define are upper case, it does not appear strange :-).
Apr
28
comment Is ConTeXt a good choice for creating a nice large catalog?
You should also check out the open source software by @topskip that uses luatex + XML to generate product catalogs.
Apr
28
comment Is ConTeXt a good choice for creating a nice large catalog?
Hmm.. I had added a comment, but it did not appear. This should be easy to do in both LaTeX and ConTeXt. If I were doing this, I would store all the data in an XML file, and use ConTeXt Lua Documents to generate the appropriate TeX commands. That takes some time to set up, but is more robust in the long run. I'll try to post ConTeXt code that generates the layout that you want.
Apr
26
comment Is ConTeXt a good choice for creating a nice large catalog?
I have a hard time understanding what you want. Can you give an example of the content.
Apr
22
comment Simplest way to create a grid with colored squares and labels
I edited my answer so that the background color does not cover the complete cell.
Apr
22
revised Simplest way to create a grid with colored squares and labels
Do not cover the complete cell