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 ma

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

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 w

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 in the

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 {     font-s

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

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

2019-12-07 Thread Rik Kabel
text On 7 Dec 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 wri

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 be

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

2019-12-05 Thread Rik Kabel
ted files and with 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 inter

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 oth

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 t

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: ope

[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 \n\\handlenote

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 syllable

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 using

[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. \setupbodyfon

[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) \startsetups[setup

[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, width=\pagewidth

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) /tex/tex

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 output

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 using

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

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

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
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 to the

[NTG-context] Bidi-related register problem

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

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 before

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 para

[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: C:/ConTeXt/tex/texmf/fonts/opentype/

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 rende

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 abl

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

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. The

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

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

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

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 obliteration/

[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é}, add

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 s

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 Deutsch

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 pri

[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 [Term][style={{\underbar}}

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

Re: [NTG-context] align is reversed inside a table

2018-09-29 Thread Rik Kabel
On 9/29/2018 20:29, David Walther wrote: Using this table as an example, when I do align=left, the column aligns right, and when I do align=right, it aligns left.  align=center works as expected.  Am I doing something wrong or is this a bug? I am using the version of context distributed with D

Re: [NTG-context] Issues with hyphenation with latest beta 2018.09.12

2018-09-12 Thread Rik Kabel
On 9/12/2018 18:16, Joseph Canedo wrote: Hello, Typesetting some documents I notice several overfull boxes and having a look to output document it looks that somehow no hyphenation at all is performed (comparing to document produced with previous beta). I use thiese settings linked to hyphe

Re: [NTG-context] \startuserdata syntax questions

2018-08-29 Thread Rik Kabel
On 8/29/2018 11:19, Wolfgang Schuster wrote: Hans Hagen schrieb am 29.08.18 um 09:15: On 8/28/2018 10:40 PM, Rik Kabel wrote: Wolfgang, Hans, et al, The new \startuserdata macro looks very promising, and can simplify some work I have in progress. The first question: the wiki example and

[NTG-context] \startuserdata syntax questions

2018-08-28 Thread Rik Kabel
] [optionalkey=value, anotherkey=value] stuff \stopuserdata Such syntactic sugar makes sweeter reading of the text, and makes clearer what is being done when nesting the macro. -- Rik Kabel ___ If your question is

[NTG-context] Spurious breaks in export when blank line ends paragraph

2018-08-21 Thread Rik Kabel
List, My understanding of start/stop macros such as \startparagraph...\stopparagraph has been that blank lines are allowed between the block of text and the macros, as \startparagraph This is the text of the paragraph \stopparagraph However, in xml exports the blank line before \s

[NTG-context] definelabel not working as previously on ConTeXt ver: 2018.08.19 12:52

2018-08-19 Thread Rik Kabel
With the latest beta, labels do not work for me. With the following code: \definelabel[Q] \starttext Label: \Q[abc] Label: see \in[abc]. Reference: \reference[def]{2} Reference: see \in[def]. \stoptext I get: and the log states: references  > unknown reference '

[NTG-context] referencing is broken in version: 2018.08.15 18:45

2018-08-15 Thread Rik Kabel
With this example code from the wiki (slightly modified for use here): \setuppapersize[A5] \starttext \placeformula[eq:pythagoras] \startformula   a^2+b^2=c^2 \stopformula This is explained in \in{Equation}{.}[eq:pythagoras] \stoptext The following output is obtained: A

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-15 Thread Rik Kabel
On 8/15/2018 03:07, Hans Hagen wrote: On 8/15/2018 5:31 AM, Aditya Mahajan wrote: On Tue, 14 Aug 2018, Rik Kabel wrote: I really think, though, that a buffers.strip function would be the way to go, instead of futzing after the damage is done. In lua, buffers.getcontent('name')

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-14 Thread Rik Kabel
On 8/13/2018 18:43, Rik Kabel wrote: On 8/13/2018 15:52, Wolfgang Schuster wrote: Rik Kabel schrieb am 13.08.18 um 20:27: On 8/13/2018 13:46, Wolfgang Schuster wrote: \starttext \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \startnarrower \BeforePar{\dontleavehmode\llap

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
On 8/13/2018 15:52, Wolfgang Schuster wrote: Rik Kabel schrieb am 13.08.18 um 20:27: On 8/13/2018 13:46, Wolfgang Schuster wrote: \starttext \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \startnarrower \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \stopnarrower

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
On 8/13/2018 13:46, Wolfgang Schuster wrote: \starttext \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \startnarrower \BeforePar{\dontleavehmode\llap{? }}\GotoPar \input knuth \stopnarrower \stoptext Wolfgang I am applying it incorrectly, or it does not work with the buffers

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
On 8/13/2018 10:28, Rik Kabel wrote: That works for the over-simplified case here, but fails in practice. For a \startnarrower[left] paragraph, the mark is still in the main margin, not the 'margin' of the narrowed paragraph. Also, the placement of the text in the margin is wro

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
On 8/13/2018 12:04, Wolfgang Schuster wrote: Hi Rik, what do you want to achieve and why do you need a buffer for it? Wolfgang Fair question. I have a document with many (400+) block quotations. Each consists of a text extract, which may be prose or poetry, and additional optional compone

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
On 8/13/2018 10:28, Rik Kabel wrote: On 8/13/2018 03:01, Hans Hagen wrote: On 8/13/2018 5:18 AM, Rik Kabel wrote:   \startparagraph % \dontleavehmode\llap{\Mark}\inlinebuffer[TestBuffer] % \ (first: \First, arg: \Arg)     \margintext{\Mark}     \setupparagraphintro[first][(first

Re: [NTG-context] How can I remove a blank leading line from a buffer

2018-08-13 Thread Rik Kabel
On 8/13/2018 03:01, Hans Hagen wrote: On 8/13/2018 5:18 AM, Rik Kabel wrote: %% How can one remove blank lines at the start of a buffer so that %%   commands that grab a buffer can be used in the same way as, for %%   example, \startparagraph...\stopparagraph, which allow blank %%   lines

[NTG-context] How can I remove a blank leading line from a buffer

2018-08-12 Thread Rik Kabel
An intervening paragraph. \stopparagraph \startBufTest[key=value] Buffer with \type{[key=value]}. \stopBufTest \startparagraph A closing paragraph. \stopparagraph \stoptext \stopmode %% -- %% Rik Kabel

Re: [NTG-context] seeindex problem with recent betas

2018-08-09 Thread Rik Kabel
On 8/8/2018 23:48, Wolfgang Schuster wrote: \setupregister[index][check=no] Wolfgang Thank you, Wolfgang. I saw the discussion on the list, but missed it in i-context.pdf. Wiki updated. -- Rik ___ If your quest

[NTG-context] seeindex problem with recent betas

2018-08-08 Thread Rik Kabel
With older versions of ConTeXt (including that in TL18) seeindex entries pointing to a multi-level (plussed) index entry worked (visually, at least) without complaint. The output might look like: Digby, John 73 Dilbert see Adams+Scott Dirac, Paul 287 or Digby, John 73 Dilbert s

[NTG-context] URLs break bib export

2018-07-26 Thread Rik Kabel
The new tagged biblography export is very nice, but there is a routine (marked UGLY in the source) that causes processing to fail with otherwise-valid input. The failure message is ...eXt/tex/texmf-context/tex/context/base/mkiv/back-exp.lua:3889: invalid capture index stack traceback:

Re: [NTG-context] future versions

2018-07-25 Thread Rik Kabel
On 7/25/2018 04:19, Henning Hraban Ramm wrote: Am 2018-07-25 um 03:29 schrieb Rik Kabel : I would ask for more stylistic or semantic tagging to be added to the XML export. A good example is that of bibliographies, where font styles carry significant semantic meaning (depending on the

Re: [NTG-context] future versions

2018-07-24 Thread Rik Kabel
On 7/24/2018 14:43, Hans Hagen wrote: Hi, Around the upcoming context meeting we expect to release luatex 1.09 (or 1.10 ... yet undecided) which is the prelude to the next year tex live version. It's another step towards a stable version in terms of functionality as we don't expect much more

[NTG-context] startlines in margin

2018-07-21 Thread Rik Kabel
List, Can somebody suggest an export-friendly mechanism to put fixed lines into the margin? Use case: I am reproducing a 17th century text with marginal footnotes. I do not need a solution that works with both pdf and xml, but there is less mode fiddling if it does. This example: \setupb

Re: [NTG-context] title of index

2018-07-19 Thread Rik Kabel
On 7/19/2018 07:54, Hans van der Meer wrote: The macro \completeregister[index] placed in \startbackmatter\startappendices typesets as “I Index”. How can I change and format with my custom macro the part “Index”? Such as using \mytitle{xyz} instead of Index? No solution found in the Context Wik

Re: [NTG-context] More spurious problems in exports

2018-07-18 Thread Rik Kabel
On 7/18/2018 10:56, Hans Hagen wrote: On 7/18/2018 4:59 AM, Rik Kabel wrote: List, Another oddity with elements in XML / xhtml / html export: With a defined highlight, a break is inserted if the highlight is the first item in an environment. If it is not the first item in the environment

[NTG-context] More spurious problems in exports

2018-07-17 Thread Rik Kabel
List, Another oddity with elements in XML / xhtml / html export: With a defined highlight, a break is inserted if the highlight is the first item in an environment. If it is not the first item in the environment, no break is inserted. Most of the other odd breaks can be dealt with in css. T

Re: [NTG-context] Compilation problem with the latest version of standalone context(Metafun)

2018-07-17 Thread Rik Kabel
On 7/17/2018 16:40, Hans Hagen wrote: On 7/17/2018 10:30 PM, Rik wrote: On 7/16/2018 10:24, Fabrice Couvreur wrote: % macros=mkvi \setuppagenumbering[location=footer] \startusableMPgraphic{NumberHead} draw outlinetext.f ("\bf\namedheadnumber{chapter}") (withcolor "light

Re: [NTG-context] Strange behavior with font pagella

2018-07-15 Thread Rik Kabel
On 7/15/2018 17:39, Fabrice Couvreur wrote: \setupbodyfont[pagella,11pt] \defineframed    [ACFRAME]    [frame=off,     offset=0pt,     location=low,     width=\struttotal,     background=color,     backgroundcolor=black,     foregroundcolor=white,     forgroundstyle=bold] \defineprocessor[ACPR

[NTG-context] Unexpected in XML output

2018-07-14 Thread Rik Kabel
List, elements are inserted before elements in XML and xhtml output, and empty divs of class break in html output. If this is intended, is there a way to prevent it? If not intended, can it be fixed? Example code: \setupbackend [export=yes] \starttext \startparagraph Taa

Re: [NTG-context] Epub broken

2018-07-05 Thread Rik Kabel
On 7/5/2018 17:18, Hans Hagen wrote: On 7/5/2018 4:47 PM, Rik Kabel wrote: On 7/5/2018 10:27, Hans Hagen wrote: On 7/4/2018 3:17 PM, Rik Kabel wrote: The following example fails with recent betas, but not with TL18: define fails Sorry to be so terse in the original note. By failure, I mean

Re: [NTG-context] Epub broken

2018-07-05 Thread Rik Kabel
On 7/5/2018 10:27, Hans Hagen wrote: On 7/4/2018 3:17 PM, Rik Kabel wrote: The following example fails with recent betas, but not with TL18: define fails Sorry to be so terse in the original note. By failure, I mean that the generated .epub document is incorrect; parts are out of order, as

[NTG-context] Epub broken

2018-07-04 Thread Rik Kabel
The following example fails with recent betas, but not with TL18: \setupinteraction [state=start] \setuptagging [state=start] \setupbackend [export=yes,xhtml=yes] \setupexport [title={Title}] \setupstructure [state=start] \starttext \startchapter[title={Chapter

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Rik Kabel
On 6/25/2018 22:00, Alan Braslau wrote: On Mon, 25 Jun 2018 20:50:51 -0400 Rik Kabel wrote: On 6/25/2018 20:11, Alan Braslau wrote: On Mon, 25 Jun 2018 19:11:30 -0400 Rik wrote: On 6/25/2018 17:52, Wolfgang Schuster wrote: \startmode[ebook] \setupbackend[export=yes] \stopmode \starttext

Re: [NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Rik Kabel
On 6/25/2018 20:11, Alan Braslau wrote: On Mon, 25 Jun 2018 19:11:30 -0400 Rik wrote: On 6/25/2018 17:52, Wolfgang Schuster wrote: \startmode[ebook] \setupbackend[export=yes] \stopmode \starttext \index{Knuth}\input knuth \index{Ward}\input ward \index{Zapf}\input zapf \startnotmode[*exp

[NTG-context] Overriding / redefining / disabling standard commands

2018-06-25 Thread Rik Kabel
List, What is the preferred way to override a standard command? My use case is that I am trying to produce html (and epub, but that has a long long way to go) from the same source I use for pdf. Some features are not needed, and I have separate environment files for each output format to acco

Re: [NTG-context] Confusing level change message, why?

2018-06-17 Thread Rik Kabel
On 6/17/2018 04:35, Pablo Rodriguez wrote: On 06/15/2018 11:03 PM, Rik Kabel wrote: The example below is taken from the wiki article "Titles <http://wiki.contextgarden.net/Titles>," with pdf bookmark apparatus prepended and a second chapter added to the bodymatter. In the lo

<    1   2   3   4   5   6   >