Re: [NTG-context] issue with lpath

2022-08-04 Thread Pablo Rodriguez via ntg-context
On 8/4/22 17:32, Taco Hoekwater via ntg-context wrote: > [...] > PS This sort of confusing filtering is why I do most of my xml > processing from the lua end, where it is much clearer to me what is > what. Many thanks for clarifying the issue, Taco. BTW, according to the last slide from

Re: [NTG-context] issue with lpath

2022-08-04 Thread Pablo Rodriguez via ntg-context
On 8/4/22 12:22, Taco Hoekwater via ntg-context wrote: >> On 3 Aug 2022, at 15:54, Pablo Rodriguez via ntg-context >> wrote: >> BTW, is there any way to rephrase "{h3 + blockquote}" in proper Lua? > > I was wondering about that as well, and I really had no c

Re: [NTG-context] What exactly is lpath?

2022-08-03 Thread Pablo Rodriguez via ntg-context
On 8/3/22 16:39, Denis Maier via ntg-context wrote: > [...] > Just like Pablo, I'm from time to time reading through the xml-mkiv > manual, and I was just wondering if there other places where I can > other examples or explanations. (If it were a more general Lua thing > for example...) Hi

Re: [NTG-context] issue with lpath

2022-08-03 Thread Pablo Rodriguez via ntg-context
On 8/3/22 09:09, Taco Hoekwater via ntg-context wrote: >> On 2 Aug 2022, at 21:14, Pablo Rodriguez via ntg-context >> wrote: >> [...] >> I need an lpath to select the h3 node above, but only the one with "h3 + >> blockquote" as a CSS selector (which c

Re: [NTG-context] Forbid footnotes from splitting across pages

2022-08-03 Thread Pablo Rodriguez via ntg-context
On 8/3/22 03:05, Idris Samawi Hamid ادريس سماوي حامد via ntg-context wrote: > Dear gang, > > Objectives: > > i) Prevent footnotes from splitting across a page or pagebreak Dear Idris, I wonder whether a \framed[offset=none, frame=off, width=\textwidth] would make sense here. At least, it would

[NTG-context] issue with lpath

