Re: [NTG-context] coloring the logfile

2019-08-29 Thread Hans Hagen
On 8/30/2019 1:37 AM, Hans Hagen wrote: On 8/29/2019 10:58 AM, Taco Hoekwater wrote: Hi, FWIW: ConTeXt can already do colours on the terminal:     context —ansi myfile.tex (but that currently results in an empty log, I think because there is no separation) ok, in next beta: --ansilog

Re: [NTG-context] coloring the logfile

2019-08-29 Thread Hans Hagen
On 8/29/2019 10:58 AM, Taco Hoekwater wrote: Hi, FWIW: ConTeXt can already do colours on the terminal: context —ansi myfile.tex (but that currently results in an empty log, I think because there is no separation) btw, i always run in the editor and there is no ansi in the log pane

Re: [NTG-context] coloring the logfile

2019-08-29 Thread Hans Hagen
On 8/29/2019 10:58 AM, Taco Hoekwater wrote: Hi, FWIW: ConTeXt can already do colours on the terminal: context —ansi myfile.tex (but that currently results in an empty log, I think because there is no separation) probably, i forgot the details (in the middle of somethign else so it has

Re: [NTG-context] context --autopdf=auto/default

2019-08-29 Thread Hans Hagen
On 8/29/2019 3:04 PM, Henning Hraban Ramm wrote: I’d be surprised if there wasn’t a distinction of systems in mtxrun. (Is it in mtx-context.lua? I didn’t understand the code.) it's in l-pdfview.luabut currently we only have a windows / unix split

Re: [NTG-context] standardmakeup and pages

2019-08-29 Thread Henning Hraban Ramm
> Am 2019-08-29 um 16:58 schrieb mf : > > \setuppagenumbering[ >alternative=doublesided, > ] > > % use pagestate=start on both makeups only if you want the title page > % to be the page 1 of the book > \definemakeup[title-page][align=middle,doublesided=no] Thank you! I don’t know why I

Re: [NTG-context] standardmakeup and pages

2019-08-29 Thread mf
\setuppagenumbering[ alternative=doublesided, ] % use pagestate=start on both makeups only if you want the title page % to be the page 1 of the book \definemakeup[title-page][align=middle,doublesided=no] \definemakeup[imprint][align=top,page=no] \starttext \startmakeup[title-page] bastard

Re: [NTG-context] standardmakeup and pages

2019-08-29 Thread mf
Il 29/08/19 16:33, Henning Hraban Ramm ha scritto: \setuppagenumbering[ alternative=doublesided, ] \starttext \startstandardmakeup[align=center] bastard title \stopstandardmakeup \startstandardmakeup[page=left] \vfill imprint \stopstandardmakeup \stoptext \setuppagenumbering[

[NTG-context] standardmakeup and pages

2019-08-29 Thread Henning Hraban Ramm
Hi again, in my books I often use \startstandardmakeup for the initial pages. A typical use case is a bastard title (half-title) on the first page and the copyright information (imprint) on the second, like in this MWE: \setuppagenumbering[ alternative=doublesided, ] \starttext

Re: [NTG-context] context --autopdf=auto/default

2019-08-29 Thread Henning Hraban Ramm
> Am 2019-08-29 um 11:51 schrieb Taco Hoekwater : >> On 29 Aug 2019, at 11:40, Henning Hraban Ramm wrote: >> >> Hans, could you use "xdg-open" for "—autopdf=auto" on Linux? >> That’s more or less the same as "open" on MacOS. >> >> On Windows it’s 'start "" ""' (empty quotes for default

Re: [NTG-context] context --autopdf=auto/default

2019-08-29 Thread Floris van Manen
On 29-08-19 11:40, Henning Hraban Ramm wrote: > Hans, could you use "xdg-open" for "—autopdf=auto" on Linux? > That’s more or less the same as "open" on MacOS. you could also create an alias for in your .bashrc alias open=xdg-open pEpkey.asc Description: application/pgp-keys

Re: [NTG-context] context --autopdf=auto/default

2019-08-29 Thread Taco Hoekwater
Hi, > On 29 Aug 2019, at 11:40, Henning Hraban Ramm wrote: > > Hello again! > > Hans, could you use "xdg-open" for "—autopdf=auto" on Linux? > That’s more or less the same as "open" on MacOS. > > On Windows it’s 'start "" ""' (empty quotes for default program), don’t > know if that’s

[NTG-context] context --autopdf=auto/default

2019-08-29 Thread Henning Hraban Ramm
Hello again! Hans, could you use "xdg-open" for "—autopdf=auto" on Linux? That’s more or less the same as "open" on MacOS. On Windows it’s 'start "" ""' (empty quotes for default program), don’t know if that’s implemented. "default" is apparently "pdfopen", that doesn’t work on MacOS, at

Re: [NTG-context] coloring the logfile

2019-08-29 Thread Taco Hoekwater
Hi, FWIW: ConTeXt can already do colours on the terminal: context —ansi myfile.tex (but that currently results in an empty log, I think because there is no separation) Since the engine internals know and expose the difference between terminal and log file already, it is quite possible to

Re: [NTG-context] coloring the logfile

2019-08-29 Thread Hans van der Meer
> On 29/08/19 5:35 PM, Henning Hraban Ramm wrote: > This will need engine support but is in principle dead easy. So it seems doable if someone is willing to provide the engine support. I sincerely hope it will be done. With many thanks, of course. dr. Hans van der Meer > On 29 Aug 2019, at

Re: [NTG-context] coloring the logfile

2019-08-29 Thread Henri Menke
On 29/08/19 5:35 PM, Henning Hraban Ramm wrote: > >> Am 2019-08-28 um 21:54 schrieb Hans van der Meer : >> >> Is it possible to force lines written in the log with \writestatus to have >> a specific color? The log can be very substantial and it would be nice to >> have some lines brought to