[NTG-context] Question to lines in linetable

2019-04-27 Thread Tomas Hala
Hi all, I tried linetable tables (mkiv, TL2017) because I need even horizontal splitting. It works fine but I do not know how to make either horizontal or vertical lines. Have somebody got some experience with this? Best wishes, Tomáš

Re: [NTG-context] LMTX and system fonts

2019-04-27 Thread Aditya Mahajan
On Sat, 27 Apr 2019, Pablo Rodriguez wrote: On 4/27/19 7:36 PM, Hans Hagen wrote: On 4/27/2019 6:25 PM, Pablo Rodriguez wrote: [...] It seems as if LMTX couldn’t follow symlinks for directories in Linux. On Windows, I will have to wait some days to have access to a computer with it. I

Re: [NTG-context] LMTX and system fonts

2019-04-27 Thread Otared Kavian
Hi Pablo, I don't know if this may help, but in principle in order to use systme fonts in LMTX you should invoke the mtxrun in the bin directory of your installation of LMTX. For me, working on MacOS, the following worked fine: /context-osx-64/tex/texmf-osx-64/bin/mtxrun -generate and

Re: [NTG-context] LMTX and system fonts

2019-04-27 Thread Pablo Rodriguez
On 4/27/19 7:36 PM, Hans Hagen wrote: > On 4/27/2019 6:25 PM, Pablo Rodriguez wrote: >> [...] >> It seems as if LMTX couldn’t follow symlinks for directories in Linux. >> >> On Windows, I will have to wait some days to have access to a computer >> with it. > I tested linux on wsl and made a (soft)

Re: [NTG-context] LMTX and system fonts

2019-04-27 Thread Hans Hagen
On 4/27/2019 6:25 PM, Pablo Rodriguez wrote: On 4/27/19 5:37 PM, Hans Hagen wrote: On 4/27/2019 2:13 PM, Pablo Rodriguez wrote: [...] In Windows (I installed it again from scratch yesterday), system fonts (from c:/windows/fonts/) are simply ignored (I don’t know why). In Linux, a symlink in

Re: [NTG-context] LMTX and system fonts

2019-04-27 Thread Pablo Rodriguez
On 4/27/19 6:25 PM, Pablo Rodriguez wrote: > [...] > The only workaround I found in Linux is to add a symlinks to each font > file. This works now. I mean, to add a symlink in tex/texmf-font/ for each in the original font directory. But a symlink in tex/texmf-font/ for the font directory itself

Re: [NTG-context] LMTX and system fonts

2019-04-27 Thread Pablo Rodriguez
On 4/27/19 5:37 PM, Hans Hagen wrote: > On 4/27/2019 2:13 PM, Pablo Rodriguez wrote: >> [...] >> In Windows (I installed it again from scratch yesterday), system fonts >> (from c:/windows/fonts/) are simply ignored (I don’t know why). >> >> In Linux, a symlink in tex/texmf-fonts/ to the directory

[NTG-context] No menu bar option for Adobe Reader

2019-04-27 Thread Paul Schalck
Hi, I use the "Hide menu bar" option extensively in Adobe Acrobat Reader to get a cleaner interface. To this end, I usually hack lpdf-mis.lua after a ConTeXt upgrade to create a \setupinteractionscreen[option=nomenubar] switch. I wonder if it would be possible to add this little feature to the

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Pablo Rodriguez
On 4/27/19 4:34 PM, Wolfgang Schuster wrote: >> [...] >> Is it intended that all nine lines are black? > > Yes, because there are no predefined palets with the names red, green or > blue. > > \definepalet >   [red] >   [ light=lightred, >    normal=middlered, > dark=darkred] Wolfgang,

Re: [NTG-context] LMTX and system fonts

