[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

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

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

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

[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

[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

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

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') gives

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

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 wrong

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

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

[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

[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

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:

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

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.

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

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]

[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

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

[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

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

[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

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

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

2018-06-15 Thread Rik Kabel
The example below is taken from the wiki article "Titles ," with pdf bookmark apparatus prepended and a second chapter added to the bodymatter. In the log, this produces the lines: backend > bookmarks > confusing level change at level 3

[NTG-context] Export to xml no longer works

2018-06-10 Thread Rik Kabel
With TL18, the following produces the expected xml and associated files. \setupbackend [export=yes] \starttext \input knuth \stoptext With current betas, the xhtml file contains: invalid xml file - parsed text and the other files have similar content. Can anyone

[NTG-context] Bug with \setuptagging and layers

2018-06-09 Thread Rik Kabel
When the first line of the following example is removed, all is well. With it present, the image in the layer has the text "image" added to the image. This problem is not present in, inter alia, TL18. \setuptagging [state=start] \setupexternalfigures [location=default]

Re: [NTG-context] BTX subsystem fubar, borked, failing with current (2018-04-02) beta

2018-04-03 Thread Rik Kabel
On 4/3/2018 16:56, Alan Braslau wrote: On Tue, 3 Apr 2018 16:07:52 -0400 Rik Kabel <cont...@rik.users.panix.com> wrote: Hmmm. Not here. Log attached. Puzzling lines: └─► grep "^publications" publications-quick-example.log publications    > adding bib data to set 'defa

Re: [NTG-context] BTX subsystem fubar, borked, failing with current (2018-04-02) beta

2018-04-03 Thread Rik Kabel
On 4/3/2018 15:49, Alan Braslau wrote: On Tue, 3 Apr 2018 14:52:49 -0400 Rik Kabel <cont...@rik.users.panix.com> wrote: MWE from page 4 of mkiv-publications (same example found at in the Garden <http://wiki.contextgarden.net/Bibliography_mkiv>) produces: with an empty bibliogr

[NTG-context] BTX subsystem fubar, borked, failing with current (2018-04-02) beta

2018-04-03 Thread Rik Kabel
MWE from page 4 of mkiv-publications (same example found at in the Garden ) produces: with an empty bibliography. I get similar results with other documents that processed cleanly in the past. Has the documentation (including the sample code)

[NTG-context] page-ini.lua, was Re: option for printing range

2018-02-24 Thread Rik Kabel
On 2018-02-24 13:50, Hans Hagen wrote: On 2/24/2018 11:31 AM, Pablo Rodriguez wrote: Hans, would it be possible to add an key to \setupinteractionscreen that implements the /PrintPageRange key in the /ViewerPreferences dictionary

Re: [NTG-context] Learning how to use \setupbtxrendering

2018-02-18 Thread Rik Kabel
On 2018-02-18 16:05, Rik Kabel wrote: On 2018-02-18 15:25, Wolfgang Schuster wrote: Rik Kabel <mailto:cont...@rik.users.panix.com> 18. Februar 2018 um 21:06 On 2018-02-18 14:33, Wolfgang Schuster wrote: It does not matter how many fonts support both (LM does, and Libertine). One f

Re: [NTG-context] Learning how to use \setupbtxrendering

2018-02-18 Thread Rik Kabel
On 2018-02-18 15:25, Wolfgang Schuster wrote: Rik Kabel <mailto:cont...@rik.users.panix.com> 18. Februar 2018 um 21:06 On 2018-02-18 14:33, Wolfgang Schuster wrote: It does not matter how many fonts support both (LM does, and Libertine). One feature of a BibTeX file is reusability fo

Re: [NTG-context] Learning how to use \setupbtxrendering

2018-02-18 Thread Rik Kabel
On 2018-02-18 14:33, Wolfgang Schuster wrote: Rik Kabel <mailto:cont...@rik.users.panix.com> 18. Februar 2018 um 20:22 On 2018-02-18 12:07, Alan Braslau wrote: On Sun, 18 Feb 2018 11:58:40 -0500 Rik Kabel<cont...@rik.users.panix.com> wrote: Indeed, it is hard to imagine a

Re: [NTG-context] Learning how to use \setupbtxrendering

2018-02-18 Thread Rik Kabel
On 2018-02-18 12:07, Alan Braslau wrote: On Sun, 18 Feb 2018 11:58:40 -0500 Rik Kabel <cont...@rik.users.panix.com> wrote: Indeed, it is hard to imagine a BibTeX file devoid of such markup. How would one indicate the (reverse) emphasis of a quoted book title, as in /The Cambridge Com

Re: [NTG-context] Learning how to use \setupbtxrendering

2018-02-18 Thread Rik Kabel
On 2018-02-18 12:23, Thomas A. Schmitz wrote: On 02/18/2018 06:07 PM, Alan Braslau wrote: title={The Cambridge Companion to {\em Ulysses}}, Alan, I think this was Rik Kabel's point: for some scenarios, you cannot avoid to have some sort of context commands in your bibtex file. For a while,

Re: [NTG-context] Learning how to use \setupbtxrendering

2018-02-18 Thread Rik Kabel
On 2018-02-17 14:29, Alan Braslau wrote: First of all, don't put any such formatting in the BibTeX file: that is a LaTeX-style hack, and we have designed the ConTeXt system to avoid any such need. The dataset should contain only data, and hacks should be avoided. There is some limitation to

Re: [NTG-context] Ancient Typewriter Simulation

2018-02-15 Thread Rik Kabel
On 2018-02-15 10:42, Henning Hraban Ramm wrote: Ahoi, I was just pointed to this LaTeX package: https://github.com/davidcarlisle/dpctex/tree/master/typewriter Origin/reasoning: https://tex.stackexchange.com/questions/344214/use-latex-to-simulate-old-typewriter-written-texts I guess it would be

Re: [NTG-context] placing a wide float at the bottom

2018-02-11 Thread Rik Kabel
On 2018-02-11 06:50, Henning Hraban Ramm wrote: Am 2018-02-10 um 18:03 schrieb Rik Kabel <cont...@rik.users.panix.com>: On 2018-02-10 10:00, Henning Hraban Ramm wrote: \placefigure[bottom]{}{\externalfigure[hacker][width=\textwidth]} works just fine, I get "top" placement w

Re: [NTG-context] placing a wide float at the bottom

2018-02-10 Thread Rik Kabel
On 2018-02-10 10:00, Henning Hraban Ramm wrote: \placefigure[bottom]{}{\externalfigure[hacker][width=\textwidth]} works just fine, I get "top" placement with \placefigure[bottom]{}{\externalfigure[hacker][width=\paperwidth]} Works here with the code below. The same result with and without

Re: [NTG-context] Expansion help needed, getvariable and TABLE

2018-01-31 Thread Rik Kabel
On 2018-01-31 09:54, Wolfgang Schuster wrote: Rik Kabel schrieb: \starttexdefinition doTableRowExpB #SET     \define\A{\getvariable{#SET}{a}}     \define\B{\getvariable{#SET}{b}}     \define\C{\getvariable{#SET}{c}}     \bTR   \expanded{\bTC\A\eTC}   \expanded{\bTC\B\eTC

Re: [NTG-context] Expansion help needed, getvariable and TABLE

2018-01-31 Thread Rik Kabel
On 2018-01-31 01:04, Wolfgang Schuster wrote: Rik Kabel <mailto:cont...@rik.users.panix.com> 31. Januar 2018 um 03:10 Listers, I have a problem, and a question on ConTeXt programming efficiency. In the example below, I have a set of variables. When these are reference direct

Re: [NTG-context] Expansion help needed, getvariable and TABLE

2018-01-30 Thread Rik Kabel
On 2018-01-30 21:10, Rik Kabel wrote: Listers, I have a problem, and a question on ConTeXt programming efficiency. In the example below, I have a set of variables. When these are reference directly via \getvariable, everything works as expected in simple text and in TABLEs. When I \define

[NTG-context] Expansion help needed, getvariable and TABLE

2018-01-30 Thread Rik Kabel
Listers, I have a problem, and a question on ConTeXt programming efficiency. In the example below, I have a set of variables. When these are reference directly via \getvariable, everything works as expected in simple text and in TABLEs. When I \define a macro to the \getvariable, that works

  1   2   3   4   >