[NTG-context] placefigure RTL

2021-03-05 Thread Mohammad Hossein Bateni
Hello, Is there a way to make \placefigure[left,right] work in RTL documents? Here's a MWE: \starttext \setupalign[r2l] \placefigure[none,right]{}{\externalfigure[cow]} \input knuth \placefigure[none,left]{}{\externalfigure[cow]} \input knuth \page \setupalign[l2r]

Re: [NTG-context] arbitrary context commands in xml file

2021-03-05 Thread Hans Hagen
On 3/5/2021 10:27 PM, denis.ma...@ub.unibe.ch wrote: Just to provide more information about what I was thinking: You do your typesetting based on an XML doc. Now it is time for the finishing touches. In a tex document you'd add the usual commands to manipulate the layout:

Re: [NTG-context] Log overful boxes

2021-03-05 Thread Hans Hagen
On 3/5/2021 10:35 PM, denis.ma...@ub.unibe.ch wrote: Thanks Hans. So, it's already available? how about just trying it ... - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061

Re: [NTG-context] Write to tuc file

2021-03-05 Thread Hans Hagen
On 3/5/2021 10:38 PM, denis.ma...@ub.unibe.ch wrote: Thanks for this as well, Hans. Looks promising. So, this is to select pages or page-ranges for processing? assuming that you have either marked pages or proper refs for chapters you can use the reported values and feed them into whatever i

Re: [NTG-context] Write to tuc file

2021-03-05 Thread denis.maier
Thanks for this as well, Hans. Looks promising. So, this is to select pages or page-ranges for processing? > -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Freitag, 5. März 2021 11:29 > An: Maier, Denis Christian (UB) ; ntg- > cont...@ntg.nl > Betreff: Re: AW: [NTG-context]

Re: [NTG-context] Log overful boxes

2021-03-05 Thread denis.maier
Thanks Hans. So, it's already available? I'll add this to the list of things I'll have to add to the wiki. (And I finally need to switch to LMTX...) > -Ursprüngliche Nachricht- > Von: Hans Hagen > Gesendet: Donnerstag, 4. März 2021 15:12 > An: Maier, Denis Christian (UB) ; ntg- >

Re: [NTG-context] arbitrary context commands in xml file

2021-03-05 Thread denis.maier
Just to provide more information about what I was thinking: You do your typesetting based on an XML doc. Now it is time for the finishing touches. In a tex document you'd add the usual commands to manipulate the layout: \adaptlayout[lines=+1] \testpage[3] \looseness=-1 / \looseness=+1 \blank

[NTG-context] TEXpage does not fit \placetable & \recurselevel always zero

2021-03-05 Thread Jacob Kauffmann
Dear list, thank you very much for the help so far. I have two problems understanding the output of the code below. I am using version 2021.02.23 17:47. (1) The TEXpage is cut off after ~40 lines. Normally, the page is extended to fit its content. It's probably related to \placetable which I

[NTG-context] tex live code freeze

2021-03-05 Thread Hans Hagen
Hi, The 2021 texlive code is currently being frozen. This means that Mojca will check-in the current context release right before tl gets deep frozen. The MKII code (mkii and mpii files) hasn't changed so it should still work well with pdftex and xetex although I admit that I haven't checked

Re: [NTG-context] error with recent standalone (luametatex)

2021-03-05 Thread Hans Hagen
On 3/5/2021 4:35 PM, Alan Bowen wrote: Files that ran well with ver ConTeXt  ver: 2021.02.20 16:50 LMTX and earlier now fail with the following message: tex error       > tex error on line 74 in file c_Review-0201-01_Bojowald.tex: lua error: run callback [36]: [string

Re: [NTG-context] error with recent standalone (luametatex)

2021-03-05 Thread Hans Hagen
On 3/5/2021 4:35 PM, Alan Bowen wrote: Files that ran well with ver ConTeXt  ver: 2021.02.20 16:50 LMTX and earlier now fail with the following message: tex error       > tex error on line 74 in file c_Review-0201-01_Bojowald.tex: lua error: run callback [36]: [string

[NTG-context] error with recent standalone (luametatex)

2021-03-05 Thread Alan Bowen
Files that ran well with ver ConTeXt ver: 2021.02.20 16:50 LMTX and earlier now fail with the following message: tex error > tex error on line 74 in file c_Review-0201-01_Bojowald.tex: lua error: run callback [36]: [string "/Applications/LuaMetaTeX/tex/texmf-context/te..."]:1343: attempt

Re: [NTG-context] arbitrary context commands in xml file

2021-03-05 Thread denis.maier
Thanks. But won't that break the xml? I'll need a new element for this right? But what if the schema doesn't allow this? Von: Wolfgang Schuster Gesendet: Freitag, 5. März 2021 16:01:25 An: mailing list for ConTeXt users Cc: Maier, Denis Christian (UB)

Re: [NTG-context] TEXpage does not fit \placetable & \recurselevel always zero

2021-03-05 Thread Hans Hagen
On 3/5/2021 3:44 PM, Jacob Kauffmann wrote: Dear list, thank you very much for the help so far. I have two problems understanding the output of the code below. I am using version 2021.02.23 17:47. (1) The TEXpage is cut off after ~40 lines. Normally, the page is extended to fit its content.

Re: [NTG-context] arbitrary context commands in xml file

2021-03-05 Thread Wolfgang Schuster
denis.ma...@ub.unibe.ch schrieb am 05.03.2021 um 15:53: I mean without breaking the xml of course. Something like an ad hoc injector... \startxmlsetups ...     \xmlflushcontext{#1} \stopxmlsetups Wolfgang ___ If

Re: [NTG-context] arbitrary context commands in xml file

2021-03-05 Thread denis.maier
I mean without breaking the xml of course. Something like an ad hoc injector... Von: ntg-context im Auftrag von denis.ma...@ub.unibe.ch Gesendet: Freitag, 5. März 2021 15:39:53 An: ntg-context@ntg.nl Betreff: [NTG-context] arbitrary context commands

[NTG-context] arbitrary context commands in xml file

2021-03-05 Thread denis.maier
Hi Is there a way to add arbitrary context commands to an xml file without defining an injector first? Best Denis ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] reference chapters from another doc in this doc's toc

2021-03-05 Thread denis.maier
Hi, is it possible to include structure elements from other documents in a toc? E.g. when your having a multivolume book where each book is an individual book, but you want to have a TOC that covers all volumes? Best, Denis

[NTG-context] conditional formatting, checking the context (SOLVED)

2021-03-05 Thread Henning Hraban Ramm
Hi, in the example below I’m using a custom highlighting macro in titles. Now I don’t want this highlighting in the ToC or in bookmarks (in my real world example the changes affect bookmarks, not in the MWE). I know I can use the list= and bookmark= keys of \startchapter, but since the text

Re: [NTG-context] Write to tuc file

2021-03-05 Thread Hans Hagen
On 2/27/2021 6:28 PM, denis.ma...@ub.unibe.ch wrote: It's a book that will be published in two volumes, continually paginated. In the end I need two pdf files, but I thought it might be easier to treat them as one volume and just split the files with some external tool afterwards. I could also