Re: [NTG-context] bug in beta from 2019.05.25 10:45

2019-05-27 Thread Pablo Rodriguez
On 5/26/19 10:12 PM, Hans Hagen wrote: > On 5/26/2019 9:52 PM, Pablo Rodriguez wrote: > [...] > What if you wipe the whole cache? I’m afraid it doesn’t work either. But this is weird. I’m able to typeset whole books from XML sources with environments using luajittex. > I see you u

Re: [NTG-context] bug in beta from 2019.05.25 10:45

2019-05-26 Thread Pablo Rodriguez
On 5/26/19 1:49 PM, Hans Hagen wrote: > On 5/26/2019 10:56 AM, Pablo Rodriguez wrote: >> \starttext >> \input zapf >> \stoptext > > no error here .. is that really the whole example? It is the whole example. I’m attaching the four files. Just in case it

Re: [NTG-context] Typesetting Markdown

2019-05-26 Thread Pablo Rodriguez
On 5/25/19 9:54 PM, Thangalin wrote: >[...] > For the document language, Pandoc provides language variables: > > https://pandoc.org/MANUAL.html#language-variables > [...] > Intermixing languages is also possible, as per the above link. As far as I can remember, neither of them were available when

Re: [NTG-context] bug in beta from 2019.05.25 10:45

