Re: [NTG-context] page number with brief centered line above

2020-05-14 Thread jbf
Thanks Wolfgang. It seems I was almost there, but had forgotten the braces for \pagenumber!  I am grateful for the observation. \framed is definitely the preferred solution. Julian On 15/5/20 1:28 am, Wolfgang Schuster wrote: jbf schrieb am 14.05.2020 um 07:30: Hi list, I am trying to

Re: [NTG-context] Blank page added after pagecolumns

2020-05-14 Thread Joey McCollum
Okay, I think I'm getting close, but I'm not quite there yet. The pagecolumns source code is found in page-pcl.mkiv ( source.contextgarden.net/tex/context/base/mkiv/page-pcl.mkiv), and in that code, the \page_col_stop_yes macro seems to have something to do with the issue: ```

Re: [NTG-context] Using transparency in METAPOST within textext()

2020-05-14 Thread Gerben Wierda
Thank you. That works. > On 14 May 2020, at 17:13, Wolfgang Schuster > wrote: > > Gerben Wierda schrieb am 14.05.2020 um 11:47: >> Is it possible to get a transparent background in a textext()? The following >> minimal example doesn’t work. >> \starttext >> \setupMPpage >>

Re: [NTG-context] left protruding quotations

2020-05-14 Thread Wolfgang Schuster
Rik Kabel schrieb am 14.05.2020 um 17:31: On 5/14/2020 11:21, Wolfgang Schuster wrote: Michael Guravage schrieb am 14.05.2020 um 10:37: When I start a paragraph with a \quote or a \quotation the left quotemark does not protrude, but when I use Unicode quotes it does. I would prefer to use

Re: [NTG-context] Custom color schemes in t-vim

2020-05-14 Thread Aditya Mahajan
On Thu, 14 May 2020, Nicola wrote: Quick question: Is \startcolorscheme... \stopcolorscheme (still) supported by t-vim? In a template I wrote long time ago to typeset code, I have: \usemodule[vim] \unprotect \startcolorscheme[oceansunset]

Re: [NTG-context] left protruding quotations

2020-05-14 Thread Rik Kabel
On 5/14/2020 11:21, Wolfgang Schuster wrote: Michael Guravage schrieb am 14.05.2020 um 10:37: When I start a paragraph with a \quote or a \quotation the left quotemark does not protrude, but when I use Unicode quotes it does. I would prefer to use the commands. Any suggestions on how I can

Re: [NTG-context] page number with brief centered line above

2020-05-14 Thread Wolfgang Schuster
jbf schrieb am 14.05.2020 um 07:30: Hi list, I am trying to achieve a layout where there is a brief line above the bottom-centered page number (of a double-sided document). I am able to achieve the centered bottom-located page number easily and obviously enough with: \setuppagenumbering  

Re: [NTG-context] left protruding quotations

2020-05-14 Thread Wolfgang Schuster
Michael Guravage schrieb am 14.05.2020 um 10:37: When I start a paragraph with a \quote or a \quotation the left quotemark does not protrude, but when I use Unicode quotes it does. I would prefer to use the commands. Any suggestions on how I can achieve proper left protrusion without resorting

Re: [NTG-context] Using transparency in METAPOST within textext()

2020-05-14 Thread Wolfgang Schuster
Gerben Wierda schrieb am 14.05.2020 um 11:47: Is it possible to get a transparent background in a textext()? The following minimal example doesn’t work. \starttext \setupMPpage   [background=color,    backgroundcolor=gray] \startMPpage draw

[NTG-context] Using transparency in METAPOST within textext()

2020-05-14 Thread Gerben Wierda
Is it possible to get a transparent background in a textext()? The following minimal example doesn’t work. \starttext \setupMPpage [background=color, backgroundcolor=gray] \startMPpage draw

Re: [NTG-context] Retrieving original value of enviroment variable HOME

2020-05-14 Thread context
Hello Hans, I made some observations and ... - shortly, the simpliest solution seems to me: Would it be accptable for your to replace " local homedir = osgetenv(ostype == "windows" and 'USERPROFILE' or 'HOME') or '' " with: " local homedir= ostype=="windows" and

[NTG-context] Custom color schemes in t-vim

2020-05-14 Thread Nicola
Quick question: Is \startcolorscheme... \stopcolorscheme (still) supported by t-vim? In a template I wrote long time ago to typeset code, I have: \usemodule[vim] \unprotect \startcolorscheme[oceansunset] \definesyntaxgroup[Comment][\c!color={colortwo},\c!style=italic] %

[NTG-context] left protruding quotations

2020-05-14 Thread Michael Guravage
When I start a paragraph with a \quote or a \quotation the left quotemark does not protrude, but when I use Unicode quotes it does. I would prefer to use the commands. Any suggestions on how I can achieve proper left protrusion without resorting to Unicode characters? Cheers, Michael % Setup

Re: [NTG-context] Is it possible to make xml.load a bit more 'verbose' when it encounters errors?

2020-05-14 Thread Hans van der Meer
Gerben,Maybe this is of some use. The Lua code in the file checks the xml and returns info when something is wrong.I am using it for example in my takenotes module as:And this is a sketch of how it is embedded in that module: % Prerun an xml check. \doifinset{\xmlatt{#1}{checkxml}}{yes,on,true}%