35,834 reputation
168145
bio website randomdeterminism.wordpress.c…
location
age
visits member for 4 years
seen 3 hours ago

1d
comment Why do we use the Latex logo when referring to Latex in text?
FWIW, the standard practise is to write Context as Context rather than the logogram. In fact a few style files (e.g. the one for MAPS) redefine \ConTeXt as Context!
1d
comment context to run side by side with LaTeX in Windows 8 64bit
I am not sure what is going wrong, as I do not have a windows machine. An alternative could be to download ConTeXt Standalone and use that instead of ConTeXt that comes with MikTeX.
1d
comment context to run side by side with LaTeX in Windows 8 64bit
Use context first.tex. See context wiki for beginner's guide.
2d
comment context to run side by side with LaTeX in Windows 8 64bit
What exact command are you running when you get that error? Does something basic as mtxrun --help work?
Aug
23
comment Why can't TeX Live's size be reduced?
FWIW, ConTeXt Minimals with all the installed packages is 300MB. If you strip away the MkII stuff (including binaries), then the size will be reduced by more than half.
Aug
23
comment What is a simple example of something you can do with LuaTeX?
To be fair, for something as simple as text substitution, you can also use standard TeX macros. \def\ROne{0.1}, \def\RTwo{0.3} etc.
Aug
20
comment Write unit tests for Lua in ConTeXt
ConTeXt can process .lua files, so why not require the unit test library, and run the test files through context?
Aug
15
comment Numbered description list with dot leaders?
Why not simply define \renewcommand\item[1][]{\olditem##1\dotfill} without the ##2?
Aug
14
comment Configuring vim-latex when installed using pathogen
Creating the $VIM/ftplugin directory and creating tex.vim file in that directory should still work.
Aug
14
comment Highlight / color parts of text
See :he marks in vim.
Aug
12
comment Is it possible to install ConTeXt on Windows without admin rights?
Not sure which contextgarden page you are referring to. Simply follow the command line method to install context standalone. You do not need admin rights for that.
Aug
8
comment How to print random text in ConTeXt?
@doed: I think that something is broken in your installation. You only need write permissions for TEXMFCACHE. Perhaps you can post a new question and ask why your installation is misbehaving.
Aug
8
comment How to print random text in ConTeXt?
The example from your fourth edit works fine for me.
Aug
4
comment Which primitives does ConTeXt rename/move?
I suspect that it was close to the beginning. ConTeXt had \expanded and \unexpanded (which is similar to LaTeX's \protect) much before etex. (I am speaking from memory here, so I might be wrong).
Jul
29
comment Escape a string printed from Lua using ConTeXt
It converts \ to \\ , which I guess is mapped to \crlf.
Jul
29
comment Grid system for slides
To resize images use: \externalfigure[name][width=\layoutcolumnwidth, height=6\lineheight] etc. But keep in mind that this will change the aspect ratio of the image. It is better to specify only the width or the height, and let ConTeXt automatically scale the other dimension to maintain the aspect ratio.
Jul
29
comment Grid system for slides
I placed the "top-left" corner of the slide title is at the line. Placing the baseline of the title to the grid is more tricky. If you want to do that, it is easier to place the content using the section heads. See the details manual for different options on aligning section heads to the grid.
Jul
29
comment Escape a string printed from Lua using ConTeXt
@phg: Clearly, I was mistaken. See my answer for a "proper" solution.
Jul
24
comment Escape a string printed from Lua using ConTeXt
(Untested) context(catcodes.numbers.vrbcatcodes, i_can_be_anything) should also work.
Jul
22
comment Grid system for slides
Do you want text to automatically reflow from one column to the next?