Re: [NTG-context] Newbie needs help getting started

2015-05-08 Thread Johan Råde
On 2015-05-08 19:23, Hans Hagen wrote: if mtxrun.exe is in your path, then you can just run: mtxrun --autogenerate --script context %* and don't need to setup anything If I add both LaTeX and ConTeXt to my path, then there are conflicts between the two TeX installations. The point of calling

[NTG-context] Changing font for math function

2015-05-08 Thread Aditya Mahajan
Hi, There is a question on TeX.SX asking how to change the font of \sin, \cos, etc. http://tex.stackexchange.com/q/243893/323 I looked at the code, and there does not appear to be an easy solution. The \mathfunctionlabeltext command has \mathupright hard coded. One option is to keep this c

Re: [NTG-context] Newbie needs help getting started

2015-05-08 Thread Hans Hagen
On 5/8/2015 7:00 PM, Johan Råde wrote: On 2015-05-04 14:49, Johan Råde wrote: Hi, I'm trying to get ConTeXt to run on my Windows machine (Windows 7 SP1). I already had MiKTeX installed on the machine. To be more specific, I want to able to run both LaTeX and ConText from TexWorks. The followi

Re: [NTG-context] Newbie needs help getting started

2015-05-08 Thread Johan Råde
On 2015-05-04 14:49, Johan Råde wrote: Hi, I'm trying to get ConTeXt to run on my Windows machine (Windows 7 SP1). I already had MiKTeX installed on the machine. To be more specific, I want to able to run both LaTeX and ConText from TexWorks. The following works. (I followed Andres Conrado's

[NTG-context] Prefix for figure number lost in unnumbered subsection

2015-05-08 Thread Mojca Miklavec
Hi, Consider the following example where I wanted to remove subsubsection numbers (as one ends with way too many numbers otherwise). The figure numbering is screwed up, I get: - Figure 1.1 - Figure 2 - Figure 1.3 \setuphead [subsubsection] [number=no] \starttext \chapter{Chapter A} \secti

Re: [NTG-context] Placing margin notes on the left using Lua

2015-05-08 Thread Hannes Riebl
On 05/08/2015 12:41 PM, Wolfgang Schuster wrote: You can use the “stack=yes” setting for \margindata to avoid overlapping texts. That's good! Is there an option to use spaces instead of new lines between the notes? And how about dropping irrelevant notes? Just to provide some more information

Re: [NTG-context] Placing margin notes on the left using Lua

2015-05-08 Thread Wolfgang Schuster
> Am 08.05.2015 um 12:36 schrieb Hannes Riebl : > > On 05/08/2015 12:17 PM, Wolfgang Schuster wrote: > >> Why don’t you use ConTeXt’s \margindata command to place your margin texts? > > > Dear Wolfgang, > > thank you for writing back! I cannot use \margindata because it creates > overlapping

Re: [NTG-context] Placing margin notes on the left using Lua

2015-05-08 Thread Hannes Riebl
On 05/08/2015 12:17 PM, Wolfgang Schuster wrote: Why don’t you use ConTeXt’s \margindata command to place your margin texts? Dear Wolfgang, thank you for writing back! I cannot use \margindata because it creates overlapping notes. Instead, I use Lua to concatenate the notes in one line and

Re: [NTG-context] Placing margin notes on the left using Lua

2015-05-08 Thread Wolfgang Schuster
> Am 08.05.2015 um 11:35 schrieb Hannes Riebl : > > Dear ConTeXt users, > > I am typesetting a critical edition with margin notes. To place these, I am > using the Lua code below. It is based on the code from the LuaTeX wiki (cf. > http://wiki.luatex.org/index.php/Post_linebreak_filter#Margin_

[NTG-context] Placing margin notes on the left using Lua

2015-05-08 Thread Hannes Riebl
Dear ConTeXt users, I am typesetting a critical edition with margin notes. To place these, I am using the Lua code below. It is based on the code from the LuaTeX wiki (cf. http://wiki.luatex.org/index.php/Post_linebreak_filter#Margin_notes) and has the restrictions mentioned on this wiki page