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 achie

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: ``` \unexpanded\def\page

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 >> [background=color,

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 the

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] \definesyntaxgroup[Comment][\c!color={col

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 ac

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 textext("\definecolor[labelbackground][a=0.2,r=1,g=

[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 textext("\definecolor[labelbackground][a=0.2,r=1,g=1,b=1]\framed[height=1.2em,background=color,backgr

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 (osgetenv('HOME'

[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] % et

[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 hang