2022-08-02 Thread Pablo Rodriguez via ntg-context
Dear list, I have this sample: \startbuffer[demo] One Standard paragraph Quoted text Two Direct quote \stopbuffer \startxmlsetups xml:initialize \xmlsetsetup{#1} {p|blockquote} {xml:*}

Re: [NTG-context] debugging lmtx and firefox (was: TeXGyre Heros on Firefox)

2022-07-26 Thread Pablo Rodriguez via ntg-context
On 7/25/22 20:19, luigi scarso via ntg-context wrote: > On Mon, Jul 25, 2022 at 7:52 PM Pablo Rodriguez via ntg-context > wrote: > > Sadly, as already reported, LuaTeX doesn’t work on Linux anymore. > > hm at least luatex on x86-64 is still ok, as far as  I know. L

Re: [NTG-context] debugging lmtx and firefox (was: TeXGyre Heros on Firefox)

2022-07-25 Thread Pablo Rodriguez via ntg-context
On 7/25/22 14:00, juh+ntg-context--- via ntg-context wrote: > > I reported the bug to Mozilla and they answered very fast. > > Sadly up too now without a good solution. Many thanks for the bug report. > They hint to LuaMetaTex as the cause of the problem. You can follow the > discussion here. I

Re: [NTG-context] debugging lmtx and firefox (was: TeXGyre Heros on Firefox)

2022-07-22 Thread Pablo Rodriguez via ntg-context
On 7/22/22 12:37, juh+ntg-context--- via ntg-context wrote: > Dear all, > > the firefox pdf viewer has problems with at least two sans serif fonts. > [...] > > Where Libreoffice has type "Type 1", lmtx has "CID Type 0C". > > Where Libreoffice has encoding "Builtin", lmtx has "Identity-H". > > I

Re: [NTG-context] formula reference link undefined

2022-07-21 Thread Pablo Rodriguez via ntg-context
On 7/21/22 19:48, Alan via ntg-context wrote: > On Fri, 15 Jul 2022 09:10:07 +0200 > Hans Hagen via ntg-context wrote: > >> there will be an update as soon as the mac intel bins are generated > > (still broken) Sorry, Alan, but I get from

Re: [NTG-context] two issues with \sciteinlinebuffer

2022-07-09 Thread Pablo Rodriguez via ntg-context
On 7/9/22 08:42, Hans Hagen via ntg-context wrote: > On 7/8/2022 7:51 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Excuse my ignorance, but it is \sciteinlinebuffer the misbehaving >> command in my code. > \unexpanded\def\module_scite_buffer_inline[#1][#2

Re: [NTG-context] two issues with \sciteinlinebuffer

2022-07-08 Thread Pablo Rodriguez via ntg-context
On 7/7/22 23:30, Hans Hagen via ntg-context wrote: > On 7/7/2022 6:19 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> 1. Margin is applied to \sciteinlinebuffer. >> >> 2. An extra unwanted space is added after \sciteinlinebuffer. >> >> Isn’t it i

[NTG-context] two issues with \sciteinlinebuffer

2022-07-07 Thread Pablo Rodriguez via ntg-context
Hi Hans, many thanks for the new release. I experience two issues with scite buffers: \usemodule[scite] \setuptyping[margin=yes] \starttext \startbuffer[b]b\stopbuffer \startTEXpage[offset=1em] no margin a \sciteinlinebuffer[none][b] a a \typeinlinebuffer[b][option] a

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Pablo Rodriguez via ntg-context
On 6/30/22 18:10, Angel M Alganza via ntg-context wrote: > [...] > No, you aren't, and it almost does it, except when the fixed width > column is other than the first one, I'm afraid. Hi Ángel, there might be a way to get it, as long as you don’t define height directly, such as in: \starttext

Re: [NTG-context] Auto width and height on table cells

2022-06-30 Thread Pablo Rodriguez via ntg-context
On 6/30/22 09:46, Angel M Alganza via ntg-context wrote: > [...] > How about the auto row height? That'd be the only thing I'm missing. Hi Ángel, I’m not sure whether I’m totally missing your point, but I think this is a way that might achieve what you want: \starttext \showframe

[NTG-context] indent in \setuptyping

2022-06-29 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \showframe \setuppapersize[A8] \setuptyping [align={right,broad}, strip=yes, lines=yes, blank=halfline] \starttext \startXML content content content content content content content content

Re: [NTG-context] the system not working on Linux 32 with Context-lmtx

2022-06-27 Thread Pablo Rodriguez via ntg-context
On 6/27/22 20:00, Henning Hraban Ramm via ntg-context wrote: > Am 27.06.22 um 19:10 schrieb Alain Delmotte via ntg-context: >> […] >> When I run from the console: >> context sanstitre-2.tex >> mtxrun  | unknown script 'context.lua' or 'mtx-context.lua' >> […] >> What should I do? > […] >

Re: [NTG-context] not working "mtxrun --scripts cache --erase"

2022-06-27 Thread Pablo Rodriguez via ntg-context
On 6/27/22 11:35, Hans Hagen via ntg-context wrote: > On 6/27/2022 12:38 AM, Max Chernoff via ntg-context wrote: >>> I’m afraid that I have just found out that "mtxrun --scripts cache >>> --erase" doesn’t delete a single file from the cache. >> [...] >> If I change line 81 of >> >>    

[NTG-context] "mtxrun --scripts cache --erase" not working?

2022-06-26 Thread Pablo Rodriguez via ntg-context
Dear list, as reported some months ago (https://mailman.ntg.nl/pipermail/ntg-context/2022/105420.html), "mtxrun --scripts cache --erase" doesn’t erase the cache at all. Could anyone confirm this issue (which I experience on both Linux64 and Win64)? Many thanks for your help, Pablo

[NTG-context] headings in line numbering

2022-06-18 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuppapersize[A6] \definelinenote[otherlinenote] \setupnote[otherlinenote] [compress=yes] \startsetups[line:notes] \setupinterlinespace[line=2.9ex] \stopsetups \setupnote[linenote] [paragraph=yes, compress=yes,

Re: [NTG-context] \setuplist only for bodypart

2022-06-18 Thread Pablo Rodriguez via ntg-context
On 6/17/22 18:33, Wolfgang Schuster via ntg-context wrote: > [...] > To create separate styles for chapters within the frontmatter and > bodymatter you have to create a new section command where you can apply > different list settings. Many thanks for your reply, Wolfgang. Now I have learnt that

Re: [NTG-context] \setuplist only for bodypart

2022-06-17 Thread Pablo Rodriguez via ntg-context
On 6/16/22 22:36, Henning Hraban Ramm via ntg-context wrote: > Am 16.06.22 um 21:19 schrieb Pablo Rodriguez via ntg-context: > >>\startsectionblockenvironment[bodypart] >> ... >>\stopsectionblockenvironment > > This should work according to documentatio

[NTG-context] \setuplist only for bodypart

2022-06-16 Thread Pablo Rodriguez via ntg-context
Dear list, sorry for the very basic question, but I cannot find the way to do it. Imagine I have the following command: \setuplist [chapter] [alternative=d] But I only want for sectionblock bodypart (nof for frontpart, backpart or the appendices). I have enclosed in:

Re: [NTG-context] Typesetting modern Greek (UTF8) with ConTeXt

2022-06-08 Thread Pablo Rodriguez via ntg-context
On 6/8/22 16:38, Henning Hraban Ramm via ntg-context wrote: > Am 07.06.22 um 19:30 schrieb Pablo Rodriguez via ntg-context: >> On 6/7/22 18:32, Henning Hraban Ramm via ntg-context wrote: >>> [...] >>> AFAI understand, "el" should be modern greek (pos

Re: [NTG-context] Typesetting modern Greek (UTF8) with ConTeXt

2022-06-07 Thread Pablo Rodriguez via ntg-context
On 6/7/22 18:32, Henning Hraban Ramm via ntg-context wrote: > [...] > \installlanguage >[\s!gr] >[\s!patterns=\s!agr] % ok? > > \installlanguage [\s!greek] [\s!gr] > > So it seems that is wrong / incomplete. > > AFAI understand, "el" should be modern greek (post 1982, monotonic), > "grc"

Re: [NTG-context] Typesetting modern Greek (UTF8) with ConTeXt

2022-06-07 Thread Pablo Rodriguez via ntg-context
On 6/6/22 22:59, Henning Hraban Ramm via ntg-context wrote: > Am 06.06.22 um 19:14 schrieb Pablo Rodriguez via ntg-context: > >> \language[gr], but beware since it uses patterns for ancient Greek. > > That is documented in the manual languages-mkiv.pdf. This was news to me b

[NTG-context] pages with facing text

2022-06-06 Thread Pablo Rodriguez via ntg-context
Dear list, mixing the info that Wolfgang posted on this list some time ago (https://mailman.ntg.nl/pipermail/ntg-context/2016/087629.html), I tried to create a sample for facing pages with different streams: \showframe\showgrid\showstruts \starttext \startoutputstream[one]

Re: [NTG-context] Typesetting modern Greek (UTF8) with ConTeXt

2022-06-06 Thread Pablo Rodriguez via ntg-context
On 6/6/22 02:19, Gerben Wierda via ntg-context wrote: > For Russian I have: > > \setuplanguage[ru][patterns={ru}]\mainlanguage[ru] > \definefallbackfamily >   [archimate] >   [ss] >   [Helvetica] >   [preset=range:cyrillic, >    tf=style:light, >    it=style:lightoblique, >    bf=style:regular, >

Re: [NTG-context] \sciteinlinebuffer inherits margin properties

2022-06-04 Thread Pablo Rodriguez via ntg-context
On 6/4/22 16:13, Otared Kavian via ntg-context wrote: > Hi Pablo, > > Typesetting your two examples, I can reproduce on MacOS and Context > version 2022.05.11 11:36 what you are reporting. Many thanks for your help, Otared. Would you be so kind to confirm the first issue I reported earlier

[NTG-context] \sciteinlinebuffer inherits margin properties

2022-06-04 Thread Pablo Rodriguez via ntg-context
Dear list, I have my third sample with scite: \usemodule[scite] \setuptyping[margin=yes] \starttext \startbuffer[b]b\stopbuffer \startTEXpage[offset=1em] a \sciteinlinebuffer[none][b] a\par a \typeinlinebuffer[b][option] a \stopTEXpage \stoptext I’m on Linux64 and using

[NTG-context] extra space after \sciteinlinebuffer

2022-06-04 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample (running current latest from 2022.05.11 11:36 on Linux64): \usemodule[scite] \starttext \startbuffer[b]b\stopbuffer \startTEXpage[offset=1em] a \sciteinlinebuffer[none][b] a\par a \typeinlinebuffer[b][option] a \stopTEXpage \stoptext I get

[NTG-context] issue with scite module

2022-06-04 Thread Pablo Rodriguez via ntg-context
Dear list, I have this minimal sample (with current latest from 2022.05.11 11:36 on Linux64): \usemodule[scite] \starttext \startXML ñ\stopXML \stoptext Commenting out the first line avoids compilation error. Replacing ñ with n also allows compilation. I think there may be an error in

Re: [NTG-context] issue with scite module

2022-06-04 Thread Pablo Rodriguez via ntg-context
On 6/3/22 00:52, Max Chernoff via ntg-context wrote: >> For the sake of consistency (with buff-imp-xml.lua), I think the patch >> should read > > [...] >> +local alsoname = lpatterns.utf8two + lpatterns.utf8three + >> lpatterns.utf8four > > I think that that pattern is a little too broad,

Re: [NTG-context] issue with scite module

2022-06-02 Thread Pablo Rodriguez via ntg-context
On 6/2/22 17:36, Pablo Rodriguez via ntg-context wrote: > On 6/1/22 23:58, Max Chernoff via ntg-context wrote: >> >> local name = (R("az","AZ","09") + S("_-.") + >> lpeg.utfchartabletopattern(characters.csletters))^1 > > I’m

Re: [NTG-context] issue with scite module

2022-06-02 Thread Pablo Rodriguez via ntg-context
On 6/1/22 23:58, Max Chernoff via ntg-context wrote: >> Now, I still don’t understand LPEG and don’t know if there’s a general >> “character” class that doesn’t need a list... Many thanks for your reply, Hraban. > The easiest way that I found was to just cheat and use everything with > a TeX

Re: [NTG-context] issue with scite module

2022-06-01 Thread Pablo Rodriguez via ntg-context
On 6/1/22 18:58, Henning Hraban Ramm via ntg-context wrote: > Am 01.06.22 um 18:47 schrieb Pablo Rodriguez via ntg-context: >> [...] >> Could anyone confirm the issue? > > Hi Pablo, > > with LMTX version 2022.05.11, both elements are displayed, but the first &

[NTG-context] issue with scite module

2022-06-01 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \usemodule[scite] \starttext \startTEXpage[offset=1ex] \type[option=xml]{} \type[option=xml]{<áñß/>} \stopTEXpage \stoptext Using scite, I don’t get the second element right. Without scite, both elements are displayed right. In both Geany

Re: [NTG-context] stacking of marginals

2022-05-31 Thread Pablo Rodriguez via ntg-context
On 5/31/22 19:09, Henning Hraban Ramm via ntg-context wrote: > If you have many marginals, they tend to conflict. > > The option stack=yes should enhance the situation. > > I don’t expect wonders – if there’s not enough space, then ConTeXt can’t > solve it. But it used to work better, as I can see

[NTG-context] issue with compress in linenote

2022-05-31 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuppapersize[A6] \setuplinenumbering [width=margin, location=outer, align=middle] \setupnote[linenote] [paragraph=yes, compress=yes, compressmethod=separator] \setupnotation[linenote] [alternative=serried, width=broad]

[NTG-context] parallel page streams (pag-str.mkxl)

2022-05-28 Thread Pablo Rodriguez via ntg-context
Dear list, I have this sample: \starttext \input tufte \startoutputstream[es] \dorecurse{25} {\input cervantes-es\par\pushoutputstream} \enableoutputstream[en] \dorecurse{25} {\input zapf\par\pushoutputstream} \disableoutputstream \stopoutputstream

Re: [NTG-context] Issue with interactive checkboxes[solved]

2022-05-25 Thread Pablo Rodriguez via ntg-context
On 5/24/22 19:58, Henning Hraban Ramm via ntg-context wrote: > Am 24.05.22 um 18:43 schrieb Pablo Rodriguez via ntg-context: >> But what I experienced in Acrobat Reader DC (on a borrowed computer) is >> that you get the standard image (only when field is enabled) when you >

Re: [NTG-context] Issue with interactive checkboxes[solved]

2022-05-24 Thread Pablo Rodriguez via ntg-context
On 5/24/22 10:18, Jan-Erik Hägglöf via ntg-context wrote: > HI Again! > > I discovered what went wrong, such a silly syntax error, here comes a > working code: Hi Jan-Erik, this will also make it: \setupinteraction[state=start] \definesymbol [yes] [{\externalfigure[on.svg][conversion=mp]}]

Re: [NTG-context] Issue with interactive checkboxes

2022-05-23 Thread Pablo Rodriguez via ntg-context
On 5/23/22 13:11, Jan-Erik Hägglöf via ntg-context wrote: > HI! > > Tried to make a checklist in an interactive document. > > The problem seems to be that all checks/uncecks in same click, not each > individually. > > Is there something wrong with my code? Hi Jan-Erik, you basically put the same

Re: [NTG-context] ignore not closed tags in XML input

2022-05-21 Thread Pablo Rodriguez via ntg-context
On 5/19/22 17:33, juh via ntg-context wrote: > Dear Pablo, > > sorry for answering late as I am on holidays learning Spanish in > Salamanca. :-) Many thanks for your reply, Jan-Ulrich. I hope you are enjoying your experience in Spain. > Am Wed, May 18, 2022 at 06:00:20PM +020

Re: [NTG-context] ignore not closed tags in XML input

2022-05-21 Thread Pablo Rodriguez via ntg-context
On 5/19/22 00:09, Bruce Horrocks via ntg-context wrote: >> On 18 May 2022, at 17:00, Pablo Rodriguez via ntg-context wrote: >> Sorry for explaining myself so poorly. >> >> One of the not irrelevant tasks for me is finding examples of XML code. > > Perhaps you could st

Re: [NTG-context] ignore not closed tags in XML input

2022-05-21 Thread Pablo Rodriguez via ntg-context
On 5/18/22 19:14, Thangalin via ntg-context wrote: > Hey Pablo, > >> One of the not irrelevant tasks for me is finding examples of XML code. > > To clarify, XHTML documents /are/ XML documents. XHTML happens to use a > standardized set of XML element and attribute names. All XHTML examples > are

Re: [NTG-context] ignore not closed tags in XML input

2022-05-18 Thread Pablo Rodriguez via ntg-context
On 5/18/22 03:23, Thangalin via ntg-context wrote: > […] > I wanted to write an introduction on how to typeset XML sources with > ConTeXt (at least, in Spanish). > > See: > https://dave.autonoma.ca/blog/2020/04/11/project-gutenberg-projects/ > > It's English, but describes a fair amount of

Re: [NTG-context] ignore not closed tags in XML input

2022-05-17 Thread Pablo Rodriguez via ntg-context
On 5/16/22 20:13, Taco Hoekwater via ntg-context wrote: >> On 16 May 2022, at 18:50, Pablo Rodriguez via ntg-context >> wrote: >> [...] >> If I want to typeset the whole book >> (https://seumasjeltzz.github.io/LinguaeGraecaePerSeIllustrata/), I will >> have t

Re: [NTG-context] ignore not closed tags in XML input

2022-05-16 Thread Pablo Rodriguez via ntg-context
On 5/16/22 17:30, Hans van der Meer via ntg-context wrote: > Can't you use an editor with grep, searching for something like the > pattern ? Many thanks for your reply, dr. van der Meer. If I want to typeset the whole book (https://seumasjeltzz.github.io/LinguaeGraecaePerSeIllustrata/), I will

Re: [NTG-context] ignore not closed tags in XML input

2022-05-16 Thread Pablo Rodriguez via ntg-context
On 5/16/22 17:22, mf via ntg-context wrote: > See HTML-tidy, > > https://www.html-tidy.org/ > > it could help you pre-processing your HTML files. Hi Massi, the problem is that they aren’t my HTML files and that this is a very common error. I’m afraid that pre-processing could work for a few

[NTG-context] ignore not closed tags in XML input

2022-05-16 Thread Pablo Rodriguez via ntg-context
Dear list, I would like to feed https://seumasjeltzz.github.io/LinguaeGraecaePerSeIllustrata/001.html as XML input for ConTeXt. The problem is that (as many other XML files that I haven’t generated myself) some and tags aren’t closed, such as in: https://fonts/css?greek;

Re: [NTG-context] issue with two recently added PDF manuals

2022-05-15 Thread Pablo Rodriguez via ntg-context
On 5/15/22 15:34, Günter Kolousek via ntg-context wrote: > Same here! Günter, many thanks for your reply confirming the issue. Pablo ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] issue with two recently added PDF manuals

2022-05-15 Thread Pablo Rodriguez via ntg-context
On 5/15/22 10:48, Henning Hraban Ramm via ntg-context wrote: > Am 15.05.22 um 10:36 schrieb Pablo Rodriguez via ntg-context: >> I’m experiencing issues to open the following documents added in one of >> the recent latests. >> >>$ mupdf-gl onandon.pdf >>$ mu

[NTG-context] issue with two recently added PDF manuals

2022-05-15 Thread Pablo Rodriguez via ntg-context
Dear list, I’m experiencing issues to open the following documents added in one of the recent latests. Now I’m on Linux 64bit with current latest (2022.05.11 11:36) and mupdf-gl-1.20.0.rc1. $ mupdf-gl onandon.pdf error: cannot find startxref warning: trying to repair broken xref

[NTG-context] conditionals for font features

2022-05-13 Thread Pablo Rodriguez via ntg-context
Dear list, I wonder whether there is a conditional for font features similar to \doifelseitalic. \doifelsecurrentfonthasfeature checks whether the font supports an OpenType feature. \doifunknownfontfeature checks whether the font feature has been defined. It seems that \doifelsefontfeature

[NTG-context] check whether font feature is being used

2022-05-12 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupbodyfont[pagella] \definefontfeature[asc] [c2sc=yes, smcp=yes] \starttext \startTEXpage[offset=1em] text \doifelsecurrentfonthasfeature{asc} {yes}{no} \doifelsefontfeature{asc} {yes}{no} \doifunknownfontfeature{asc}

Re: [NTG-context] Custom type-imp file creating empty lines

2022-05-11 Thread Pablo Rodriguez via ntg-context
On 5/11/22 18:42, Alexandre Christe via ntg-context wrote: > Dear list, > > I've played a bit with a custom type-imp file (partly inspired from the > wiki https://wiki.contextgarden.net/Alegreya_Typescript > ). However, the file > I ended up with

Re: [NTG-context] Can I use language as a mode (set on the command line) and simplify this?

2022-05-11 Thread Pablo Rodriguez via ntg-context
On 5/11/22 18:09, Wolfgang Schuster via ntg-context wrote: > Pablo Rodriguez via ntg-context schrieb am 11.05.2022 um 17:57: >> AfaIk, there is not "--language" option from the command line. (This >> also makes sense to me.) > > \doifdocumentargument

Re: [NTG-context] \startXML vs \startPARSEDXML

2022-05-11 Thread Pablo Rodriguez via ntg-context
On 5/11/22 11:47, Denis Maier via ntg-context wrote: > Hi everyone, > > the wikipage on \starttyping > (https://wiki.contextgarden.net/Command/_starttyping > ) says there are > some dedicated commands, e.g. \startXML and \startPARSEDXML. How do

Re: [NTG-context] Can I use language as a mode (set on the command line) and simplify this?

2022-05-11 Thread Pablo Rodriguez via ntg-context
On 5/11/22 09:40, Gerben Wierda via ntg-context wrote: >> On 11 May 2022, at 08:59, Taco Hoekwater wrote: >> [...] >> The language settings trigger a system mode, see >> >> https://wiki.contextgarden.net/Modes#System_modes > > Thanks, but how do I influence this from the command line? Does it >

[NTG-context] \xmlpos and \xmldepth misbehave? (again)

2022-05-06 Thread Pablo Rodriguez via ntg-context
Dear list, I have the folloing sample: \startbuffer[text] first level second level third level third level second level third level third level second level third level third level \stopbuffer \startxmlsetups xml:text \xmlsetsetup{#1}{doc|s|ss}{xml:*}

[NTG-context] fatal error again in LMTX

2022-05-02 Thread Pablo Rodriguez via ntg-context
Hi Hans, as already reported (https://mailman.ntg.nl/pipermail/ntg-context/2022/105443.html), LMTX (from 2022.05.02 16:19) quits messaging only fatal error with such a sample: \starttext \startitemize \item one \stoptext I know that \stopitemize is missing above. But in real--world

[NTG-context] \doifnotdocumentargument in proper Lua

2022-04-29 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following command in one of my documents: \doifnotdocumentargument{no-metadata} {\ctxlua{document.transfer_metadata(document.main_file)}} Which would be the right way to write \doifnotdocumentargument in proper Lua? Many thanks for your help, Pablo

Re: [NTG-context] issue with framed texts

2022-04-25 Thread Pablo Rodriguez via ntg-context
On 4/24/22 21:13, Wolfgang Schuster via ntg-context wrote: > Pablo Rodriguez via ntg-context schrieb am 24.04.2022 um 20:56: >> [...] >> Using current LMTX (2022.04.20 19:18), I’m afraid no format from >> \setupframedtext is applied to the backcover framed text. >>

[NTG-context] issue with framed texts

2022-04-24 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \defineframedtext[backcover] \setupframedtext[backcover] [frame=off, offset=overlay, width=\textwidth] \starttext \startframedtext[backcover] \input zapf \stopframedtext \stoptext Using current LMTX (2022.04.20 19:18),

Re: [NTG-context] Need some hints to fix my standalon installation

2022-04-20 Thread Pablo Rodriguez via ntg-context
On 4/20/22 19:22, Christoph Hintermüller via ntg-context wrote: > > That's fine. As soon as post that update is ready for pulling I will > pull. > Till then i can wait. Hi Christoph, to check when there is a new release I use: curl -I https://lmtx.pragma-ade.com/install-lmtx/texmf-context.zip

Re: [NTG-context] Need some hints to fix my standalon installation

2022-04-20 Thread Pablo Rodriguez via ntg-context
On 4/20/22 12:34, Christoph Hintermüller via ntg-context wrote: > Hi > Have updated my standalone installation from one of the 2020 releases > to the latest one running > > ./first-setup.sh --context=latest --modules=all Hi Christoph, sorry for the obvious suggestion «post facto»: never update

Re: [NTG-context] xmlpos values doubled

2022-04-20 Thread Pablo Rodriguez via ntg-context
On 4/20/22 11:51, Ben Moon via ntg-context wrote: > Hello again, > > I wonder whether anyone has some thoughts to help with my problem? > Either why \xmlpos gives double values or alternatives to arrange my > table format? Hi Ben, I think that both \xmlpos and \xmldepth give weird results. With

Re: [NTG-context] embed source-file in pdf

2022-04-20 Thread Pablo Rodriguez via ntg-context
On 4/19/22 16:47, Heinrich Paeßens via ntg-context wrote: > Hi there > > just a quick question:  > > Is there a command or package to embed the source-file (*.tex) into the > resulting pdf-file, Hi Heinrich, I think this may be what you need: \setupinteraction[state=start]

Re: [NTG-context] placing (on) layers

2022-04-16 Thread Pablo Rodriguez via ntg-context
On 4/15/22 21:51, Henning Hraban Ramm via ntg-context wrote: > Hi again, > > I’m always struggling with putting stuff on layers, since these just > never start where I’d expect them to, and the offsets changed a few > times within the last years. > > Please explain how I should define a layer that

[NTG-context] to XMP info?

2022-04-16 Thread Pablo Rodriguez via ntg-context
Hi Hans, I need to access the document language using Poppler’s GObject introspection. Right now, the only way to do that would be to have (https://raw.githubusercontent.com/adobe/XMP-Toolkit-SDK/main/docs/XMPSpecificationPart1.pdf#search=dc:language) in the XMP metadata included in the PDF

Re: [NTG-context] $\sin \theta$ behave differently in metafun

2022-04-16 Thread Pablo Rodriguez via ntg-context
On 4/16/22 13:01, śrīrāma via ntg-context wrote: > Strangely, my attachments never make it to the list Sreeram, as you can check yourself, the list got your attachment (https://mailman.ntg.nl/pipermail/ntg-context/2022/105466.html). Just in case it might help, Pablo

Re: [NTG-context] new upload

2022-04-16 Thread Pablo Rodriguez via ntg-context
On 4/15/22 20:24, Hans Hagen via ntg-context wrote: > Hi, > > I uploaded a new lmtx. Apart from a experimental intersection feature in > the mp library (and metafun, more will be revealed when MS an I are okay > with it) there is not that much news. Many thanks for the new upload, Hans. I’m

Re: [NTG-context] fatal error in LMTX

2022-04-13 Thread Pablo Rodriguez via ntg-context
On 4/13/22 00:27, Bruce Horrocks via ntg-context wrote: >> On 12 Apr 2022, at 18:14, Pablo Rodriguez via ntg-context >> wrote: >> >> I wonder whether it would be possible that ConTeXt or LuaMeTaTeX could >> be more verbose about an opened environment that isn’t

Re: [NTG-context] fatal error in LMTX

2022-04-13 Thread Pablo Rodriguez via ntg-context
On 4/12/22 20:04, Otared Kavian via ntg-context wrote: > Hi Pablo, > > Your example works fine on my machine (MacOS 11.6.4) with LMTX > version 2022.04.11. Hi Otared, many thanks for your reply. The fatal error prevents an extra run, but it doesn’t prevent the PDF generation. In my original

[NTG-context] fatal error in LMTX

2022-04-12 Thread Pablo Rodriguez via ntg-context
Hi Hans, I have a minimal sample that triggers a fatal error in ConTeXt LMTX (current latest from 2022.04.11 19:27): \starttext \startfrontmatter \input zapf \stoptext This gives the following error message: mkiv lua stats > runtime: 0.386 seconds, 1 processed pages, 1 shipped

Re: [NTG-context] right item marks for associative questions?

2022-04-11 Thread Pablo Rodriguez via ntg-context
On 4/11/22 20:46, Damien Thiriet via ntg-context wrote: > [...] > I design it as a two-cells xtable with itemized lists inside. > How can I have the item mark on the right side? Hi Damien, I’m not sure I get your point, but this may be helpful: \startitem \inrightmargin{\currentitemnumber}

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-07 Thread Pablo Rodriguez via ntg-context
On 4/7/22 19:50, Thangalin via ntg-context wrote: > Appreciated, Pablo. >> The output remains unjustified: > > https://i.ibb.co/dM9LFWZ/future-human.png > > $ find /usr/share/fonts/ -name "*Emoj*" > /usr/share/fonts/emoji/OpenSansEmoji.otf Sorry, I gave you the wrong direction. The OTF version

Re: [NTG-context] not working "mtxrun --scripts cache --erase"

2022-04-07 Thread Pablo Rodriguez via ntg-context
On 4/6/22 17:11, Pablo Rodriguez via ntg-context wrote: > Dear list, > > I’m afraid that I have just found out that "mtxrun --scripts cache > --erase" doesn’t delete a single file from the cache. > [...] > I’m using current latest (2022.04.01 09:37) on Linux 64bit. I

[NTG-context] not working "mtxrun --scripts cache --erase"

2022-04-06 Thread Pablo Rodriguez via ntg-context
Dear list, I’m afraid that I have just found out that "mtxrun --scripts cache --erase" doesn’t delete a single file from the cache. Here is the output I get: $ mtxrun --scripts cache --erase mtx-cache | writable path: /context/tex/texmf-cache/ luametatex-cache/context/5fe67e0bf

[NTG-context] two requests for ConTeXt

2022-04-06 Thread Pablo Rodriguez via ntg-context
Hi Hans, I have a couple of suggestions to be added to a not so distant release The first one is to allow that ConTeXt LMTX also downloads the available modules. The second feature would be the addition of an "emoji" range for font fallbacks. Many thanks for your help, Pablo

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-05 Thread Pablo Rodriguez via ntg-context
On 4/5/22 03:16, Thangalin via ntg-context wrote: >> The font is too old, but the TTF version works just fine on both Linux >> and Windows. > > No dice with LMTX 2022.04.01 09:37 and the TTF file. Using the TTF, > the emojis don't appear, but the text is justified. Using the OTF, the > emojis

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-04 Thread Pablo Rodriguez via ntg-context
On 4/4/22 08:40, Henning Hraban Ramm via ntg-context wrote: > Am 04.04.22 um 01:21 schrieb Thangalin via ntg-context: >> [...] >> The .otf file is from: >> >> https://github.com/MorbZ/OpenSansEmoji > > That’s 9 years old. The linked resources were updated later and are > still outdated. There must

Re: [NTG-context] Switching fonts changes framedtext justification

2022-04-03 Thread Pablo Rodriguez via ntg-context
On 4/3/22 02:36, Thangalin via ntg-context wrote: > Hi all, > [...] > How would you ensure that both text areas remain fully justified? I think (at least) LMTX has an issue with the font: \definefontfamily [TextEmoji] [rm] [OpenSansEmoji] \setupbodyfont [TextEmoji] \starttext \input

Re: [NTG-context] mkiv

2022-04-02 Thread Pablo Rodriguez via ntg-context
On 4/2/22 09:40, Hans Hagen via ntg-context wrote: > [..] > and how about > > context --luatex --generate Many thanks for your reply, Hans. I’m afraid it doesn’t work. It still generates data under $HOME/.texlive2021/, but it tries to read data (to generate the format file) from

Re: [NTG-context] mkiv

2022-04-01 Thread Pablo Rodriguez via ntg-context
On 4/1/22 18:20, Hans Hagen via ntg-context wrote: > [...] > So, today is the day we kind of formally freeze MKIV. Just a comment on MkIV. I don’t remember exactly, but I’m afraid that "context --luatex document" hasn’t been working on my computers (either running Linux or Windows) for months

Re: [NTG-context] Breaking url into multiple lines results in broken link in rendered PDF

2022-03-31 Thread Pablo Rodriguez via ntg-context
On 3/30/22 19:35, A A via ntg-context wrote: > I would like to be able to break up URLs into multiple lines in my > bibliography source file and still get the link to work. I think this would work as you intend: \setupinteraction[state=start] \starttext \useURL[myUrl][https:% //www.%

Re: [NTG-context] Make footnote/endnote number not superscript?

2022-03-21 Thread Pablo Rodriguez via ntg-context
On 3/20/22 22:18, Rik Kabel via ntg-context wrote: > On 2022-03-20 17:07, Wolfgang Schuster via ntg-context wrote: >> [...] >> \setupnote[footnote][textcommand=] >> [...] > You might want to define a separate set of notes, for example, > linknotes, defined as Wolfgang suggests, so > [...] > You

Re: [NTG-context] zint module on LMTX

2022-03-17 Thread Pablo Rodriguez via ntg-context
On 3/16/22 22:32, Pablo Rodriguez via ntg-context wrote: > [...] > On Windows, I need to check the issue further. Using latest binary from SF (which is Win32, btw), I get the following error message: error (lmt library): unable to load 'D:/utilidades/context/tex/ texmf-win64/b

Re: [NTG-context] zint module on LMTX

2022-03-16 Thread Pablo Rodriguez via ntg-context
On 3/16/22 19:11, Adam Reviczky via ntg-context wrote: > Hi Pablo, > > If you use an older version of zint, maybe "isbn" instead of "isbnx" > would work. Hi Adam, I have just installed version 2.10. "isbn" works, but "isbnx" doesn’t. As already reported is an unrecognized option that is also

Re: [NTG-context] zint module on LMTX

2022-03-16 Thread Pablo Rodriguez via ntg-context
On 3/16/22 18:05, Hans Hagen via ntg-context wrote: > On 3/16/2022 5:37 PM, Pablo Rodriguez via ntg-context wrote: >> Dear list, >> >> using latest LMTX and following the steps from >> https://wiki.contextgarden.net/Barcodes#Zint_module, I’m afraid I don’t >>

[NTG-context] zint module on LMTX

2022-03-16 Thread Pablo Rodriguez via ntg-context
Dear list, using latest LMTX and following the steps from https://wiki.contextgarden.net/Barcodes#Zint_module, I’m afraid I don’t get any barcode either in Linux or Windows. Minimal sample: \starttext \usemodule[zint] \barcode[alternative=isbnx, text=9783865419026, width=4cm] \stoptext

Re: [NTG-context] paragraph notes located in text

2022-02-01 Thread Pablo Rodriguez via ntg-context
On 1/31/22 10:11 PM, Wolfgang Schuster via ntg-context wrote: > Pablo Rodriguez via ntg-context schrieb am 31.01.2022 um 19:49: >> Dear list, >> [...] >> Could anyone confirm that the is no way to get paragraph notes when >> location is text, or tell me what

Re: [NTG-context] doublesided margin page number

2022-01-31 Thread Pablo Rodriguez via ntg-context
On 1/31/22 7:19 PM, Pablo Rodriguez via ntg-context wrote: > On 1/24/22 2:28 AM, Youssef Cherem via ntg-context wrote: >> I've managed to put double-sided page numbers -- but numbers are >> restarting after two, though. What's going on? > > Hi Yousesef, ^ Sorry for

[NTG-context] paragraph notes located in text

2022-01-31 Thread Pablo Rodriguez via ntg-context
Dear list, with current latest (2022.01.21 20:13), I cannot get paragraph footnotes when located in text. Here you have the mandatory sample: \setuppapersize[A6] \showframe\showgrid %~ \setupnote[footnote][paragraph=yes] \setupnote[footnote][location=text, paragraph=yes]

Re: [NTG-context] doublesided margin page number

2022-01-31 Thread Pablo Rodriguez via ntg-context
On 1/24/22 2:28 AM, Youssef Cherem via ntg-context wrote: > I've managed to put double-sided page numbers -- but numbers are > restarting after two, though. What's going on? Hi Yousesef, I think this is related to how \setupbackgrounds is invoked. The following command works:

[NTG-context] three suggestions for the statistical-charts module

2022-01-17 Thread Pablo Rodriguez via ntg-context
Hi Tamara, Adriana and Tomáš, this is my first sample using statistical-charts (I attach the CSV file): \setupbodyfont[helvetica] \usemodule[statistical-charts] \starttext \setupframed[dotslabels][loffset=1.1cc, boffset=0.4cc] \linechart[basic][yscale=.25, xscale=1,

[NTG-context] no paragraph footnotes when located in text

2022-01-16 Thread Pablo Rodriguez via ntg-context
Dear list, using current latest (2022.01.15 17:32), I still experience an already reported issue (https://mailman.ntg.nl/pipermail/ntg-context/2022/104770.html): \setuppapersize[A6] \showframe\showgrid %~ \setupnote[footnote][paragraph=yes] \setupnote[footnote][location=text,

[NTG-context] (again) diferent prefixsegments for different references

2022-01-16 Thread Pablo Rodriguez via ntg-context
Dear list, I asked this some time ago (https://mailman.ntg.nl/pipermail/ntg-context/2021/102394.html). Using the following sample: \starttext \definereferenceformat[itsc][in] \setupreferencestructureprefix[itsc][default] [prefixsegments=section] \chapter{Chapter}

Re: [NTG-context] Get Current Section Number

2022-01-09 Thread Pablo Rodriguez via ntg-context
On 1/9/22 5:25 PM, Michael Urban via ntg-context wrote: > I want to put a book title above the Chapter title for the first > chapter of a book. I suppose that this can be accomplished with a > 'before=' clause that checks to see if it is the first chapter... but > how do I look at the chapter

  1   2   3   4   5   6   7   8   9   10   >