[NTG-context] Index formatting difference LMTX and MkIV

2020-08-26 Thread Rik Kabel
Hello list, I have an index which uses multilevel indexing (a+b+c) to insert entries which contain snips of text. LMTX behaves differently from MkIV when trimming that text, resulting in line wrapping which does not happen with MKiV. I am not sure when this began -- I just picked up work

[NTG-context] \setupbackend in MkIV

2020-05-25 Thread Rik Kabel
I cannot get a PDF/A document produced with the latest MkIV beta 2020.05.18 16:46 (LMTX works without issue). Using the example from the wiki (https://wiki.contextgarden.net/PDF/A) I get the error stating: ... \p_file {\backendparameter {xmpfile}}\ifempty    

Re: [NTG-context] How to define a font with an effect as a font with \definefont

2020-05-23 Thread Rik Kabel
On 5/23/2020 15:50, Gerben Wierda wrote: On 23 May 2020, at 20:06, Wolfgang Schuster > wrote: Pablo Rodriguez schrieb am 23.05.2020 um 20:02: On 5/23/20 11:52 AM, Gerben Wierda wrote: [] Actually, my setup is Optima with Helvetica used for

Re: [NTG-context] Getting width of text to be typeset

2020-05-23 Thread Rik Kabel
On 5/22/2020 19:49, Rik Kabel wrote: If the OP simply wants the width of a string, one can use \setwidthof#1\to#2. \define\String{pqrs} \setwidthof{\String}\to\Wdth \String\ is \Wdth\ wide. \setwidthof{{\tfb\em\String}}\to\Wdth {\tfb\em\String} is \Wdth\ wide. I do

Re: [NTG-context] Getting width of text to be typeset

2020-05-22 Thread Rik Kabel
On 5/22/2020 18:18, Hans Hagen wrote: On 5/23/2020 12:03 AM, Hans Hagen wrote: On 5/22/2020 11:22 AM, cont...@vivaldi.net wrote: Hello, is it possible to get somehow the width of the "material" (box?) of the current line which is "ready" to be typeset? See the case: \starttext   

Re: [NTG-context] output file name query

2020-05-22 Thread Rik Kabel
On 5/22/2020 11:39, Henning Hraban Ramm wrote: Am 22.05.2020 um 15:09 schrieb Wolfgang Schuster : Alan Bowen schrieb am 22.05.2020 um 14:33: In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file in each

Re: [NTG-context] LMTX not working in Windows 10

2020-05-19 Thread Rik Kabel
On 5/19/2020 12:12, Pablo Rodriguez wrote: On 5/19/20 5:55 PM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 19.05.2020 um 16:42: [...] I’m getting exactly the same error on Windows (x64). Where could we get the latest binary? You can download the binary from the following link but

Re: [NTG-context] left protruding quotations

2020-05-14 Thread Rik Kabel
On 5/14/2020 11:21, Wolfgang Schuster wrote: Michael Guravage schrieb am 14.05.2020 um 10:37: When I start a paragraph with a \quote or a \quotation the left quotemark does not protrude, but when I use Unicode quotes it does. I would prefer to use the commands. Any suggestions on how I can

Re: [NTG-context] error during the installation of luametatex

2020-05-09 Thread Rik Kabel
the years.  Hello to Otared and Luigi with whom I  was in contact many years ago at the time of MKII . I also installed the same LMTX Context release on the Linux Subsystem for  Microsoft Windows 10 and on different versions of Arch Linux. with the same excellent results. Thanks agai

Re: [NTG-context] error during the installation of luametatex

2020-05-09 Thread Rik Kabel
On 5/9/2020 09:33, Hans Hagen wrote: On 5/9/2020 3:27 PM, Rik Kabel wrote: On 5/9/2020 02:52, Hans Hagen wrote: looks like a wrong binary .. should be 2.06.02 .. can you try this binary: http://dl.contextgarden.net/build/luametatex/x86_64-darwin/ (the farm generates two binaries for osx

Re: [NTG-context] error during the installation of luametatex

2020-05-09 Thread Rik Kabel
On 5/9/2020 02:52, Hans Hagen wrote: looks like a wrong binary .. should be 2.06.02 .. can you try this binary: http://dl.contextgarden.net/build/luametatex/x86_64-darwin/ (the farm generates two binaries for osx and it looks like the legacy machine has gone off line which happens when osx

Re: [NTG-context] how to interrupt doublesided in particular instance

2020-05-06 Thread Rik Kabel
On 5/6/2020 00:54, jbf wrote: So simple, Wolfgang. Thanks. I had got close amid all the varieties I was trying out to achieve the same result. Perhaps my closest was: \setuphead[chapter][pagebreak=chapterverso], but it couldn't quite cut it! Julian On 6/5/20 1:57 pm, Wolfgang Schuster

Re: [NTG-context] Three-deep itemize fails on LMTX

2020-05-04 Thread Rik Kabel
On 5/4/2020 17:13, Wolfgang Schuster wrote: Rik Kabel schrieb am 04.05.2020 um 23:07: List, The following example works with MkIV latest, but fails with LMTX latest (Win10 x64). The complaint is ! Missing math style, treated as \displaystyle. \starttext   \startitemize

[NTG-context] Three-deep itemize fails on LMTX

2020-05-04 Thread Rik Kabel
List, The following example works with MkIV latest, but fails with LMTX latest (Win10 x64). The complaint is ! Missing math style, treated as \displaystyle. \starttext   \startitemize   \item     Level 1 first     \startitemize     \item   Level 2 first

[NTG-context] LMTX rollback?

2020-04-27 Thread Rik Kabel
My update script reports: 2020-04-27T12:40:53  ConTeXt updated from 2020.04.19T19:43 to 2020.04.26T19:59 2020-04-27T12:40:53  LuaMetaTeX updated from 2.05.02 to 2.05.01 2020-04-27T12:40:53  LuaMetaTeX functionality updated from 20200413 to 20200402 Is this an intentional rollback

Re: [NTG-context] Hyphentation/Linebreak after x characters

2020-04-23 Thread Rik Kabel
On 4/23/2020 17:50, Wolfgang Schuster wrote: Benjamin Buchmuller schrieb am 23.04.2020 um 23:16: Hi Rik, Thanks for the fast reply! Your example works indeed nicely. However, within this solution my problem has shifted now (fully) towards breaking after the same number of characters, which

Re: [NTG-context] Hyphentation/Linebreak after x characters inside \WORD?

2020-04-23 Thread Rik Kabel
On 4/23/2020 15:01, Benjamin Buchmuller wrote: Sorry, I have just realized that the problem might not be \WORD{} actually, so this one hyphenates: \define[2]\mycommand{ \startxrow \startxcell o#1 \stopxcell \startxcell \tt\WORD #2 \stopxcell \stopxrow }

Re: [NTG-context] unwanted with epub

2020-03-04 Thread Rik Kabel
On 3/3/2020 16:51, Hans van der Meer wrote: In producing epub s are appearing (on the -raw.xml file) that are unwanted and seem spurious to me. For example aftersome macro's. Can someone tell me what triggers a ? In the pdf output such breaks are absent. dr. Hans van der Meer There are many

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Rik Kabel
Instructions for creating the .epub from the export are contained in the log file. On 3/3/2020 15:58, Hans van der Meer wrote: I followed your advice and added the setup: You need \setupbackend[export=yes] in your document. This, however, does not result in an .epub file but an export

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-13 Thread Rik Kabel
On 2/13/2020 03:56, Hans Hagen wrote: On 2/13/2020 12:45 AM, Rik Kabel wrote: Perhaps there is something in the difference between annotations and attachments that results in different treatments by the various viewers. it has always been that messy; there's also the annotation symbol

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-12 Thread Rik Kabel
Following up on my viewer observations, I downloaded Evince for Windows version 2.32 and see something that might be meaningful. Evince has a side-panel with a drop-down for selecting Thumbnails, Index, Attachments, Layers, or Annotations. Those that are not present in the document are greyed

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-12 Thread Rik Kabel
On 2/12/2020 14:20, Pablo Rodriguez wrote: On 2/8/20 10:13 PM, Rik Kabel wrote: Not quite ready yet. When the hidden method is used, it passes the online validator[1], but fails VeraPDF[2] for clause 6.8-1. When visible, it fails the online validator stating that the appearance dictionary

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-08 Thread Rik Kabel
On 2/8/2020 12:32, Pablo Rodriguez wrote: On 2/8/20 1:45 PM, Peter Rolf wrote: [...] I attached the current code, so you and Rik are able to test it if you want (creating a new format is required). Best contact me off-list if you run into new problems. Hi Peter, the new version is fine for

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-07 Thread Rik Kabel
On 2/7/2020 14:46, Pablo Rodriguez wrote: many thanks for having fixed the issues with attachments (in latest beta from 2020.02.07 18:36). I haven’t tested attachments with PDF/A-3a. PDF/A-3a attachments still fail validation with the same issues. -- Rik

Re: [NTG-context] Epub export css buglets

2020-01-17 Thread Rik Kabel
On 1/10/2020 10:59, Rik Kabel wrote: Here ya go, about as minimal as I can imagine: \setupbackend [export=yes] \setupexport [] \starttext ! \stoptext and in the resulting export styles directory, I get: g:\yoiks-export\styles>grep "namespace\|weight.*ital

Re: [NTG-context] Keep photographer in one line in a caption

2020-01-11 Thread Rik Kabel
On 1/11/2020 14:31, Henning Hraban Ramm wrote: Yet another small problem: I my photo captions, the photographer should be right aligned and in one line, i.e. if it doesn’t fit into the last line of the caption, it should move to the next line. ATM I’m clueless... That’s not enough (also not a

Re: [NTG-context] fancy chapter setup

2020-01-11 Thread Rik Kabel
pter[reference={cha:more},   title={more stuff}]   [lettrine=yes] ... \stopchapter -- Rik Kabel ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Epub export css buglets

2020-01-10 Thread Rik Kabel
On 1/9/2020 11:25, Hans Hagen wrote: On 1/6/2020 7:08 PM, Rik Kabel wrote: A couple of small issues with the css for epub output. First, back-exp.lua creates, in \jobname-styles.css     @namespace context url('%namespace%') ; This should probably be:     @namespace context url('http

[NTG-context] Epub export css buglets

2020-01-06 Thread Rik Kabel
A couple of small issues with the css for epub output. First, back-exp.lua creates, in \jobname-styles.css @namespace context url('%namespace%') ; This should probably be: @namespace context url('http://www.pragma-ade.com/context/export') ; That file also has: document,

Re: [NTG-context] issues with attachments

2019-12-26 Thread Rik Kabel
On 12/18/2019 11:32, Pablo Rodriguez wrote: Hi Hans, I accidentally discovered that file attachment generates two entries in Acrobat, such as this sample: \setuppapersize[A5] \showframe \setupinteraction[state=start] \setupinteractionscreen[option=attachment]

Re: [NTG-context] Adjust kern for one character

2019-12-26 Thread Rik Kabel
On 12/26/2019 08:40, Hans Hagen wrote: On 12/26/2019 1:41 PM, Rik Kabel wrote: Okay, I have progressed further but have run into something (else) I cannot understand. Consider the following example:     \definefontfeature   [myserif] [mode=node,kern=yes,xkern=yes]     \definefontfeature

Re: [NTG-context] Adjust kern for one character

2019-12-26 Thread Rik Kabel
On 12/23/2019 18:45, Rik Kabel wrote: On 12/22/2019 21:34, Henri Menke wrote: On 12/23/19 3:33 PM, Henri Menke wrote: On 12/23/19 2:30 PM, Rik Kabel wrote: On 12/22/2019 17:40, mf wrote: Il 22/12/19 22:19, Rik Kabel ha scritto: List, Is there a way in ConTeXt to adjust the left-side

Re: [NTG-context] Adjust kern for one character

2019-12-23 Thread Rik Kabel
On 12/22/2019 21:34, Henri Menke wrote: On 12/23/19 3:33 PM, Henri Menke wrote: On 12/23/19 2:30 PM, Rik Kabel wrote: On 12/22/2019 17:40, mf wrote: Il 22/12/19 22:19, Rik Kabel ha scritto: List, Is there a way in ConTeXt to adjust the left-side kern for one character? The cap J

Re: [NTG-context] Adjust kern for one character

2019-12-22 Thread Rik Kabel
On 12/22/2019 17:40, mf wrote: Il 22/12/19 22:19, Rik Kabel ha scritto: List, Is there a way in ConTeXt to adjust the left-side kern for one character? The cap J in the font I am using is being set too close to the preceding characters and I would rather not insert a thinspace before each

[NTG-context] Adjust kern for one character

2019-12-22 Thread Rik Kabel
List, Is there a way in ConTeXt to adjust the left-side kern for one character? The cap J in the font I am using is being set too close to the preceding characters and I would rather not insert a thinspace before each. (Inserting a thinspace is sufficient, but finer control is welcome.) --

Re: [NTG-context] Disappearing font feature

2019-12-22 Thread Rik Kabel
On 12/22/2019 06:08, Hans Hagen wrote: btw, this happens often, like with oldstyle, the wished default is the hard coded default so one has to enable/disable now, what you miss is that you define a font without applying any features ... Thank you, Hans, I see now that SS01 reverses the

[NTG-context] Disappearing font feature

2019-12-21 Thread Rik Kabel
List, I have a strange case of a font feature disappearing when many fonts are used. In creating a sampler for the Jost* font (free at https://indestructibletype.com/Jost.html) and using its feature ss01 to get single-storey lower-case a, the font reverts to the default two-storey a when

[NTG-context] blank[\lineheight] works with LMTX, fails with MkIV

2019-12-20 Thread Rik Kabel
MkIV fails with tex error > tex error on line 3 in file c://Users/micro/Desktop/fail.tex: ! Missing \endcsname inserted given the following mwe: \starttext a \blank[\lineheight] z \stoptext Not critical as there are lots of ways to do this, but it seems strange that

Re: [NTG-context] LMTX Tagging and overlay

2019-12-16 Thread Rik Kabel
Fixed in 20191216 update. Thank you. -- Rik ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Rik Kabel
Tested with 20191212 and 20191215, still not working. Is anyone else been able to confirm the issue? -- Rik On 12/10/2019 23:36, Rik Kabel wrote: Dear list, With the example below (perhaps not minimal, but I have stripped out as much as I could), the second page is set completely

Re: [NTG-context] Ebooks with ConTeXt?

2019-12-11 Thread Rik Kabel
On 12/11/2019 10:45, Henning Hraban Ramm wrote: Am 2019-12-11 um 16:17 schrieb Rik Kabel : On 12/11/2019 01:10, Jan U. Hasecke wrote: Ebooks are xhtml so styles are limited to the capabilities of css. I fear that initials has to be left flowing images. Sorry, but if I understand what you

Re: [NTG-context] Ebooks with ConTeXt?

2019-12-11 Thread Rik Kabel
On 12/11/2019 01:10, Jan U. Hasecke wrote: Ebooks are xhtml so styles are limited to the capabilities of css. I fear that initials has to be left flowing images. Sorry, but if I understand what you mean by initials, that is not the case. Consider .lettrine>p::first-letter {    

[NTG-context] LMTXL Tagging and overlay

2019-12-10 Thread Rik Kabel
Dear list, With the example below (perhaps not minimal, but I have stripped out as much as I could), the second page is set completely in the color of the overlay. This also happens when a layer is used instead of an overlay. When tagging is turned off, the colors are what they should be.

Re: [NTG-context] Filling a page with \thinrules

2019-12-07 Thread Rik Kabel
2019, at 03:49, Rik Kabel wrote: On 12/6/2019 17:50, Otared Kavian wrote: Hi all, I am preparing a test for my students where I would like to have the statement of the problem on the top of a page and the remainder to the bottom of that page filled with \thinrules, for them to write the solution

Re: [NTG-context] Filling a page with \thinrules

2019-12-06 Thread Rik Kabel
On 12/6/2019 17:50, Otared Kavian wrote: Hi all, I am preparing a test for my students where I would like to have the statement of the problem on the top of a page and the remainder to the bottom of that page filled with \thinrules, for them to write the solution. And sometimes there might

[NTG-context] PDF/A-3a attachment support query

2019-12-05 Thread Rik Kabel
plain text files. I also tested with verapdf, and it also rejected the document with an attachment. Is this my error, or is it not yet supported? -- Rik Kabel ___ If your question is of interest to others as

Re: [NTG-context] MKIV: error, no format found with name: cont-en, aborting

2019-11-14 Thread Rik Kabel
This issue has been resolved with a new luatex dll in the Win64 bin directory (perhaps elsewhere as well, but I only have Win64). Thank you to all who worked on it. -- Rik ___ If your question is of interest to

Re: [NTG-context] MKIV: error, no format found with name: cont-en, aborting

2019-11-13 Thread Rik Kabel
On 11/13/2019 11:14, Hans Hagen wrote: On 11/13/2019 4:54 PM, Rik Kabel wrote: On 11/13/2019 10:15, Hans Hagen wrote: On 11/13/2019 3:01 PM, Rik Kabel wrote: On 11/13/2019 04:14, Hans Hagen wrote: On 11/13/2019 9:51 AM, luigi scarso wrote: sent from ** cont...@rik.users.panix.com

Re: [NTG-context] MKIV: error, no format found with name: cont-en, aborting

2019-11-13 Thread Rik Kabel
On 11/13/2019 10:15, Hans Hagen wrote: On 11/13/2019 3:01 PM, Rik Kabel wrote: On 11/13/2019 04:14, Hans Hagen wrote: On 11/13/2019 9:51 AM, luigi scarso wrote: sent from ** cont...@rik.users.panix.com <mailto:cont...@rik.users.panix.com> Note from admin: the email is in defer

Re: [NTG-context] MKIV: error, no format found with name: cont-en, aborting

2019-11-13 Thread Rik Kabel
On 11/13/2019 04:14, Hans Hagen wrote: On 11/13/2019 9:51 AM, luigi scarso wrote: sent from ** cont...@rik.users.panix.com Note from admin: the email is in defer state because "Message body is too big: 159549 bytes with a limit of 100 KB" I have kept

Re: [NTG-context] How to sort list of sections?

2019-11-08 Thread Rik Kabel
On 11/7/2019 16:22, jdh wrote: I get no difference using criterium=previous versus criterium=local. Try this extended example to see the difference:  \setuphead[section][number=no]  \starttext  \startchapter[title=foo]   \placelist[section][criterium=local,order=title]

Re: [NTG-context] LMTX issue with multple question blocks

2019-11-07 Thread Rik Kabel
On 11/7/2019 11:06, Hans Hagen wrote: On 11/7/2019 3:50 PM, Jan Willem Flamma wrote: Dear list members, The below MWE runs fine and generates a usable PDF. If I uncomment the second question block and run the MWE on a OS X system it generates an unusable PDF and a nearly empty log file:

[NTG-context] Fails with MkIV works with LMTX

2019-10-28 Thread Rik Kabel
This works with the 20191028 LMTX beta, fails with the 20191028 MkIV beta: \starttext This\footnote{that} \stoptext Error log: return {  ["filename"]="c:/Users/micro/Desktop/fn.tex",  ["lastcontext"]="\n ...s \\inheritmaintextcolor \\strc_itemgroups_push \n

Re: [NTG-context] Printing catchword or kustode

2019-10-07 Thread Rik Kabel
On 8/10/2019 10:14, Hans Hagen wrote: On 8/10/2019 2:25 PM, Jan Ulrich Hasecke wrote: Hi all, Visiting a museum in Straßburg I saw an old book from Gutenbergs times where the first word of the next page was printed below the last line of the current page. The word, sometimes only a

Re: [NTG-context] Place footnote after reference

2019-07-22 Thread Rik Kabel
On 7/22/2019 12:34, Huseyin Özoguz wrote: Hi, But I admit that I do not understand the problem all that well. I have never run into a situation where I want the footnote to explicitly *not* appear with its reference (except in endnotes). If my grid settings were that specific, I would be

[NTG-context] Endnote list difference, MKIV and LMTX

2019-04-11 Thread Rik Kabel
List, With the following example, endnotes are set differently with MKIV and LMTX – incorrectly under LMTX. (MKIV 20190404, LMTX 20190411) The problem disappears if /either//or both/ of the first two lines are removed, but of course those usually serve an important purpose.

[NTG-context] Referencing the page on which an endnote was generated

2019-04-09 Thread Rik Kabel
List, I would like to create headings for the endnotes appendix chapter of a book with headings like "Notes for pages x–y" but can find no way to capture x and y. Is there a way to get those page numbers to insert into the header? -- Rik

Re: [NTG-context] endnotes customizing how?

2019-04-09 Thread Rik Kabel
On 4/9/2019 11:19, Hans van der Meer wrote: In typesetting my endnotes with \placenotes[endnote] I seem unable to unfluence the text characteristics. I tried things like (1) \setupnotes[endnote][textcolor=blue] (2) changed fonts before the \ bgroup\bf\placenote\egroup call (3)

[NTG-context] Layer failure with LMTX

2019-04-07 Thread Rik Kabel
List, The following example works as expected with MKIV but fails for me with LMTX. \setuppapersize[A7] \setuppagenumbering [location=] \definelayer [pageNumber][ x=\dimexpr\pagewidth-\cutspace\relax, y=\topspace,

Re: [NTG-context] Search path for typescripts

2019-03-01 Thread Rik Kabel
On 2/28/2019 22:42, Aditya Mahajan wrote: On Thu, 28 Feb 2019, Rik Kabel wrote: List, What is the proper place to put a custom typescript file to make it accessible to multiple projects? For testing I placed copies in" 1)  the local directory 2)  /texmf/fonts 3)  /tex/texmf-local/

[NTG-context] Search path for typescripts

2019-02-28 Thread Rik Kabel
List, What is the proper place to put a custom typescript file to make it accessible to multiple projects? For testing I placed copies in" 1) the local directory 2) /texmf/fonts 3) /tex/texmf-local/fonts/ A standard version (uncustomized) exists as part of the distribution in: 4)

Re: [NTG-context] Output problem with nodes.toutf utility function (latest beta 02.26.2019)

2019-02-27 Thread Rik Kabel
On 2/27/2019 11:53, Joseph Canedo wrote: Dear list, I use lua function nodes.toutf to print text being typeset in log output for debugging purposes etc… and I noticed output is now different for some characters/glyphs. I use EB Garamond font, which might explain. Before, for example

Re: [NTG-context] em-dash ligature is converted to en-dash in the generic fontloader

2019-02-25 Thread Rik Kabel
On 2/25/2019 15:45, Henri Menke wrote: On 26/02/19 3:55 AM, Ulrike Fischer wrote: Am Sat, 23 Feb 2019 17:11:12 +0100 schrieb Hans Hagen: because followed by -- is pretty obscure ... a replace could be seen as --- and when hyphenated as - -- and such ... it's about time that texies start

[NTG-context] externalfigure broken with 20190222 beta

2019-02-23 Thread Rik Kabel
With the following example, I get: ...eXt/tex/texmf-context/tex/context/base/mkiv/grph-inc.lua:238: attempt to call upvalue 'imgwrap' (a nil value) with the current (20190222) beta. \setupexternalfigures[location=default] \starttext \externalfigure[cow.pdf] \stoptext Down for

[NTG-context] Compilation fails on 20190210 beta with Unidentified user defined whatsit

2019-02-11 Thread Rik Kabel
The following works well with previous versions and fails on the 20190210 beta. \defineenumeration[ID] [before=\dontleavehmode, alternative=inright] \starttext \ID[id1]This is only a test. \stoptext The problem appears to be associated with the inright alternative.

Re: [NTG-context] right figure at bottom of page can narrow text block on whole next page

2019-02-06 Thread Rik Kabel
On 1/29/2019 06:48, Sanjoy Mahajan wrote: \definepapersize[bookcrop][width=137mm,height=221mm] \setuppapersize [bookcrop][bookcrop] \setuplayout[marking=on, location=middle, backspace=13.5mm, width=middle, topspace=32bp, header=10bp, headerdistance=26bp, footerdistance=16bp,

Re: [NTG-context] Bidi-related register problem

2019-01-27 Thread Rik Kabel
On 1/27/2019 12:07, Hans Hagen wrote: On 1/27/2019 12:59 AM, Rik Kabel wrote: Here is a much-closer-to minimal example.   \setupregister   [index] [maxwidth=4cm]   \setupdirections [bidi=on,method=two]   \starttext   .\index{Mairzy doats and dozy doats and liddle lamzy divey}   \placeindex

Re: [NTG-context] Bidi-related register problem

2019-01-26 Thread Rik Kabel
And shorter still, isolating the problem to something in \limitatetext:  \setupdirections [bidi=on,method=two]  \starttext  \limitatetext {Mairzy doats and dozy doats and liddle lamzy divey} {4cm}  \stoptext -- Rik

Re: [NTG-context] Bidi-related register problem

2019-01-26 Thread Rik Kabel
is otherwise required. Setting bidi off around \placeindex is not an option either, since some index entries require it. -- Rik Kabel ___ If your question is of interest to others as well, please add an entry

[NTG-context] Bidi-related register problem

2019-01-24 Thread Rik Kabel
vey} \input jojomayer \stopparagraph \startparagraph סלאם שלום \stopparagraph \placeregister[Mindex] \stoptext -- Rik Kabel ___ If your question is of interest to others as well, please add an en

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Rik Kabel
On 1/12/2019 16:08, Jan U. Hasecke wrote: Hi Aditya, Am 12.01.19 um 20:11 schrieb Aditya Mahajan: On Sat, 12 Jan 2019, Jan U. Hasecke wrote: Hi all, in my document \startchapter and \starttitle starts a new chapter on the right (odd) page. So sometimes, there is a blank even page just

Re: [NTG-context] modifying kerning breaks opentype ligatures (and other features)

2018-12-11 Thread Rik Kabel
On 12/11/2018 15:54, Rik Kabel wrote: On 12/11/2018 07:06, Hans Hagen wrote: On 12/11/2018 11:34 AM, mf wrote: But i should consider all the text parts with a modified kerning and disable kerning around character sequences like "ff", "ffi", "fl" and so on. Lu

Re: [NTG-context] modifying kerning breaks opentype ligatures (and other features)

2018-12-11 Thread Rik Kabel
On 12/11/2018 07:06, Hans Hagen wrote: On 12/11/2018 11:34 AM, mf wrote: But i should consider all the text parts with a modified kerning and disable kerning around character sequences like "ff", "ffi", "fl" and so on. Luckily, the XHTML markup "knows" where the kerning is modified: A

[NTG-context] Spurious missing character reports

2018-12-09 Thread Rik Kabel
List, I have one document that after the 2018-11-18 update (beginning with 12-01 and continuing to the current 12-07) has generated hundreds of spurious missing character messages in the log. A short extract: fonts > start missing characters:

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-08 Thread Rik Kabel
On 12/8/2018 14:50, Alan Braslau wrote: On Sat, 8 Dec 2018 12:43:34 -0500 Rik Kabel wrote: It is also quite useful in earlier stages of larger projects where it is important to document sources (for circulation copies) but one is not ready to tackle the design and generation of more formal

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-08 Thread Rik Kabel
On 12/8/2018 00:03, Alan Braslau wrote: As I wrote, "rendering" to footnotes as elements of a "list" can be done, and your cross-reference *is* the footnote index. We have not written setups that do this already as I have never needed this format myself, although it is rather common in certain

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Rik Kabel
On 12/7/2018 22:51, Alan Braslau wrote: You can place references rendered as you need, not necessarily in one single bibliography list, but they must be rendered somewhere, otherwise numbering and cross-referencing is meaningless. In the case of footnote references, each footnote contains a

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Rik Kabel
On 12/7/2018 18:01, Alan Braslau wrote: On Fri, 7 Dec 2018 17:19:35 -0500 Rik Kabel wrote: As a followup, here is a close-to-minimal example which demonstrates the failure when \placebtxrendering is omitted. It is not a failure. The whole intent is to place an appropriate rendering that you

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Rik Kabel
List, As a followup, here is a close-to-minimal example which demonstrates the failure when \placebtxrendering is omitted. When run as given, the extract field content is not displayed. When the commented line is uncommented, the result includes the content. \startbuffer[quotedatabase]

[NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-06 Thread Rik Kabel
List, I am trying to use the publications subsystem to support a non-bibliographic database, as chapter 10 of mkiv-publications suggests one can. My example is a database of quotations. I have been partially successful, which is another way of saying there are some issues I have not been

Re: [NTG-context] PDF/A no longer compliant?

2018-11-29 Thread Rik Kabel
On 11/4/2018 07:27, luigi scarso wrote: On Fri, Nov 2, 2018 at 7:06 PM Rik Kabel <mailto:cont...@rik.users.panix.com>> wrote: it should be fixed in the next beta. I am afraid it is not fixed. The compilation of the wiki example now fails with: lua error   > lua e

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Rik Kabel
is in horizontal mode (like in your footnote) the space after the argument stays and appears in the text. In this case you have to put a comment after it to ignore the space which is generated from the line break in your document. Wolfgang Rik Kabel schrieb am 27.11.18 um 21:17: And now I can

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Rik Kabel
On 11/27/2018 08:43, Rik Kabel wrote: On 11/27/2018 05:38, mf wrote: In my setup, i have an index of names: \defineregister[Nome][...] The indexing of names can be toggled with a mode: --mode=AddNames The setup is something like this: \startmode[AddNames]   \Name[key]{term}\xmlflush{#1

Re: [NTG-context] can \REGISTER[key]{term} modify typesetting (adding space)?

2018-11-27 Thread Rik Kabel
On 11/27/2018 05:38, mf wrote: In my setup, i have an index of names: \defineregister[Nome][...] The indexing of names can be toggled with a mode: --mode=AddNames The setup is something like this: \startmode[AddNames]   \Name[key]{term}\xmlflush{#1} \stopmode \startnotmode[AddNames]  

Re: [NTG-context] PDF/A output fails validation

2018-11-22 Thread Rik Kabel
On 11/22/2018 12:43, luigi scarso wrote: On Thu, Nov 22, 2018 at 12:45 AM luigi scarso <mailto:luigi.sca...@gmail.com>> wrote: On Thu, Nov 22, 2018 at 12:38 AM Rik Kabel mailto:cont...@rik.users.panix.com>> wrote: With the latest beta, PDF/A fails vali

[NTG-context] PDF/A output fails validation

2018-11-21 Thread Rik Kabel
With the latest beta, PDF/A fails validation in a new way. Using the example document in the wiki , PDF/A-1a validation fails the online validator [2] with: The key MarkInfo is required but missing.

[NTG-context] Startparagraph, was Re: German introduction to context

2018-11-02 Thread Rik Kabel
On 11/2/2018 07:28, Hans Hagen wrote: normally \startparagraph is not needed Hans, Can you explain in a bit more detail about when \startparagraph is needed. Is it needed to generate properly tagged paragraphs in a tagged pdf document, or is that tagging done by other means? Under what

[NTG-context] PDF/A no longer compliant?

2018-11-02 Thread Rik Kabel
The example file in the wiki  (at https://wiki.contextgarden.net/PDF/A) no longer verifies as compliant PDF/A. VeraPDF rejects it, and https://www.pdf-online.com/osa/validate.aspx complains: x107.pdf Compliance pdfa-1b Result Document does not conform to PDF/A. Details

Re: [NTG-context] Issue with ligatures before dashes

2018-10-30 Thread Rik Kabel
On 10/30/2018 13:58, Hans Hagen wrote: On 10/30/2018 5:32 PM, Rik Kabel wrote: In one 300-page book, this hits a few times (off-course, oft-repeated,...). Not the worst problem, but clearly a regression. i think i know what happens ... fwiw, it's not related to the engine (nothing really

[NTG-context] Issue with ligatures before dashes

2018-10-30 Thread Rik Kabel
This was reported on the LuaLatex list yesterday, and I extended the example to include ConTeXt compounds. From my test folder: %% No ligatures before dashes! Reported as: “ligatures before %% dashes not working with LuaLaTeX 1.07.0” on comp.tex.luatex, %% 2018-10-29 by Toni

Re: [NTG-context] Possible seeindex enhancement

2018-10-27 Thread Rik Kabel
On 10/25/2018 16:39, Rik Kabel wrote: List, I am looking for a way to modify the text used for \seeindex (in English, "see") to have two types of seeindex result in the same index register. I would like to produce, for example, pseudepigraphy, 103,/see also ob

[NTG-context] Possible seeindex enhancement

2018-10-25 Thread Rik Kabel
List, I am looking for a way to modify the text used for \seeindex (in English, "see") to have two types of seeindex result in the same index register. I would like to produce, for example, pseudepigraphy, 103,/see also obliteration/ and at the same time be able to produce the standard

[NTG-context] Bibliography sort and name-hyphenation issues

2018-10-24 Thread Rik Kabel
List, Given this example: \enabletrackers [publications.authorhash] \startbuffer [bib] @book{dalambert1743, title = {Traite de Dynamique}, author = {Jean Le Rond d’Alembert}, publisher = {David l’aîné},

Re: [NTG-context] Unexpected space after hyphen in xml/html export

2018-10-11 Thread Rik Kabel
On 10/10/2018 15:11, Rik Kabel wrote: On 10/10/2018 14:50, Rik Kabel wrote: On 10/8/2018 18:32, Hans Hagen wrote: Alas, it is fixed for that particular occurence, but it still occurs 29 times in the document (using today's beta). A more extended search shows that there are also spaces

Re: [NTG-context] Unexpected space after hyphen in xml/html export

2018-10-10 Thread Rik Kabel
On 10/10/2018 14:50, Rik Kabel wrote: On 10/8/2018 18:32, Hans Hagen wrote: Alas, it is fixed for that particular occurence, but it still occurs 29 times in the document (using today's beta). A more extended search shows that there are also spaces afters en-dashes (in "Press|–|Ci

Re: [NTG-context] Unexpected space after hyphen in xml/html export

2018-10-10 Thread Rik Kabel
On 10/8/2018 18:32, Hans Hagen wrote: Alas, it is fixed for that particular occurence, but it still occurs 29 times in the document (using today's beta). A more extended search shows that there are also spaces afters en-dashes (in "Press|–|Citizen" and  in "Miniatur|–|Bibliothek der

Re: [NTG-context] Unexpected space after hyphen in xml/html export

2018-10-08 Thread Rik Kabel
On 10/6/2018 19:28, Hans Hagen wrote: On 10/7/2018 12:19 AM, Rik Kabel wrote: List, Occasionally an unexpected and unwanted space is inserted following the hyphen of a compound word in html/xml exports. In a document with about 500 such compounds, this occurs 30 times. The following input

[NTG-context] Unexpected space after hyphen in xml/html export

2018-10-06 Thread Rik Kabel
List, Occasionally an unexpected and unwanted space is inserted following the hyphen of a compound word in html/xml exports. In a document with about 500 such compounds, this occurs 30 times. The following input: \setupbackend [export=yes,xhtml=yes] \starttext Theocracy, the

[NTG-context] style=underbar output in export

2018-10-03 Thread Rik Kabel
List, With recent betas, since a fix for tagged elements in tables, underbar processing seems to have changed (or perhaps I just noticed it after that fix). Previously, the following highlight definition worked for both pdf and export outputs: \definehighlight

[NTG-context] tagged elements in tables (TABLE, tabulate, xtable)

2018-09-29 Thread Rik Kabel
List, I am trying to use tables in an export with tagging to support CSS styling for eventual ebook production (with the added hope that cross-references and perhaps indexing someday might be supported). I have run into an odd limitation. It seems that only tagged element may not be present

  1   2   3   4   >