Re: [NTG-context] Problem with WinEdt

2017-09-19 Thread Norbert Melzer
On 19.09.2017 10:41, Ursula Hermann wrote: > Error Launching Console Application ConTeXt ... > > Command Line:   context.exe --synctex=-1 "short.tex" > > Startup Folder: D:\My Documents > >   > > Das System kann die angegebene Datei nicht finden. > >   > > Whats wrong here? ConTeXt standalone is in

Re: [NTG-context] Consistent random number generation

2016-04-06 Thread Norbert Melzer
In programming usually a (non-crypto-safe) RNG returns the same sequence everytime it is started with the same seed. Therefore, you often seed with the current time if you do not want to have reproducable sequences and use a specific seed when you want reproducable results across certain runs. The

Re: [NTG-context] The `\somewhere`-macro

2015-08-27 Thread Norbert Melzer
Repost... Norbert Melzer schrieb am Sa., 08.08.2015, 18:06: > The wiki states on page > http://wiki.contextgarden.net/Latex_Packages#varioref that the macro > `\somewhere` can be used to get same behaviour as varioref gives in LaTeX: > > > varioref > > Context provid

[NTG-context] The `\somewhere`-macro

2015-08-08 Thread Norbert Melzer
The wiki states on page http://wiki.contextgarden.net/Latex_Packages#varioref that the macro `\somewhere` can be used to get same behaviour as varioref gives in LaTeX: > varioref > Context provides similar functionality using \somewhere Some more searching around made me find http://wiki.contextg

Re: [NTG-context] Evaluating a Lua expression at the end

2015-04-13 Thread Norbert Melzer
Sorry, wrong recipient... Am 13.04.2015 14:05 schrieb "Norbert Melzer" : > If it is possible I'd like to wait for the idris book and get that one. If > that's not possible I'm interested in http://www.manning.com/blackheath/ > Am 13.04.2015 13:54 schrieb &qu

Re: [NTG-context] Evaluating a Lua expression at the end

2015-04-13 Thread Norbert Melzer
If it is possible I'd like to wait for the idris book and get that one. If that's not possible I'm interested in http://www.manning.com/blackheath/ Am 13.04.2015 13:54 schrieb "Kumar Appaiah" : > Hi. > > I am trying to set up a system where I can use Lua to find a total > that I can display at the

[NTG-context] Is there a way to completely remove all auxiliary and resulting files?

2015-03-24 Thread Norbert Melzer
Is there a way to completely delete all files, that were created during a context run? Similar to the `-c`/`-C` options in `latexmk`? I could create a script using bat/sh but I would prefer to not have to maintain 2 cleanscripts for the different environments that are used to create the document.

Re: [NTG-context] Columns and itemize not showing up as expected

2015-03-21 Thread Norbert Melzer
2015-03-21 14:33 GMT+01:00 Mikael P. Sundqvist : > >\startitemize[columns] > \item a > \item b > \item c > \item d > \item e > \item f > \stopitemize > \stoptext > This one works. Thank you! Is there a way to have other column count than 2? ___

[NTG-context] Columns and itemize not showing up as expected

2015-03-21 Thread Norbert Melzer
The MWE at the end of this mail typesets something like this: * a * e * b * f * c * d But I'd expect something like this: * a * d * b * e * c * f How can I get expected output? ```tex \starttext \startcolumns[n=2] \startitemize \item a \item b \

Re: [NTG-context] define macros only visible in a definestartstop-block that have arguments?

2015-03-20 Thread Norbert Melzer
12:05 PM, Norbert Melzer wrote: > >> Hi! >> >> I have trouble to define macros which are only visible inside a block >> defined using `\definestartstop`: >> >> ```tex >> \setuppapersize[A6] >> \definestartstop[Foo][before={Foo}] >> \def

[NTG-context] define macros only visible in a definestartstop-block that have arguments?

2015-03-20 Thread Norbert Melzer
Hi! I have trouble to define macros which are only visible inside a block defined using `\definestartstop`: ```tex \setuppapersize[A6] \definestartstop[Foo][before={Foo}] \definestartstop[Bar][before={\bgroup\define\Foo{Foo}},after={\egroup}] %\definestartstop[Baz][before={\bgroup\define[1]\Foo{F

[NTG-context] [MetaFun] Decorating running text

2015-03-18 Thread Norbert Melzer
Hi there! I have some text (a single word) which I want to decorate using MP. In this special case, I want to put a little crown above the "g" in the word "Shogun". Also the crown and text should get scaled accordingly to the surrounding text. ```tex \define\Shogun{\startMPcode draw textext("Sho

[NTG-context] MetaPost, specifiy max width of a text?

2015-03-18 Thread Norbert Melzer
Hi there! Is there a way to specify the with of a text so that the text gets wrapped? Something simalar to the following TikZ-Example (wrapped in ConTeXt): ```tex \usemodule[tikz] \starttext \starttikzpicture \draw (0, 0) node[text width=2.5cm,align=center] {Start new Game}; \stoptikzpict

Re: [NTG-context] component not included

2015-03-12 Thread Norbert Melzer
According toll my observations, you need to reference the needed parts inside of the \start... and \stop..., so your product would become: ``` \startproduct pd-medizin \project pj-medizin \component test \stopproduct ``` You also have to restructure the other files, so that \start... is the firs

Re: [NTG-context] Link to mentions in listof and to listof in mentions?

2015-03-12 Thread Norbert Melzer
Has this been overheard in the noise of the last days or is there simply no way (currently) to achieve my goal? Am 10.03.2015 12:25 schrieb "Norbert Melzer" : > Hi! > > Given the following ME, is there a way, that the use of `\AI` links to the > corresponding entry in th

[NTG-context] Sourcemirror at gitorious is closing down, where to find it then?

2015-03-12 Thread Norbert Melzer
Since gitorious got acquired by gitlab it will shut down its service end of May 2015 (https://about.gitlab.com/2015/03/03/gitlab-acquires-gitorious/). Where will ConTeXts source mirror be hosted then? Will it get transfered over to gitlab? Github? Bitbucket? Sourceforge? Somewhere else? _

Re: [NTG-context] TikZ is colored despite having \setupcolors[state=stop]

2015-03-10 Thread Norbert Melzer
2015-03-10 12:24 GMT+01:00 Hans Hagen : > On 3/10/2015 12:10 PM, Norbert Melzer wrote: > >> I've posted the same question on TE already: >> http://tex.stackexchange.com/questions/232158/tikz-is- >> colored-despite-having-setupcolorsstate-stop >> >> Text of

[NTG-context] Link to mentions in listof and to listof in mentions?

2015-03-10 Thread Norbert Melzer
Hi! Given the following ME, is there a way, that the use of `\AI` links to the corresponding entry in the `\listofabbrevs` and also that there is a comma separated list of pages which mention `\AI`, just as the acronym portion of LaTeXs glossaries does? ```tex \setupinteraction[state=start] \defi

[NTG-context] TikZ is colored despite having \setupcolors[state=stop]

2015-03-10 Thread Norbert Melzer
I've posted the same question on TE already: http://tex.stackexchange.com/questions/232158/tikz-is-colored-despite-having-setupcolorsstate-stop Text of the question: In the following MWE I get a red square, but I want it to be gray, as in the also provided LaTeX-document: ```tex % ConTeXt MWE \s