[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

Re: [NTG-context] Critical Editions?

2022-01-06 Thread Pablo Rodriguez via ntg-context
On 1/5/22 12:52 PM, hanneder--- via ntg-context wrote: > > Dear critical edition experts, > > the examples given in ConTeXt_Test_Footnote-ComplexMedieval.pdf and > the other posts are really answering my questions. Everything seems > to be already there and if there were a Wiki on critical

Re: [NTG-context] TEST criticus apparatus

2022-01-06 Thread Pablo Rodriguez via ntg-context
On 1/6/22 2:09 PM, Jean-Pierre Delange via ntg-context wrote: > I’ve tested the attached file on MacOS (High Sierra) . See the > result in PDF : the numbering of notes appears as « ? ». Jean-Pierre, your code contains "\start\fr" with no matching "\stop". I wonder whether "\startlanguage[fr]

Re: [NTG-context] Critical Editions?

2022-01-06 Thread Pablo Rodriguez via ntg-context
On 1/5/22 1:34 PM, Jean-Pierre Delange via ntg-context wrote: > Pablo and Luigi, > > Or simply add this paper to the bibliographical survey at the end of the > wiki page made by Thomas ? > > https://wiki.contextgarden.net/TEI_xml Jean-Pierre, excellent idea! Pablo

Re: [NTG-context] Critical Editions?

2022-01-06 Thread Pablo Rodriguez via ntg-context
On 1/5/22 6:39 PM, hanneder--- via ntg-context wrote: > Dear Jean-Pierre, > > I started preparing some examples, but first a quick question: Where > can I find out the exact behaviour of a command option like aNote. > > If you define a \cNote with \definelinenote[cNote][n=3] as in your > example,

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

2022-01-06 Thread Pablo Rodriguez via ntg-context
On 1/5/22 7:46 PM, Jean-Pierre Delange via ntg-context wrote: > AMHO, there is no text with dorecurse … Jean-Pierre, many thanks for your reply. The second line is the content of \dorecurse: \dorecurse{25} {a\footnote{b} } > Then the buffer is empty ! No on my computer. Have you

Re: [NTG-context] Critical Editions?

2022-01-05 Thread Pablo Rodriguez via ntg-context
On 1/5/22 9:43 AM, luigi scarso via ntg-context wrote: > [...] > quite old (2014),  but perhaps still interesting: > embedding of a tei-xml into a tagged pdf > https://www.guitex.org/home/images/ArsTeXnica/AT018/teitagged.pdf Luigi, if you allow me a comment (or even a suggestion), an English

[NTG-context] paragraph notes when located in text

2022-01-05 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuppapersize[A6] \showframe\showgrid \setupnote[footnote][paragraph=yes] %~ \setupnote[footnote][location=text, paragraph=yes] \setupnotation[footnote][alternative=serried, width=broad] \starttext \startbuffer

Re: [NTG-context] issue with \placenotes[linenote]

2022-01-05 Thread Pablo Rodriguez via ntg-context
On 1/4/22 5:09 PM, Hans Hagen via ntg-context wrote: > On 1/4/2022 2:23 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> I cannot compile it. ConTeXt complains about "\placenotes[linenote]" >> being undefined. >> > can you check with I’m afraid I

[NTG-context] issue with \placenotes[linenote]

2022-01-04 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setuplinenote[location=text, paragraph=yes] \starttext \startbuffer \startlinenumbering[step=3] \dorecurse{25} {a\linenote{b} } \stoplinenumbering \stopbuffer \getbuffer \placenotes[linenote] \stoptext I

Re: [NTG-context] Critical Editions?

2022-01-04 Thread Pablo Rodriguez via ntg-context
On 1/3/22 10:43 AM, hanneder--- via ntg-context wrote: > For the last two decades edmac and its further developments (now > reledmac) have become the standard for critical editions. In my > experience the basic requirements for typesetting critical editions > were and are: > > - footnotes have to

Re: [NTG-context] Critical Editions?

2022-01-04 Thread Pablo Rodriguez via ntg-context
On 12/21/21 10:50 AM, hanneder--- via ntg-context wrote: > > Details: > I was able to find the article "Ediciones críticas con ConTeXt" (is > this in use?) Hi Jürgen, if you mean http://www.ediciones-criticas.tk/pdf/criticas-context.pdf, this is outdated. I hope to update it in a not so distant

[NTG-context] tweaked font options in \definedfontfeature?

2022-01-01 Thread Pablo Rodriguez via ntg-context
Hans, I wonder whether it would be possible to add the options for tweaked fonts (or at least, xscale and yscale) to \definefontfeature. I think this might ease the use of scaled fonts (at least, in some documents). Many thanks for your awesome work and best wishes for 2022 to you and to all

Re: [NTG-context] LTR footnotes from RTL paragraph

2021-12-16 Thread Pablo Rodriguez via ntg-context
On 12/16/21 12:34 PM, Denis Maier via ntg-context wrote: > Ok, this works: > > \setupnote[footnote][align=l2r] > > Does that have any drawbacks? Hi Denis, I don’t think it may have (other than forgetting other options, such as hz or hanging). > Is it possible to change the text direction for

Re: [NTG-context] upload ... new feature

2021-12-10 Thread Pablo Rodriguez via ntg-context
On 12/10/21 6:37 PM, Hans Hagen via ntg-context wrote: > On 12/10/2021 6:04 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> I’m afraid I’m not getting anything different. >> [...] >> I wonder whether there has been an LMTX update or something else t

Re: [NTG-context] upload ... new feature

2021-12-10 Thread Pablo Rodriguez via ntg-context
On 12/10/21 11:46 AM, Hans Hagen via ntg-context wrote: > Hi, > > This time the lmtx upload has a (for some maybe) interesting new > features: runtime pdf encryption. > > context > --ownerpassword=foo >[--userpassword=bar] >[--permissions="see context --help --expert"] Many thanks for

Re: [NTG-context] xml processing errors after latest upgrade

2021-12-01 Thread Pablo Rodriguez via ntg-context
On 12/1/21 2:03 PM, Denis Maier via ntg-context wrote: > Sorry for spamming the list, but I was able to narrow it further down: > [...] > \setupinteraction > [state=start, >openaction=FitWidth] % comment this out to make it work > [...] > Can anyone confirm this? Hi Denis, I can confirm

[NTG-context] getting sha512 from text in buffer

2021-12-01 Thread Pablo Rodriguez via ntg-context
Dear list, I have this minimal sample: \ctxlua{require("util-sha")} \def\sha#1{% \ctxlua{context(utilities.sha2.hash512("#1"))}} \startbuffer[text] hola \stopbuffer \starttext \sha{hola} \sha{\typebuffer[text]} \stoptext How can I get that both commands get the same

[NTG-context] figure not added in current latest

2021-11-17 Thread Pablo Rodriguez via ntg-context
Hi Hans, I have the following sample: \setuppapersize[S6] \startbuffer[flag] \setuppapersize[S6] \starttext \startmakeup[page][align=center] \dontleavehmode \externalfigure[uk-flag.pdf][width=.8\textwidth] \stopmakeup \stoptext \stopbuffer \starttext

Re: [NTG-context] Emojis showing up in black instead of colours

2021-11-12 Thread Pablo Rodriguez via ntg-context
On 11/12/21 7:08 PM, Vincent Hennebert via ntg-context wrote: > Hi there, > > freshly upgraded LMTX installation. TwemojiMozilla.ttf downloaded from > GitHub [1]. > [...] > gives me pages of emojis, all black. According to what is described on > Stackexchange, I should be getting colours. Am I

Re: [NTG-context] issue importing metadata from PDF

2021-11-12 Thread Pablo Rodriguez via ntg-context
On 11/12/21 8:04 PM, Hans Hagen via ntg-context wrote: > On 11/12/2021 7:24 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> I’m afraid I don’t know how to extract the real information, I only >> get:>> >>table: 0x324279a3400 > > then you're doing

Re: [NTG-context] issue importing metadata from PDF

2021-11-12 Thread Pablo Rodriguez via ntg-context
On 11/12/21 7:14 PM, Hans Hagen via ntg-context wrote: > They are tables because in lua objects are like tables. Doesn't > > context(tostring(main_doc.Info.ModDate)) > > work? Many thanks for your reply, Hans. I’m afraid I don’t know how to extract the real information, I only get: table:

Re: [NTG-context] Problem with Google Font 'Vollkorn'

2021-11-12 Thread Pablo Rodriguez via ntg-context
On 11/12/21 6:23 PM, Michael Urban via ntg-context wrote: > I downloaded the Google free font ‘Vollkorn’ > (https://fonts.google.com/specimen/Vollkorn) into an appropriate directory > and ran > mtxrun --script font --reload Hi Michael, I would rather wipe out the cache and start again:

[NTG-context] issue importing metadata from PDF

2021-11-12 Thread Pablo Rodriguez via ntg-context
Hans, I have a PDF document (which I didn’t generate) and it contains the following objects: 1 0 obj << /Title 272 0 R /Producer 273 0 R /Creator 274 0 R /CreationDate 275 0 R /ModDate 275 0 R >> endobj 272 0 obj (This is an important title) endobj 273 0 obj

Re: [NTG-context] repeat layer recto pages

2021-11-10 Thread Pablo Rodriguez via ntg-context
On 11/9/21 11:12 PM, jbf via ntg-context wrote: > Muchas gracias Pablo, that was most helpful, and of course it works. > > The particular part that I was missing (there was already > alternative=doublesided in the preamble) of course was the > \startsectionblockenvironment[bodypart], so thanks for

Re: [NTG-context] repeat layer recto pages

2021-11-09 Thread Pablo Rodriguez via ntg-context
On 11/9/21 4:18 AM, jbf via ntg-context wrote: > I want a particular layer to repeat on recto pages only, but I don't > want this to happen in frontmatter, only in bodymatter. > > This is what I have done, just before the first chapter after > \startbodymatter (but unsuccessfully; the layer

Re: [NTG-context] on luatex.wrapup

2021-11-08 Thread Pablo Rodriguez via ntg-context
On 11/8/21 8:28 AM, Hans Hagen via ntg-context wrote: > On 11/7/2021 11:18 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Is there no way to have a luatex.final_wrapup, when no other run will >> take place? > > a run doesn't know it's the last one, on

[NTG-context] on luatex.wrapup

2021-11-07 Thread Pablo Rodriguez via ntg-context
Hi Hans, I would like to use luatex.wrapup to remove media files that I don’t need anymore once the PDF document is generated. I have realized that luatex.wrapup works at the very end of the PDF generation, but in each run. Is there no way to have a luatex.final_wrapup, when no other run will

Re: [NTG-context] escape io.fileseparator in Windows

2021-11-04 Thread Pablo Rodriguez via ntg-context
On 11/3/21 9:55 PM, Hans Hagen via ntg-context wrote: > On 11/3/2021 7:49 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> How can I get the io.fileseparator or escape the backslash in >> main_filename_win above? > (there are helpers for splitting names and combining

[NTG-context] escape io.fileseparator in Windows

2021-11-03 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \startluacode main_file = document.files[1] if file.pathpart(main_file) == "" then main_filename = file.nameonly(main_file) main_filename_win = main_filename else main_filename =

Re: [NTG-context] check installed program using Lua

2021-11-02 Thread Pablo Rodriguez via ntg-context
On 11/1/21 5:13 PM, Hans Hagen via ntg-context wrote: > On 11/1/2021 2:26 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> Is there a way to wrap os.exec() in the sample so that it only runs if >> "dir" is available? >> >> I know that os.name would

Re: [NTG-context] check installed program using Lua

2021-11-02 Thread Pablo Rodriguez via ntg-context
On 11/1/21 3:10 PM, Taco Hoekwater via ntg-context wrote: >> [...] >> Is there a way to wrap os.exec() in the sample so that it only runs if >> "dir" is available? > > if os.which(‘dir’) then > ... > end > > But note that os.which() may be unreliable in various cases (like it > will fail for

[NTG-context] check installed program using Lua

2021-11-01 Thread Pablo Rodriguez via ntg-context
Dear list, is there a way if a program is installed on the computer using Lua. I have the following sample: \starttext \startluacode filename = tex.jobname .. ".pdf" os.exec("dir " .. filename) \stopluacode \stoptext Is there a way to wrap os.exec() in the sample so that it only

Re: [NTG-context] getting number from context.figurewidth

2021-10-28 Thread Pablo Rodriguez via ntg-context
On 10/27/21 10:06 PM, Hans Hagen via ntg-context wrote: > On 10/27/2021 9:20 PM, Pablo Rodriguez via ntg-context wrote: >> On 10/26/21 6:31 PM, Pablo Rodriguez via ntg-context wrote: >>> [...] >>loader_times:write('.box placeholder width=' .. context.figurewi

Re: [NTG-context] getting number from context.figurewidth

2021-10-27 Thread Pablo Rodriguez via ntg-context
On 10/26/21 6:31 PM, Pablo Rodriguez via ntg-context wrote: > [...] > Is there a way that I can get a number from context.figureheight, such > as I get it from tex.dimen.paperheight? Sorry for insisting, I need it for a Lua script that in the relevant line reads: loader_times:wr

Re: [NTG-context] XML-processing: Error with hyphenatedurl

2021-10-27 Thread Pablo Rodriguez via ntg-context
On 10/27/21 5:37 PM, Denis Maier via ntg-context wrote: > [...] > Oh, actually that leads to a similar problem as in my original > question where Wolfgang suggested using \expandUx: if the URL is > broken across lines, the link content is also broken. Interestingly, > the plain> > \startxmlsetups

Re: [NTG-context] XML-processing: Error with hyphenatedurl

2021-10-27 Thread Pablo Rodriguez via ntg-context
On 10/27/21 3:03 PM, Denis Maier via ntg-context wrote: > [...] > I’ve receiving errors that seem to be related to hyphenatedurl. The > problem is I cannot really reproduce it in a MWE. The example below > works, but if I include the link in my real document, I’am getting this > error message

[NTG-context] getting number from context.figurewidth

2021-10-26 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \startluacode document.sample = "xml-mkiv.pdf" context.getfiguredimensions({ document.sample }) context(context.figureheight) context.par() context(tex.dimen.paperheight) \stopluacode \stoptext Is there a way that I

Re: [NTG-context] Failure to compile with new date code

2021-10-25 Thread Pablo Rodriguez via ntg-context
On 10/25/21 4:45 PM, Rik Kabel via ntg-context wrote: > Hello all, > > The example below continues to work with MkIV, but now fails with the > most recent (ConTeXt  ver: 2021.10.24 21:45) LMTX: > > \define\DraftOf   {Draft of \date} > \setupinteraction [date={\DraftOf}] Hi Rik,

Re: [NTG-context] My setup almost works

2021-10-23 Thread Pablo Rodriguez via ntg-context
On 10/23/21 6:09 PM, Gerben Wierda wrote: > [...] Replying a private to the list, since it could be useful for (future?) reference. > This works, except: > - Parts are not mentioned in the table of contents. If I use > \completecontent, I do not get the abstracts Well, don’t use

<    1   2   3   4   5   6   7   8   9   10   >