2019-04-27 Thread Hans Hagen
On 4/27/2019 2:13 PM, Pablo Rodriguez wrote: Dear list, fonts are my main problem using LMTX (on both Windows and Linux platforms). In Windows (I installed it again from scratch yesterday), system fonts (from c:/windows/fonts/) are simply ignored (I don’t know why). In Linux, a symlink in

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 27.04.2019 um 16:07: I found this code in ConTeXt (syst-aux.mkiv): \starttext \doloopoverlist {red,green,blue} { \setuppalet[\recursestring] \doloopoverlist {light,normal,dark} { \blackrule[color=\recursestring,

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Pablo Rodriguez
On 4/27/19 2:03 PM, Wolfgang Schuster wrote: > [...] > It's my fault, in this case there is only a single command to create and > change palet values. Many thanks for your explanation, Wolfgang. I found this code in ConTeXt (syst-aux.mkiv): \starttext \doloopoverlist {red,green,blue} {

[NTG-context] precompose combining characters

2019-04-27 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupbodyfont[gentium, 60pt] \starttext Combined: τῇ Precomposed: τῇ \stoptext Is there an automatic way in LuaTeX to get the precomposed character from combining ones without having to add a feature? Many thanks for your help,

[NTG-context] LMTX and system fonts

2019-04-27 Thread Pablo Rodriguez
Dear list, fonts are my main problem using LMTX (on both Windows and Linux platforms). In Windows (I installed it again from scratch yesterday), system fonts (from c:/windows/fonts/) are simply ignored (I don’t know why). In Linux, a symlink in tex/texmf-fonts/ to the directory where fonts are

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 27.04.2019 um 13:25: On 4/27/19 12:21 PM, Wolfgang Schuster wrote: Marcus Vinicius Mesquita schrieb am 27.04.2019 um 12:18: \definepalet[layout][grid=black] \setuppalet   [layout]   [grid=black] Many thanks, Marcus Vinicius and Wolfgang, for your replies. This

[NTG-context] underscore hyphenation in LMTX

2019-04-27 Thread Pablo Rodriguez
Dear list, I have the following sample: \startluacode function document.addfunnyhyphen(tfmdata) local underscore = utf.byte("_") local char = tfmdata.characters[underscore] tfmdata.characters[0xFE000] = { width= 0, height = 0,

Re: [NTG-context] suggestion for LMTX

2019-04-27 Thread Pablo Rodriguez
On 4/27/19 1:15 PM, Hans Hagen wrote: > On 4/27/2019 12:22 PM, Pablo Rodriguez wrote: >> Hi Hans, >> >> compiling the following sample with LMTX >> [...] >> \contextmark >> [...] >> outputs MKIV. >> >> Wouldn’t LMTX be a better option than LMTX? > > Why? Although there are some fundamental

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Pablo Rodriguez
On 4/27/19 12:21 PM, Wolfgang Schuster wrote: > Marcus Vinicius Mesquita schrieb am 27.04.2019 um 12:18: >> \definepalet[layout][grid=black] > \setuppalet >   [layout] >   [grid=black] Many thanks, Marcus Vinicius and Wolfgang, for your replies. This is the only way it works:

Re: [NTG-context] suggestion for LMTX

2019-04-27 Thread Hans Hagen
On 4/27/2019 12:22 PM, Pablo Rodriguez wrote: Hi Hans, compiling the following sample with LMTX \starttext \contextmark \contextbanner \stoptext outputs MKIV. Wouldn’t LMTX be a better option than LMTX? Why? Although there are some fundamental differences deep down,

Re: [NTG-context] problems with "pagecomment"

2019-04-27 Thread Mohammad Hossein Bateni
I see. Thanks for the explanation. So the following works: --- \unprotect \setvalue{startNotes}% {\global\settrue\c_page_comment_enabled \grabbufferdatadirect{pagecomment}{startpagecomment}{stopNotes}} \protect \def\stopNotes{} --

[NTG-context] suggestion for LMTX

2019-04-27 Thread Pablo Rodriguez
Hi Hans, compiling the following sample with LMTX \starttext \contextmark \contextbanner \stoptext outputs MKIV. Wouldn’t LMTX be a better option than LMTX? Many thanks for your help, Pablo -- http://www.ousia.tk

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Wolfgang Schuster
Marcus Vinicius Mesquita schrieb am 27.04.2019 um 12:18: \definepalet[layout][grid=black] \setuppalet   [layout]   [grid=black] Wolfgang ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Marcus Vinicius Mesquita
\definepalet[layout][grid=black] On Sat, Apr 27, 2019, 07:04 Pablo Rodriguez wrote: > On 4/26/19 2:28 PM, Wolfgang Schuster wrote: > > [...] > > \showgrid highlights different page elements with colors but you can > > change the output > > > >

[NTG-context] several blocks of text in the margin

2019-04-27 Thread Fabrice Couvreur
Hi How to put several blocks of text in the margin without them encroaching each other ? Thank. Fabrice \setuplayout [width=12cm, rightmargin=5cm] \definemathmatrix [pmatrix][matrix:parentheses][simplecommand=MATRIX] \unexpanded\def\pcent#1{#1\,\%} \defineuserdata [margintext]

Re: [NTG-context] Strange backgroundcolors with showgrid and luacode

2019-04-27 Thread Pablo Rodriguez
On 4/26/19 2:28 PM, Wolfgang Schuster wrote: > [...] > \showgrid highlights different page elements with colors but you can > change the output > > https://www.mail-archive.com/ntg-context@ntg.nl/msg90312.html Hi Wolfgang, is there any way to get the lines from \showgrid in black instead of red?

Re: [NTG-context] wrong intraword spacing

2019-04-27 Thread Pablo Rodriguez
On 4/22/19 6:27 PM, Hans Hagen wrote: > On 4/22/2019 12:35 PM, Otared Kavian wrote: >> Hi Pablo, >> >> Yes I get the same extra space after ff, with all th eflavors of luatex >> based ConTeXt (mkiv, lmtx, and ConTeXt from TeXLIve 2018). >> I attach the PDF. > fixed in next beta but not extensively