2019-05-26 Thread Pablo Rodriguez
On 5/26/19 10:56 AM, Pablo Rodriguez wrote: > [...] > And here the error I get: > > lua error > lua error on line 1 in file a.tex: > ...ce0dde776fb1556f32e/formats/luajittex/lpdf-ini-macro.lua:1029: > attempt to call upvalue 'pdfsetpageresources' (

[NTG-context] bug in beta from 2019.05.25 10:45

2019-05-26 Thread Pablo Rodriguez
Hi Hans, here is my minimal sample: \starttext \input zapf \stoptext And here the error I get: lua error > lua error on line 1 in file a.tex: ...ce0dde776fb1556f32e/formats/luajittex/lpdf-ini-macro.lua:1029: attempt to call upvalue 'pdfsetpageresources' (a nil

Re: [NTG-context] Typesetting Markdown

2019-05-25 Thread Pablo Rodriguez
On 5/24/19 5:37 AM, Thangalin wrote: > Hi Gour, > > I added an abstract, an overview section with the plan, and an RSS feed: > > https://dave.autonoma.ca/blog/2019/05/22/typesetting-markdown-part-1/ > > One of the reasons I chose Pandoc's Markdown is for its support of > classes and annotations. I

[NTG-context] no bookmark prerollling in bookmark option

2019-05-23 Thread Pablo Rodriguez
Dear list, I have the following sample: \def\MyContent{This is expanded content} \enabledirectives[references.bookmarks.preroll] \setupinteraction[state=start, title={\MyContent}] \placebookmarks[section] \starttext \section{\MyContent} \startsection[title=\MyContent]

Re: [NTG-context] section to have different conversion in body part and appendices

2019-05-21 Thread Pablo Rodriguez
On 5/21/19 3:10 PM, Procházka Lukáš Ing. wrote: > Hello, > > is there a way to tell \section (or other heads) to be "number-converted" > differently in bodypart and appendices? Hi Lukáš, I think this is what you want to achieve: \definestructureconversionset [sectionnumbers]

Re: [NTG-context] UTF8 chars in attribute values (XML)

2019-05-21 Thread Pablo Rodriguez
On 5/21/19 10:19 AM, Hans Hagen wrote: > On 5/19/2019 7:38 PM, Pablo Rodriguez wrote: >> [...] >> Inspecting buff-imp-xml.lua, I understand that "alsoname" should be >> added to "key". But I don’t know where or how this could be achieved. >> >>

[NTG-context] UTF8 chars in attribute values (XML)

2019-05-19 Thread Pablo Rodriguez
Hi Hans, I’m afraid I found another issue with UTF8 chars in attribute values when printing them. \starttext \startTEXpage[offset=1em] \startXML \stopXML \stopTEXpage \stoptext Inspecting buff-imp-xml.lua, I understand that "alsoname" should be added to "key". But I

Re: [NTG-context] problem with UTF8 chars in XML elements

2019-05-19 Thread Pablo Rodriguez
On 5/5/19 5:25 PM, Axel Kielhorn wrote: >> Am 05.05.2019 um 14:58 schrieb Pablo Rodriguez: >> [...] >> ConTeXt has problems parsing . To the best of my knowledge, this >> is a valid XML element name (sorry, but I don’t have a better reference: >> https://en.wikipedia.

Re: [NTG-context] interactive link area and scale in LMTX

2019-05-19 Thread Pablo Rodriguez
On 5/18/19 11:00 PM, Hans Hagen wrote: > On 5/18/2019 7:12 PM, Pablo Rodriguez wrote: >> [...] >> Interactive link areas are fine in latest beta (2019.05.18 10:57) with >> LuaTeX-1.10, but with LuaTeX-2.0, they aren’t scaled. >> >> Could anyone confirm the issue?

[NTG-context] interactive link area and scale in LMTX

2019-05-18 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \enabledirectives[references.border] \def\mypersonalurl#1{\bgroup% \tt\goto{\hyphenatedurl{#1}}[url(#1)]\egroup}% \unexpanded\def\href#1#2{\goto{#2} [url(#1)]} \starttext

Re: [NTG-context] xmldoif, \startSECTION ... \stopSECTION and \setuphead

2019-05-16 Thread Pablo Rodriguez
On 5/16/19 8:45 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 16.05.2019 um 18:43: >> [...] >> After checking i-context, the options for the second pair of brackets are: >> >>KEY = VALUE >> >> Well, I think this is the standard case. Aren’t va

Re: [NTG-context] xmldoif, \startSECTION ... \stopSECTION and \setuphead

2019-05-16 Thread Pablo Rodriguez
On 5/16/19 6:43 PM, Pablo Rodriguez wrote: > [...] > What would be my approach to deal with "\xmldoif{#1}{.[@id='topic' and > contains(@class,'hidden')]}" in beforesection? > > I realize that "\definehead[specialchapter][chapter]" would be a > workaround,

[NTG-context] xmldoif, \startSECTION ... \stopSECTION and \setuphead

2019-05-16 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuphead[chapter] [beforesection=\TeX, aftersection=\TeX] \starttext \startchapter[title=Chapter, beforesection=\ConTeXt, aftersection=\ConTeXt] This is my chapter. \stopchapter \stoptext

Re: [NTG-context] issues with rotated paper size

2019-05-15 Thread Pablo Rodriguez
On 5/15/19 8:59 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 14.05.2019 um 21:39: >> [...] >> I see that a more complex method is deployed to get the box sizes. >> >> I simply thought that this could be a bug. > > What is the reason for this page

Re: [NTG-context] issues with rotated paper size

2019-05-14 Thread Pablo Rodriguez
On 5/14/19 8:05 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 14.05.2019 um 18:51: >> [...] >> I think it might be a bug. > > When you add \setupinteractionscreen to your document ConTeXt uses a > more complex method to save the page size which includes calculat

Re: [NTG-context] issues with rotated paper size

2019-05-14 Thread Pablo Rodriguez
On 5/14/19 4:53 PM, Hans Hagen wrote: > i have no clue what you want to achieve Hans and Wolfgang, I think I have found a weird behaviour in ConTeXt (latest beta from 2019.05.12 19:05). This is a sample of what I want to achieve (thanks to Wolfgang’s help): \setuppapersize

Re: [NTG-context] issues with rotated paper size

2019-05-14 Thread Pablo Rodriguez
On 5/14/19 5:16 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 14.05.2019 um 16:12: >> Dear list, >> >> I have the following sample: >> >> \setuppapersize[A4, landscape][A4, 90] >> %~ \setupinteractionscreen[option=max] >> \sho

[NTG-context] issues with rotated paper size

2019-05-14 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A4, landscape][A4, 90] %~ \setupinteractionscreen[option=max] \showframe \starttext \showlayout \stoptext For some reason, the page is displaced from the paper bottom. And if fullscreen is set, the real paper size

[NTG-context] suggestions for \definefontfamily and \definefallbackfamily

2019-05-12 Thread Pablo Rodriguez
Hi Wolfgang, as I reported the issue with the fonts and LMTX, I remembered two suggestions I wanted to post here. The first one is enabling the use of "method=uppercase" in \definefallbackfamily (to get fake caps, such as in https://mailman.ntg.nl/pipermail/ntg-context/2018/092878.html). The

Re: [NTG-context] placing content in footers

2019-05-12 Thread Pablo Rodriguez
On 5/12/19 2:30 PM, Henning Hraban Ramm wrote: > Am 2019-05-11 um 19:40 schrieb Henning Hraban Ramm: >> Am 2019-05-11 um 16:35 schrieb Pablo Rodriguez: >>> [...] >>> Is there any way to place content in the middle of doublesided footers, >>

Re: [NTG-context] placing content in footers

2019-05-12 Thread Pablo Rodriguez
On 5/11/19 8:26 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 11.05.2019 um 16:35: >> [...] >> \mbox{}\page\mbox{} > > Where did you learn to use \mbox? I don’t remember (probably in my LaTeX times, before moving to ConTeXt). I know that you don’t like

[NTG-context] placing content in footers

2019-05-11 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A8] \setuppagenumbering [alternative=doublesized] \setupfootertexts [even-right] [even-left] [odd-right] [odd-left] %~ [even-middle] %~ [odd-middle] \starttext

Re: [NTG-context] font selection in LMTX

2019-05-10 Thread Pablo Rodriguez
On 5/9/19 10:50 PM, Wolfgang Schuster wrote: > [...] > What are the results for the following two calls: > > mtxrun --find-file GIL_.TTF > > mtxrun --script fonts --list --all gill* Many thanks for your reply, Wolfgang. Both commands find the font files. You have the output below. Many

[NTG-context] font selection in LMTX

2019-05-09 Thread Pablo Rodriguez
Hi Hans, using the following sample: \definefontfamily[mainface][rm][TeX Gyre Heros] \definefontfamily[mainface][mm][TeX Gyre Termes Math] \definefontfamily[mainface][ss][Gill Sans MT][tf=file:GIL_.TTF] \definefontfamily[mainface][tt][Cousine]

Re: [NTG-context] issue with page numbering

2019-05-08 Thread Pablo Rodriguez
On 5/8/19 9:28 PM, Wolfgang Schuster wrote: > [...] >> Is there any way to avoid that \lastsubpagenumber counts the blank page >> that might be placed among two chapters? > You have to reset the subpage counter at the end of each chapter. > > \startsetups [chapter:after] >   \page >  

[NTG-context] issue with page numbering

2019-05-08 Thread Pablo Rodriguez
Dear list, inspired by strc-pag.mkiv, I have the following sample: \setuppagenumbering[alternative=doublesided] \setupsubpagenumber[way=bychapter] \starttext \dorecurse{5}{\startchapter[title=My Chapter] \userpagenumber/\lastuserpagenumber---

[NTG-context] problem with UTF8 chars in XML elements

2019-05-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \startbuffer[demo] Title \stopbuffer \startxmlsetups xml:sample \xmlsetsetup{#1}{doc|título}{xml:*} \stopxmlsetups \xmlregistersetup{xml:sample} \startxmlsetups xml:doc \xmlflush{#1}

Re: [NTG-context] XML xmldoif struggle!

2019-05-02 Thread Pablo Rodriguez
On 5/1/19 9:28 PM, Geert Verhaag wrote: > Hoi Pablo, > > Thanks for your prompt reply! > > The output Euro set! is printed always, it doesn't matter whether I put > EURO or DOLLAR first?! Hi Geert, my fault, the conditional should read: \xmldoif{#1}{currency[position()==1 and

Re: [NTG-context] underscore hyphenation in LMTX

2019-05-01 Thread Pablo Rodriguez
On 4/29/19 10:57 AM, Hans Hagen wrote: > On 4/27/2019 1:51 PM, Pablo Rodriguez wrote: >> [...] >> I get the underscore hyphenation with latest ConTeXt beta (LuaTeX-1.10), >> but not with latest LMTX (LuaTeX-2.0). >> >> Am I missing something here? > >

Re: [NTG-context] XML xmldoif struggle!

2019-05-01 Thread Pablo Rodriguez
On 4/30/19 9:58 PM, Geert Verhaag wrote: > [...] > \startxmlsetups xml:invoice:invoice >   \xmlfirst{#1}{currency} \par >   \xmldoif{\xmlfirst{#1}{currency}}{contains(text(),'EURO')} { > Euro set! \par >   } > [...] > But the xmldoif command doesn't cause the Euro set be printed?! > >

Re: [NTG-context] LMTX and system fonts

2019-05-01 Thread Pablo Rodriguez
On 4/28/19 5:22 PM, Alan Braslau wrote: >> On 28Apr19, at 02:55, Pablo Rodriguez wrote: >> >> I add the path, otherwise no mtxrun would be found. > > Of course, Otared is saying: > > $CONTEXTHOME/tex/texmf-osx-64/bin/mtxrun -generate > > where osx-64 is the p

Re: [NTG-context] LMTX and system fonts

2019-04-28 Thread Pablo Rodriguez
On 4/27/19 11:06 PM, Aditya Mahajan wrote: > On Sat, 27 Apr 2019, Pablo Rodriguez wrote: >> [...] >> If the soft symlink for the fonts directory is itself tex/texmf-fonts/, >> ConTeXt LMTX handles the fonts right. > > The texmf-fonts directory must follow TDS (tex docu

Re: [NTG-context] LMTX and system fonts

2019-04-28 Thread Pablo Rodriguez
On 4/27/19 9:50 PM, Otared Kavian wrote: > Hi Pablo, > > I don't know if this may help, but in principle in order to use > system 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: > >

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

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 directo

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

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] 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

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

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:

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

Re: [NTG-context] wrong intraword spacing

2019-04-22 Thread Pablo Rodriguez
his issue might be related to the one Wolfgang reported (https://mailman.ntg.nl/pipermail/ntg-context/2019/094747.html). Many thanks for your help, Pablo >> On 22 Apr 2019, at 10:50, Pablo Rodriguez wrote: >> >> Dear list, >> >> I have the following sample: &

Re: [NTG-context] Processing XML: Header and footer, data manipulation

2019-04-22 Thread Pablo Rodriguez
On 4/22/19 7:57 AM, Axel Kielhorn wrote: > [...] > Some questions remain: Hi Axel, I have some questions about your source file: \startxmlsetups xml:prozess \mainlanguage[de] If this is hardcoded (I mean, you don’t read it from any XML code), I would avoid setting the \mainlanguage

[NTG-context] wrong intraword spacing

2019-04-22 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefontfeature [default] [default] [itlc=yes] \setupitaliccorrection [always] \setupbodyfont %~ [heros] %~ [pagella] [termes] \starttext \startTEXpage[offset=1em]

Re: [NTG-context] optional hyphenation patterns in ancient Greek

2019-04-22 Thread Pablo Rodriguez
On 4/3/19 4:14 PM, Arthur Reutenauer wrote: > [...] > βμ βν γμ θμ πμ τν φμ χμ > > are the only consonant pairs that require a different treatment. Would > you please confirm? Arthur, the pairs are (to the best of my knowledge): βμ βν γμ δλ θμ πμ τν φμ χμ The patterns would be:

Re: [NTG-context] Spurious space in \startnarrower

2019-03-31 Thread Pablo Rodriguez
On 3/31/19 10:13 PM, Henri Menke wrote: > I see that the patch has been applied in current, but could you please also > apply it in beta (which is what I and probably most others use daily)? Hi Henri, I use beta and I update it with: ./first-setup.sh --modules=all At least my latest beta

Re: [NTG-context] optional hyphenation patterns in ancient Greek

2019-03-31 Thread Pablo Rodriguez
On 3/31/19 10:18 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 30.03.19 um 15:40: >> [...] >> For me, adding the command to the document (or the distribution) would >> be easier. But this isn’t about my documents or myself. > > You can put your ext

Re: [NTG-context] optional hyphenation patterns in ancient Greek

2019-03-30 Thread Pablo Rodriguez
On 3/26/19 9:42 AM, Arthur Reutenauer wrote: > On Mon, Mar 25, 2019 at 08:57:40PM +0100, Pablo Rodriguez wrote: >> I read your original message when you sent it, but the issue with that >> kind of hyphenation exceptions is that they are document-based > > No. Why wou

Re: [NTG-context] issue with symbol in attachments

2019-03-25 Thread Pablo Rodriguez
On 3/25/19 10:48 AM, Hans Hagen wrote: > On 3/24/2019 6:47 PM, Pablo Rodriguez wrote: > >> Can anyone confirm that all attachment symbols are distorted, except the >> first one? > hard to say ... support for these symbols / icons in viewers has been an > inconsistent m

Re: [NTG-context] optional hyphenation patterns in ancient Greek

2019-03-25 Thread Pablo Rodriguez
On 3/25/19 3:09 PM, Arthur Reutenauer wrote: > Dear Pablo, > > Five months ago I sent you a private email with detailed explanations > of how you can achieve that in ConTeXt. I suggest you go through that > first before we start talking about a new pattern set. Here is the > email, with

[NTG-context] issue with symbol in attachments

2019-03-24 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setuppapersize[A9] \starttext \attachment[xml-mkiv.pdf]\\ \attachment[xml-mkiv.pdf] [symbol=Pushpin width=fit, width=fit, depth=fit]\\ \attachment[xml-mkiv.pdf]

[NTG-context] optional hyphenation patterns in ancient Greek

2019-03-24 Thread Pablo Rodriguez
Dear list (especially Thomas and Arthur), I opened a request for optional hyphenation patterns at GitHub (https://github.com/hyphenation/tex-hyphen/issues/34). I’m not advocating changing the default, but only providing hyphenation patterns that allow hyphenating consonant pairs that cannot be

Re: [NTG-context] Spacing between text and footnote line

2019-03-24 Thread Pablo Rodriguez
On 3/24/19 3:50 PM, Huseyin Özoguz wrote: > [...] > Thanks, but that does not work. It only changes the distance between the > footnote-line and the footnote-text. But I want to manipulate the > distance above the footnote-line: between the (standard) text and the > footnote-line. Hi Huseyin, it

[NTG-context] new LuaTeX binaries in latest beta

2019-03-23 Thread Pablo Rodriguez
Dear list, I have just downloaded the latest beta from the ConTeXt Suite and I found that it includes the new LuaTeX binaries. These ones fix the issue reported in https://mailman.ntg.nl/pipermail/ntg-context/2019/094266.html. Many thanks to each one involved in the timely release of each

Re: [NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
On 3/20/19 8:50 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 20.03.19 um 20:43: >> [...] >> Is there a way with a \setupitemize (or \setupitemgroup) to configure >> only one kind of numbered (or unnumbered, for that matter) item groups? > > You hav

Re: [NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
On 3/20/19 8:09 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 20.03.19 um 20:03: >> [...] >> Is there a way to get only [option=inmargin] for the items that are >> Roman-numbered? > > \startitemize[I,inmargin] Many thanks for your reply, Wolfgang. I need

[NTG-context] inmargin for only Roman-numbered items

2019-03-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe \setupitemize[each][option=inmargin] \starttext \startitemize[n] \dorecurse{5}{\item item} \stopitemize \startitemize \dorecurse{5}{\item item} \stopitemize \startitemize[I]

Re: [NTG-context] single command for \ctxlua{context(...)}

2019-03-12 Thread Pablo Rodriguez
On 3/11/19 10:36 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 11.03.19 um 22:23: >> [...] >> Is there a single command for \ctxlua{context(...)}? > > \cldcontext{...} Many thanks for your fast reply, Wolfgang. Pablo --

[NTG-context] single command for \ctxlua{context(...)}

2019-03-11 Thread Pablo Rodriguez
Dear list, I know this has been already posted to the list, but I cannot find it right now. Is there a single command for \ctxlua{context(...)}? Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your

[NTG-context] inmargin attachments from notes

2019-03-10 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setuppapersize[A9, landscape] \starttext \footnote{attachment\attachment [xml-mkiv.pdf] [location=inmargin]} \stoptext Using latest beta

Re: [NTG-context] expansion inside PDF annotations

2019-03-07 Thread Pablo Rodriguez
On 3/6/19 10:34 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 05.03.19 um 17:44: >> [...] >> \attachment >> [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf] >> [author={Attached on \currentdate}, >> title={Att

Re: [NTG-context] issue with \startattachment...\stopattachment

2019-03-05 Thread Pablo Rodriguez
On 3/5/19 9:17 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 05.03.19 um 20:57: >> [...] >> I have a question: shouldn’t be “Attached file.” typeset on the main text? > > No because > > \startattachment ... \stopattachment > > is the same as >

[NTG-context] issue with \startattachment...\stopattachment

2019-03-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] \startattachment [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf] Attached file. \stopattachment Attached on \currentdate. \stopTEXpage

[NTG-context] expansion inside PDF annotations

2019-03-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] Attached on \currentdate. \attachment [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf] [author={Attached on \currentdate},

[NTG-context] attachment from URL

2019-03-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \starttext \attachment [https://eur-lex.europa.eu/legal-content/ES/TXT/PDF/?uri=CELEX:12016E/TXT] [name=TFUE.pdf] \stoptext Is there a way that curl may

[NTG-context] (huge thanks) attaching files from links

2019-03-04 Thread Pablo Rodriguez
Dear list, I was about to ask how to attach a file from links and I just discovered that it works perfectly fine. \attachment[http://pragma-ade.com/general/manuals/xtables-mkiv.pdf] I just wanted to thank Hans and all developers for the awesome work with ConTeXt and LuaTeX. They are

Re: [NTG-context] util-sha.lua misbehaving?

2019-03-04 Thread Pablo Rodriguez
On 3/4/19 9:20 PM, Hans Hagen wrote: > On 3/4/2019 6:48 PM, Pablo Rodriguez wrote: >> [...] >> Sorry for the impatience (the feature is essential for me): when could >> be the new version expected a beta or stable version of the ConTeXt Suite? > we found the issu

Re: [NTG-context] util-sha.lua misbehaving?

2019-03-04 Thread Pablo Rodriguez
On 3/4/19 7:33 PM, luigi scarso wrote: > [...] >  what does  > $ luatex --credits  > say ? $ luatex --credits This is LuaTeX, Version 1.09.2 (TeX Live 2019/dev) [...] Development id: 7075 Pablo -- http://www.ousia.tk

Re: [NTG-context] util-sha.lua misbehaving?

2019-03-04 Thread Pablo Rodriguez
On 3/4/19 7:12 PM, luigi scarso wrote: > [...] > Sorry for the impatience (the feature is essential for me): when could > be the new version expected a beta or stable version of the ConTeXt > Suite? >   > r7090 | luigi.sca...@gmail.com | > 2019-02-28

Re: [NTG-context] util-sha.lua misbehaving?

2019-03-04 Thread Pablo Rodriguez
On 3/4/19 4:34 PM, luigi scarso wrote: > On Thu, Feb 28, 2019 at 10:37 PM Hans Hagen wrote: > > On 2/28/2019 6:46 PM, Pablo Rodriguez wrote: > > Dear list, > > > Could anyone tell me what I am missing here? > it's bug in the engine ... as a workaroun

[NTG-context] util-sha.lua misbehaving?

2019-02-28 Thread Pablo Rodriguez
Dear list, I have the following sample: \startluacode function document.capture(cmd, raw) local f = assert(io.popen(cmd, 'r')) local s = assert(f:read('*a')) f:close() if raw then return s end s = string.gsub(s, '^%s+', '') s =

Re: [NTG-context] cross references to chapters in a book

2019-02-25 Thread Pablo Rodriguez
On 2/23/19 10:51 AM, Wolfgang Schuster wrote: > [...] >> Is this because I am using MkII with XeTeX? > > Is there a reason why you stick with MkII or XeTeX. Hi Wolfgang, support for Indic languages seems to be the reason to use MkII. Pablo -- http://www.ousia.tk

Re: [NTG-context] markdown module vs pandoc

2019-02-22 Thread Pablo Rodriguez
On 2/21/19 9:59 PM, Gour wrote: > On Thu, 21 Feb 2019 18:50:41 +0100 Pablo Rodriguez wrote: > >> I’m still behind the environment itself, although I realized that >> these may not be relevant to everybody. I store the new commits in a >> private repository. >

Re: [NTG-context] markdown module vs pandoc

2019-02-21 Thread Pablo Rodriguez
On 2/19/19 2:22 PM, Gour wrote: > On Mon, 18 Feb 2019 17:08:44 +0100 Pablo Rodriguez wrote: > [...] >> I convert Markdown to XHTML and then I compile the XML sources with >> ConTeXt. > > I've tried it and it works nicely. The possibility to have one-source-does-all >

Re: [NTG-context] interactive tests with AcroJS

2019-02-18 Thread Pablo Rodriguez
On 2/12/19 10:58 AM, Hans Hagen wrote: > On 2/11/2019 8:16 PM, Pablo Rodriguez wrote: >> Dear list, >> >> is there any way that I can generate PDF document with ConTeXt >> containing a test with questions and multiple-choice answers and that >> the user can check t

Re: [NTG-context] markdown module vs pandoc

2019-02-18 Thread Pablo Rodriguez
On 2/14/19 11:00 PM, Gour wrote: > Hello, > > I'm interested for using markdown markup and typeset such documents via > ConTeXt, but wonder whether it is recommended to use Markdown module or do > markdown --> ConTeXt via Pandoc? Hi Gour, I convert Markdown to XHTML and then I compile the XML

[NTG-context] interactive tests with AcroJS

2019-02-11 Thread Pablo Rodriguez
Dear list, is there any way that I can generate PDF document with ConTeXt containing a test with questions and multiple-choice answers and that the user can check the right and wrong answers (using AcroJS)? Sorry for the too general question, but I think it is clear enough. Many thanks for your

Re: [NTG-context] Creating business cards with CSV

2019-02-11 Thread Pablo Rodriguez
On 2/10/19 11:01 AM, Jan U. Hasecke wrote: > Thanks Pablo, > > great documentation and just the tool I was looking for. Jan Ulrich, Jaroslav Hajtmar has done a great job with the handlecsv module. I have used it and I find it extremely useful. The least I could do was to write the

Re: [NTG-context] Creating business cards with CSV

2019-02-08 Thread Pablo Rodriguez
On 2/7/19 2:27 PM, Jan U. Hasecke wrote: > Hi all, > > I found some hints to CSV in the wiki, but they all refer to tables. > > What are the building block to create business cards from a csv file? Hi Jan Ulrich, there is a module that does it (handlecsv, which comes with the ConTeXt Suite [I

Re: [NTG-context] 404 error: Not found for first-setup.sh

2019-02-08 Thread Pablo Rodriguez
On 2/8/19 7:02 PM, Marcus Vinicius Mesquita wrote: > Hi, Taco > > I tried again, but the server still answers with a 404 error.  Hi Marcus, I have just updated my ConTeXt Suite to its latest beta. And the following command downloads the file (I don’t have wget installed): $ curl -O

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-06 Thread Pablo Rodriguez
On 2/5/19 8:07 AM, Jan U. Hasecke wrote: > Hola Pablo, Hallo Jan-Ulrich, > I inserted this in the setupbackend command so that ConTeXt stops with > the unknown command \colorprofilenotfound I inserted in the else clause. > > But more and more I think that ConTeXt should fail if it does not find

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-04 Thread Pablo Rodriguez
On 2/4/19 7:30 AM, Jan U. Hasecke wrote: > Hi all, > > yesterday I asked about where to put color profiles. > > My problem was that ConTeXt for some unknown reason didn't find the > color profiles I downloaded. But most annoying was the fact that I > didn't saw the error in the log because

Re: [NTG-context] fontloader error in latex: attempt to call upvalue 'getdirection' (a nil value)

2019-01-10 Thread Pablo Rodriguez
On 1/7/19 12:40 AM, Ulrike Fischer wrote: > I just tried to import the fontloader from 2019-01-03 into latex, > and get on a simple document the error > > (./test-utf8.aux)error: > ...ad/texmf/tex/luatex/luaotfload/fontloader-2019-01-03.lua:23868: > attempt to call upvalue 'getdirection' (a nil

[NTG-context] issue with backend.date

2019-01-10 Thread Pablo Rodriguez
Dear list, I have the following sample: \enabledirectives[backend.date=no] \enabledirectives[backend.info=no] \enabledirectives[backend.xmp=no] \starttext a \stoptext At least, backend.date doesn’t work with latest beta (2019.01.07 16:10) as it used to work before. I

[NTG-context] issue with initial

2018-12-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \definefallbackfamily [mainface] [rm] [GFS Didot] [preset=range:greek, force=yes] \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \setupbodyfont[mainface] \starttext

[NTG-context] fallback family not working for \setinitial

2018-12-19 Thread Pablo Rodriguez
Dear list, I have the following sample: \mainlanguage[agr] \setuppapersize[A5] \definefallbackfamily [mainface] [rm] [GFS Didot] [preset=range:greek, force=yes] \definefontfamily [mainface] [rm] [TeX Gyre Pagella]

Re: [NTG-context] \showhyphens

2018-12-18 Thread Pablo Rodriguez
On 12/18/18 12:01 PM, Tomas Hala wrote: > Hi all, > > I would like to detect hyphen points in a paragraph. > I hoped that the plain \showhyphens{text} can do it > but it displays nothing. Is this plain macro available yet, > or is it covered by other command? Hi Tomáš, \hyphenatedword is the

Re: [NTG-context] Monospace fallback kerning

2018-12-11 Thread Pablo Rodriguez
On 12/11/18 3:05 PM, Hans Åberg wrote: > In the example below, multiple spaces do not use the spacing of the > fallback font for multiple spaces, but instead of the main font it > seems, despite the ASCII U+0020 being in the forced override. So the > question is how to force ConTeXt to use the

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-10 Thread Pablo Rodriguez
On 12/10/18 10:51 AM, Hans Hagen wrote: > On 12/9/2018 8:54 PM, Pablo Rodriguez wrote: >> [] >> My own vectors wouldn’t solve the issue, because the variable would be: >> >> lfbd(Ὧ) = glyph.width(Ω) - glyph.width(Ὧ) >> >> I need to place glyphs accuratel

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-09 Thread Pablo Rodriguez
On 12/9/18 6:53 PM, Hans Hagen wrote: > On 12/9/2018 5:35 PM, Pablo Rodriguez wrote: >> [...] >> -Is there any way that I can apply pure raw lfbd/rtbd values to >> protrusion with no other protrusion calculation at all in opbd? > > you can create your own vectors

Re: [NTG-context] issue with optical bounds (OpenType)

2018-12-09 Thread Pablo Rodriguez
On 12/9/18 2:22 PM, Hans Hagen wrote: >> [...] > you confuse mechanism: > > - protrusion only happen at the start and end of the line > - kerning (like single does) happens everywhere > > so, you need to extend "lfbd" and not use some own kerning feature > "leftbounds" which applyu it

Re: [NTG-context] fontfamily not loaded anymore

2018-12-09 Thread Pablo Rodriguez
ca Didot solved the problem. Sorry for the noise, Pablo > Pablo Rodriguez schrieb am 09.12.18 um 09:02: >> Dear list, >> >> I have the following source: >> >> \definefontfamily[mainface][rm][GFS Bodoni] >> \definefontfamily[mainface][hw][GFS Artemisia] &

<    7   8   9   10   11   12   13   14   15   16   >