27,161 reputation
146102
bio website randomdeterminism.wordpress.c…
location
age
visits member for 2 years, 9 months
seen 15 hours ago
stats profile views 1,092

Apr
7
comment Are there alternatives to Beamer for slides ?
ConTeXt is comparable in terms of features, but not the interface. The simpleslides module provides some additional pre-built styles, but is meant for simple presentations; nothing as comprehensive as beamer.
Apr
7
revised How to make a ruler
Moving code around for better readability
Apr
7
comment How to make a ruler
Ouch. I think that this has the highest density of backslash that I have seen. Is this from the source of the TeXbook?
Apr
7
answered How to make a ruler
Apr
4
comment Macro to allow for alignment points within its argument
@Peter Grill: I agree that the syntax is a matter of personal style. However, I would argue that the above approach is more flexible, especially if you have more than one align point. It is easy to create a command that takes multiple optional arguments in braces (\dosinglegroupempty etc in ConTeXt; I don't know the equivalent in LaTeX) or in brackets (\dosingleempty etc in ConTeXt; \newcommand and variants in LaTeX). To parse multiple &, you need to write a recursive macro; if you want to use all the terms together, then you will need to store each of them in a helper macro.
Apr
3
answered Macro to allow for alignment points within its argument
Apr
1
answered ConTeXt using LaTeX style files
Mar
29
comment Is LaTeX outdated?
which features of vim-latex do you miss for ConTeXt? I have some of my personal vim plugins at github. It provides basic syntax highlighting and indentation support; uses imap.vim from vim-latex to provide AucTeX like mappings for math mode (`` a `` to α` etc); and snippets.vim to provide TeXMate like snippets (for<TAB> expands to \startformula ... \stopformula. There is also a basic compiler plugin, but I haven't used that in a while.
Mar
29
awarded  Enlightened
Mar
29
awarded  Nice Answer
Mar
28
answered How not to indent the very first line on a page in LaTeX?
Mar
28
comment Installing Lua Modules for use in LuaLaTeX
I just realized that your luarocks folder is in your home directory. I have not seen ~ in texmf.cnf files. Does it work if you replace ~ with $HOME or the complete path?
Mar
28
answered Macro to take {032911} and return 03 29 11
Mar
28
comment Typeset single chapter from book
@Seamus: The Metafun manual used to take 10-15 minutes to compile with pdftex. But most of the time was spent in generating metapost figures. With luatex, it takes around 3 minutes.
Mar
28
comment Installing Lua Modules for use in LuaLaTeX
How about adding the .so file in the current directory to see if dynamic loading works at all.
Mar
27
comment Installing Lua Modules for use in LuaLaTeX
Have you tried the CLUAINPUTS path? texmf.cnf says: % Lua needs to look for binary lua libraries distributed with packages. CLUAINPUTS = .;$SELFAUTOLOC/lib/{$progname,$engine,}/lua//. Perhaps you can add the location where luarocks adds libraries to CLUAINPUTS.
Mar
21
answered Is it a bad idea to use \begin{section} … \end{section} in LaTeX?
Mar
21
comment How to separate table content and table style
I don't know of a LaTeX package that does that. I would really like that also.
Mar
21
comment How to separate table content and table style
There are parts of backend ConTeXt code that is used in LaTeX (e.g., metapost to pdf conversion in pdftex and font loading in lualatex), but it is almost impossible to share front end code unless someone writes a macro level wrapper around either latex or context
Mar
18
answered How to separate table content and table style