[NTG-context] Re: numbered itemize list item label alignment

2023-10-15 Thread Wolfgang Schuster
num\lastcountervalue[itemgroup:itemize]>9 \widthofstring{00.}%    \else \widthofstring{0.}%    \fi} \showframe[text][text] \starttext \startitemize[n][width=\ItemWidth,itemalign=flushright] \dorecurse{1}{\startitem xxx\stopitem} \stopitemize \page \startitemize[n][width=\ItemWidth,itemalign=flus

[NTG-context] Re: How can I use a variable for a MetaPost coordinate ?

2023-10-05 Thread peter.hopcroft--- via ntg-context
> StopPage in your MPcode, then you can knock yourself out by using variables > such as PaperHeight or TextHeight and do all sorts of calculations. > > All best > > Thomas > > On 10/5/23 05:54, peter.hopcroft--- via ntg-context wrote: >> Hello list, I want to dr

[NTG-context] Re: How can I use a variable for a MetaPost coordinate ?

2023-10-05 Thread Thomas A. Schmitz
: Hello list, I want to draw lines on a page. I want to pass my line coordinates as a percent of \width or \textheight, rather than as millimetres. So that if I change the page size I don't need to change the coordinates. The MWE below compiles but the pdf does not have any lines drawn

[NTG-context] How can I use a variable for a MetaPost coordinate ?

2023-10-04 Thread peter.hopcroft--- via ntg-context
Hello list, I want to draw lines on a page. I want to pass my line coordinates as a percent of \width or \textheight, rather than as millimetres. So that if I change the page size I don't need to change the coordinates. The MWE below compiles but the pdf does not have any lines drawn

[NTG-context] Problems with line numbered program listings

2023-10-04 Thread Bruce Horrocks
does work and works in \columns as well. This is great until my listing is too long to fit on a page and then I'd rather have the column continue onto the next page but \columns balances of course. 3) \tabulate allows a single cell to continue down over the page exactly as I'd like

[NTG-context] Re: Chemistry in LMTX

2023-10-03 Thread Henning Hraban Ramm
Ok, thank you The current code is not very broken - I just used it extensively in a book that was published. There are many quarks in its conception, dating from the original MKII model. But the current syntax is not documented – at least the examples in the wiki page don’t work any more. Can

[NTG-context] Re: wiki update: Modules

2023-10-02 Thread Hans Hagen
at the page https://wiki.contextgarden.net/Matrix_in_maths <https://wiki.contextgarden.net/Matrix_in_maths> and verify that eveything on that page works fine and is up to date. Thank you! But there _is_ a matrix module (hey, I just looked through all this stuff!) by Jeong Dalyoung

[NTG-context] Re: wiki update: Modules

2023-10-02 Thread Henning Hraban Ramm
Am 02.10.23 um 04:00 schrieb Andres Conrado Montoya: In the wiki, if I click a link to check a source code file (for example https://source.contextgarden.net/tex/context/base/mkiv/m-catchword.mkiv <https://source.contextgarden.net/tex/context/base/mkiv/m-catchword.mkiv>) I get a blan

[NTG-context] Re: wiki update: Modules

2023-10-01 Thread Andres Conrado Montoya
In the wiki, if I click a link to check a source code file (for example https://source.contextgarden.net/tex/context/base/mkiv/m-catchword.mkiv) I get a blank page with a very long list of source files on the left. If I search for the file with my browser's ctrl+f on that page, it returns zero

[NTG-context] Re: wiki update: Modules

2023-10-01 Thread Jeong Dal via ntg-context
emember the matrix features are not related to any modules, but >> rather are part of LMTX. In nay case next week I will look at the page >> https://wiki.contextgarden.net/Matrix_in_maths >> <https://wiki.contextgarden.net/Matrix_in_maths> >> and verify that eveything

[NTG-context] Finding the position of an image on the page.

2023-10-01 Thread peter.hopcroft--- via ntg-context
Hello list, Can I find the position of an image on the page after I have placed the image with \externalfigure? For example, the top, left corner of the image might be 50 mm in from left side of page and 120 mm down from the top of the page. I know I can use \getfiguredimensions to find

[NTG-context] Re: wiki update: Modules

2023-10-01 Thread Henning Hraban Ramm
Am 01.10.23 um 05:51 schrieb Otared Kavian: Hi Hraban, Thank you for your updating of the modules stuff. As far as I remember the matrix features are not related to any modules, but rather are part of LMTX. In nay case next week I will look at the page https://wiki.contextgarden.net

[NTG-context] Re: Chemistry in LMTX

2023-10-01 Thread Henning Hraban Ramm
Am 30.09.23 um 22:04 schrieb Hans Hagen: On 9/30/2023 9:38 PM, Henning Hraban Ramm wrote: I tried to update https://wiki.contextgarden.net/Chemistry, since nearly all of the links were dead, and I couldn’t find any documentation about \chemical / \startchemical. In the wiki page you can see

[NTG-context] Re: wiki update: Modules

2023-09-30 Thread Otared Kavian
Hi Hraban, Thank you for your updating of the modules stuff. As far as I remember the matrix features are not related to any modules, but rather are part of LMTX. In nay case next week I will look at the page https://wiki.contextgarden.net/Matrix_in_maths <ht

[NTG-context] Re: Chemistry in LMTX

2023-09-30 Thread Hans Hagen
On 9/30/2023 9:38 PM, Henning Hraban Ramm wrote: I tried to update https://wiki.contextgarden.net/Chemistry, since nearly all of the links were dead, and I couldn’t find any documentation about \chemical / \startchemical. In the wiki page you can see that there’s still some working code

[NTG-context] Chemistry in LMTX

2023-09-30 Thread Henning Hraban Ramm
I tried to update https://wiki.contextgarden.net/Chemistry, since nearly all of the links were dead, and I couldn’t find any documentation about \chemical / \startchemical. In the wiki page you can see that there’s still some working code for chemistry, but it looks very broken

[NTG-context] Bug? Text following columns at end of page goes into footer not next page

2023-09-30 Thread Bruce Horrocks
Two column text that ends near the foot of a page can push the next line into the footer rather than starting a new page. MWE for ConTeXt ver: 2023.09.26 18:19 LMTX :- \setuppapersize [A4] \showframe \starttext Knuth in knolumns \dorecurse{30}{\crlf} \startcolumns \input knuth \stopcolumns

[NTG-context] wiki update: Modules

2023-09-30 Thread Henning Hraban Ramm
I updated the list of included modules in https://wiki.contextgarden.net/Modules and tried to understand what each does. If you know matrices, could you perhaps update the page https://wiki.contextgarden.net/Matrix_in_maths to include the matrix module and the latest enhancements? Hraban

[NTG-context] Re: formula alignment for mathalign

2023-09-28 Thread Mikael Sundqvist
gt; A = B > \stopformula > > vs > > \startformula \startalign > \NC A \NC B \NR > \NC A \NC B \NR > \stopalign \stopformula > \stoptext > > The first display formula is flush left, but the aligned formula is centered > on the page. This appears to be a regression com

[NTG-context] formula alignment for mathalign

2023-09-28 Thread Aditya Mahajan
The first display formula is flush left, but the aligned formula is centered on the page. This appears to be a regression compared to MkIV, where the above example works correctly. Aditya ___ If your question

[NTG-context] ConTeXt Garden : Use the fonts you want

2023-09-25 Thread Jean-Pierre Delange
I have just refreshed the ConTeXt Garden page with some additional information on the search for new fonts installed in the /context/tex/texmf-fonts/ directory. https://wiki.contextgarden.net/Use_the_fonts_you_want JP -- Jean-Pierre Delange Ancients Professeur Agrégé de Philosophie (HC

[NTG-context] page floats don’t work in columnsets

2023-09-21 Thread Henning Hraban Ramm
I had no luck with page floats in columnsets; according to the manual they should work. Hraban \setuppapersize[A5,landscape] \useMPlibrary[dum] \definecolumnset[Two][n=2] \starttext \startcolumnset[Two] \dorecurse{5}{1\recurselevel\samplefile{lorem}\par} \startplacefigure[location=page

[NTG-context] units related to paper size

2023-09-21 Thread Pablo Rodriguez
Dear Hans, I wonder whether it would be possible to have both units for page width and page height (I guess, pw and ph would be fine). This would be similar to tw and th. Many thanks for your help, Pablo

[NTG-context] Re: Cron /var/www/aanhet.net/context/bin/cron/context-mirror

2023-09-18 Thread vm via ntg-context
{\protecteddetokenize {#1}}tab{\typeparameter \c!tab }method{\p_buff_op ... \type{ hello } You injected something that confused the parser, maybe by using some Lua call. and it shows {hello} on the page ___ If your

[NTG-context] stream sync (or \pushoutputstream)

2023-09-16 Thread Pablo Rodriguez
[green] \dorecurse{4}{\input zapf\par\pushoutputstream} \stopcolor \stopoutputstream \null\page \synchronizestreams[one,two] \flushoutputstream[one] \page\flushoutputstream[two] \stoptext With MkIV, stream one is always a line before stream two (11-12, 21-22

[NTG-context] Re: streams reversed?

2023-09-15 Thread jbf
be to consider producing the body matter as two 'independent' books, one with the pages on the left and page numbered 1,3,5 and the other numbered 2,4,6 and then merge them as PDF pages into the final book. Then merge frontmatter and back matter. If you are reasonably familiar with PDF splitting / joing

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Bruce Horrocks
> On 15 Sep 2023, at 13:56, Taco Hoekwater wrote: > > Like this? > > \definehead[mychapter][chapter] > \setuphead[mychapter][page=no] Taco beat me to it... a simple example: \starttext \chapter{First} Some text \chapter{Second} More text \chapter{Third} More text

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Taco Hoekwater
;>> apparently there isn’t. So, the example below does not work, but maybe it >>> wouldn’t be too hard to add it… >>> >> There is a ‘before' key, but note that the sectionblock itself is called >> “backpart”, not “backmatter” >>

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Rik Kabel
that the sectionblock itself is called “backpart”, not “backmatter” Either use \setupsectionblock[backpart][before={\setuphead[chapter][page=no]}] Or, nicer: \startsectionblockenvironment[backpart] \setuphead[chapter][page=no] \stopsectionblockenvironment Best, Denis \setuphead[chapter

[NTG-context] Re: Chapters without new page

2023-09-15 Thread Taco Hoekwater
tself is called “backpart”, not “backmatter” Either use \setupsectionblock[backpart][before={\setuphead[chapter][page=no]}] Or, nicer: \startsectionblockenvironment[backpart] \setuphead[chapter][page=no] \stopsectionblockenvironment > Best, > Denis > \setuphead[chapter][page=ye

[NTG-context] Re: Chapters without new page

2023-09-15 Thread denis.maier
I thought there should be a setups key on \setupsectionblock, but apparently there isn’t. So, the example below does not work, but maybe it wouldn’t be too hard to add it… Best, Denis \setuphead[chapter][page=yes] \setupsectionblock[backmatter][setups={\setuphead[chapter][page

[NTG-context] Re: Chapters without new page

2023-09-14 Thread Rik Kabel
On 9/14/2023 10:10 PM, Rik Kabel wrote: On 9/14/2023 5:49 PM, Jeroen wrote: In the \startbackmatter ... \stopbackmatter section i would like to have some chapters that are not automatically placed on a new page for the next chapter. Is there an easy way to suppress the new page

[NTG-context] Re: Chapters without new page

2023-09-14 Thread Rik Kabel
On 9/14/2023 5:49 PM, Jeroen wrote: In the \startbackmatter ... \stopbackmatter section i would like to have some chapters that are not automatically placed on a new page for the next chapter. Is there an easy way to suppress the new page for these chapters? Thanks, Jeroen Untried: 1

[NTG-context] Chapters without new page

2023-09-14 Thread Jeroen
In the \startbackmatter ... \stopbackmatter section i would like to have some chapters that are not automatically placed on a new page for the next chapter. Is there an easy way to suppress the new page for these chapters? Thanks, Jeroen

[NTG-context] streams reversed?

2023-09-13 Thread jbf
of these identifiers where needed. I assume that to get a degree of synchronization I need to use this approach for each set of chapters. But I cannot understand why the languages alternate their starting page positions each chapter. There are other issues I have to solve, but first of all I wish to resolve

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread denis.maier
eading. Do you need more information? You can create a custom header for the chapter page and show the value of the author key which works without problems because the header is added after to the finished page after the value is available. Another option when the name should appear in t

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Wolfgang Schuster
achieve. I’m just trying to output the author’s name above a chapter heading. Do you need more information? You can create a custom header for the chapter page and show the value of the author key which works without problems because the header is added after to the finished page after th

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread denis.maier
ry to access the values before they are known to ConTeXt. To provide a proper solution you have to tell what you're trying to achieve. I'm just trying to output the author's name above a chapter heading. Do you need more information? You can create a custom header for the chapter page and show the value

[NTG-context] Re: Using structureuservariables before the heading

2023-09-12 Thread Wolfgang Schuster
before they are known to ConTeXt. To provide a proper solution you have to tell what you're trying to achieve. I’m just trying to output the author’s name above a chapter heading. Do you need more information? You can create a custom header for the chapter page and show the value of the auth

[NTG-context] \dontleavethemode

2023-09-12 Thread Ursula Hermann
untime overhead! open source > level 1, order 2, name './pablo.tex' modules > using user prefixed file 's-layout-show' modules > 's-layout-show' is loaded open source > level 2, order 3, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/t

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-10 Thread Jim
at 21:38 (+0200), Lutz Haseloff wrote: > Hi Jim, > perhaps does this work for you? > > \setuplist[chapter][headnumber=no] > \setuphead[chapter][number=no] > \starttext > \completecontent > \page > \chapter{Chapter one} > \input knuth > \chapter{Chapt

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
: > Jim schrieb am 09.09.2023 um 20:11: >> Hi, >> I am creating a document which is divided with the unnumbered levels >> (\title, \subject, ...). >> I would like a table of contents showing the names and page numbers, >> something like >> Bla

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Lutz Haseloff
Hi Jim, perhaps does this work for you? \setuplist[chapter][headnumber=no] \setuphead[chapter][number=no] \starttext \completecontent \page \chapter{Chapter one} \input knuth \chapter{Chapter two} \input ward \stoptext Greetings Lutz Am 9. September 2023 20:11:55 MESZ schrieb

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
Jim schrieb am 09.09.2023 um 20:11: Hi, I am creating a document which is divided with the unnumbered levels (\title, \subject, ...). I would like a table of contents showing the names and page numbers, something like Blah blah blah2 Blah blah 4 ... However, notwithstanding what

[NTG-context] Table of contents of unnumbered titles

2023-09-09 Thread Jim
Hi, I am creating a document which is divided with the unnumbered levels (\title, \subject, ...). I would like a table of contents showing the names and page numbers, something like Blah blah blah2 Blah blah 4 ... However, notwithstanding what I see in https

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-09 Thread Henning Hraban Ramm
Am 08.09.23 um 19:37 schrieb Henning Hraban Ramm: But it uses its own page size, I don’t understand why. I need the bleed/trim area. If I use \setlayer in the setup, the content gets placed on the next page, i.e. under the text. \structureuservariable{image} in the setup gets the value

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
Am 08.09.23 um 17:02 schrieb Henning Hraban Ramm: We can discuss the details next week and you put the resulting template on the wiki. Ah, I guess I understand the template mechanism. Yet again glorious setups. Will probably manage. So far: \definepageinjection[chapter:start][ page=left

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
Am 08.09.23 um 16:21 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 08.09.2023 um 13:09: Am 08.09.23 um 12:35 schrieb Wolfgang Schuster: For images (and other content) which are placed on a separate page at the start of a chapter you can use the pageinjection mechanism which

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 08.09.2023 um 13:09: Am 08.09.23 um 12:35 schrieb Wolfgang Schuster: For images (and other content) which are placed on a separate page at the start of a chapter you can use the pageinjection mechanism which was added for this purpose. Thank you! You’re right

[NTG-context] textwide float too wide for text width

2023-09-08 Thread Henning Hraban Ramm
Hi, a current observation: I have some floats with text wide images like: \startplacefigure[location=top] \externalfigure[dummy][width=\textwidth] \stopplacefigure These were moved to the last page until I decreased the width minimally (by 0.1 mm). So I guess there’s a rounding error

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
Am 08.09.23 um 12:35 schrieb Wolfgang Schuster: For images (and other content) which are placed on a separate page at the start of a chapter you can use the pageinjection mechanism which was added for this purpose. Thank you! You’re right, that might be enough. (Documented only in https

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 08.09.2023 um 12:22: Hi, for an involved image placement (full page image starting each chapter, several stacked elements), I’d like an environment that accepts key-value arguments, like \startMyFigure[page=left,title={My caption}] \externalfigure[dummy

[NTG-context] how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
Hi, for an involved image placement (full page image starting each chapter, several stacked elements), I’d like an environment that accepts key-value arguments, like \startMyFigure[page=left,title={My caption}] \externalfigure[dummy]… \stopMyFigure I don’t think that a real float makes sense

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread jbf
alternative=d, which I confess I had entirely overlooked! Julian On 5/9/23 08:43, Max Chernoff wrote: Hi Julian, I am attempting to get a TOC that looks like the following (in other words with section titles and their relative page numbers in a block below the chapter): Has anyone put together a TOC

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread Max Chernoff
Hi Julian, > I am attempting to get a TOC that looks like the following (in other > words with section titles and their relative page numbers in a block > below the chapter): > Has > anyone put together a TOC of this kind and might be able to give me a > hint to follo

[NTG-context] Adjust width of section part of table of contents

2023-09-04 Thread Jeroen
The following is a setuplist for the table of contents. Is there a way to have the section part only go to 80% of the page width, similar to width=0.8\textwidth \setuplist [chapter] [style={\bf}] \setuplist [section] [style={\tfx}] \setuplist [chapter,section] [headnumber

[NTG-context] Re: Adjust pagenumbering while skipping first page

2023-09-04 Thread Jeroen
Pablo, Thanks, even though I use LMTX, only this form works: [\pagenumber{} of \the\numexpr\totalnumberofpages - 1\relax] Thanks Jeroen Op ma 4 sep 2023 om 18:43 schreef Pablo Rodriguez : > On 9/4/23 18:09, Jeroen wrote: > > The following MWE shows pagenumbering starting at the se

[NTG-context] Re: Adjust pagenumbering while skipping first page

2023-09-04 Thread Hans Hagen via ntg-context
On 9/4/2023 6:09 PM, Jeroen wrote: The following MWE shows pagenumbering starting at the second page with page number 1. With the totalnumberofpages we end up with one page too many. Is there a way to reduce this with 1? \setupfootertexts [title] [\pagenumber{} of \totalnumberofpages

[NTG-context] Re: Adjust pagenumbering while skipping first page

2023-09-04 Thread Pablo Rodriguez
On 9/4/23 18:09, Jeroen wrote: > The following MWE shows pagenumbering starting at the second page with > page number 1. With the totalnumberofpages we end up with one page too > many. Is there a way to reduce this with 1? Hi Jeroen, this might do the work (LMTX only): [\p

[NTG-context] Adjust pagenumbering while skipping first page

2023-09-04 Thread Jeroen
The following MWE shows pagenumbering starting at the second page with page number 1. With the totalnumberofpages we end up with one page too many. Is there a way to reduce this with 1? \setupfootertexts [title] [\pagenumber{} of \totalnumberofpages] \setcounter [userpage] [0

[NTG-context] Re: Different Layout for First Page

2023-09-04 Thread Wolfgang Schuster
Jeroen schrieb am 04.09.2023 um 14:10: I have a document with the first page in startfrontmatter and all other pages in  startbodymatter. The layout setting is as following [...] What would be the easiest way to change the layout only for the first page since it has no footer. For the first

[NTG-context] Different Layout for First Page

2023-09-04 Thread Jeroen
I have a document with the first page in startfrontmatter and all other pages in startbodymatter. The layout setting is as following \setuplayout [backspace=20mm, width=175mm, topspace=15mm, header=0mm, footer=2mm, height=275mm, bottomheight=1mm, footerdistance=10mm

[NTG-context] Re: Reinserting a section title followed by (continued) after a page break

2023-09-04 Thread Hans Hagen via ntg-context
coupled to this particular problem. However, the general approach was to use box registers to capture the portions of dialog marked using a command sequence (`\continue` in this case) that designates acceptable locations to insert a page break in the dialog. The markup is then placed

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread Wolfgang Schuster
jbf schrieb am 04.09.2023 um 08:34: I am attempting to get a TOC that looks like the following (in other words with section titles and their relative page numbers in a block below the chapter): Chapter 1 ...5 Section 1   5, Section 2  6

[NTG-context] TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread jbf
I am attempting to get a TOC that looks like the following (in other words with section titles and their relative page numbers in a block below the chapter): Chapter 1 ...5 Section 1   5, Section 2  6, Section 3  7, Section 4   8, Section 5   9

[NTG-context] Re: Reinserting a section title followed by (continued) after a page break

2023-09-03 Thread Calvin Ross
and tightly coupled to this particular problem. However, the general approach was to use box registers to capture the portions of dialog marked using a command sequence (`\continue` in this case) that designates acceptable locations to insert a page break in the dialog. The markup is then placed

[NTG-context] Re: (feature proposal) link to attachments: /GoToE

2023-09-03 Thread Hans Hagen
-acrobat-sdk-docs/pdfstandards/PDF32000_2008.pdf#G11.2048909). At least to begin with, only links to embedded children documents would be required. If this GoToR is generated by ConTeXt from "\goto{whatever}[destination-doc::page(15)]": 17 0 obj << /D [ 14 /Fit ] /F (des

[NTG-context] (feature proposal) link to attachments: /GoToE

2023-09-03 Thread Pablo Rodriguez
#G11.2048909). At least to begin with, only links to embedded children documents would be required. If this GoToR is generated by ConTeXt from "\goto{whatever}[destination-doc::page(15)]": 17 0 obj << /D [ 14 /Fit ] /F (destination-doc.pdf) /NewWindow true /S /GoT

[NTG-context] Re: attribute selection

2023-08-30 Thread Hans van der Meer via ntg-context
Finally I saw the problem. Calling \xmlfilter{#1}{./node/command(demo:attribute:node)} is the right way. Sorry for the noise. dr. Hans van der Meer > On 30 Aug 2023, at 13:49, Hans van der Meer via ntg-context > wrote: > > This line of code comes from the xml documentat

[NTG-context] attribute selection

2023-08-30 Thread Hans van der Meer via ntg-context
This line of code comes from the xml documentation (page 31): \xmlfilter{#1}{./node[@type=="cleanup"]} It should select among the 's those with . However, this node is not selected in the call to \xmlfilter. Where am I wrong? MWE follows % failure to typeset attribute selected. \setu

[NTG-context] TeX in Czech?

2023-08-30 Thread Henning Hraban Ramm
Hi, a friend just asked for a LaTeX book in Czech to give a PhD student for their birthday. According to https://www.cstug.cz/informace/literatura/, there are only outdated TeX books in Czech. Is that true? Looking at the CSTUG page, I wondered why our ConTeXt meeting isn’t listed in https

[NTG-context] Re: An strange error with section and page

2023-08-27 Thread Xavier B.
Thanks. It works. On Sun, 27 Aug 2023 21:24:54 +0200 Wolfgang Schuster ha escrit: > Am So., 27. Aug. 2023 um 19:54 Uhr schrieb Xavier B. >: > > > What is the state of this problem? > > Is it some deadline here? > > > > I need to have a "production" document in mid september to show to my > >

[NTG-context] Re: Bug between \definealternativestyle and makeup?

2023-08-27 Thread Alex Leray
\starttitlemakeup Title \stoptitlemakeup \stoptext /Mikael On Sun, Aug 27, 2023 at 9:32 PM Alex Leray wrote: Hi, I found that using \definealternativestyle in conjunction with Makeup insert a page before my Makeup page. Any idea? Thanks * * * \definecharacterkerning [mykerning] [factor=0.15

[NTG-context] Re: Bug between \definealternativestyle and makeup?

2023-08-27 Thread Mikael Sundqvist
 PM Alex Leray wrote: > > Hi, > > I found that using \definealternativestyle in conjunction with Makeup > insert a page before my Makeup page. > > Any idea? > > Thanks > > * * * > > \definecharacterkerning [mykerning] [factor=0.15] > \definealternativestyl

[NTG-context] Bug between \definealternativestyle and makeup?

2023-08-27 Thread Alex Leray
Hi, I found that using \definealternativestyle in conjunction with Makeup insert a page before my Makeup page. Any idea? Thanks * * * \definecharacterkerning [mykerning] [factor=0.15] \definealternativestyle[mystyle][{\setcharacterkerning[mykerning]}]. %%% BUG!!! \definemakeup [title

[NTG-context] Re: An strange error with section and page

2023-08-27 Thread Wolfgang Schuster
Am So., 27. Aug. 2023 um 19:54 Uhr schrieb Xavier B. : > What is the state of this problem? > Is it some deadline here? > > I need to have a "production" document in mid september to show to my > students. > Can you please make a "push" in this topic. > Just update your installation, the

[NTG-context] Re: An strange error with section and page

2023-08-27 Thread Xavier B.
What is the state of this problem? Is it some deadline here? I need to have a "production" document in mid september to show to my students. Can you please make a "push" in this topic. Thanks in advance, Xavier On Wed, 23 Aug 2023 22:04:36 +0200 Wolfgang Schuster ha escrit: > Xavier B.

[NTG-context] Re: An strange error with section and page

2023-08-24 Thread Xavier B.
Oh Awesome. I'm looking forward to the solution. Thanks a lot, Xavier On Wed, 23 Aug 2023 22:04:36 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 23.08.2023 um 15:02: > > Wolfgang, > > > > I detect something extrange: when I use \startexercici \stopexercici (see > >

[NTG-context] Re: An strange error with section and page

2023-08-23 Thread Wolfgang Schuster
Xavier B. schrieb am 23.08.2023 um 15:02: Wolfgang, I detect something extrange: when I use \startexercici \stopexercici (see [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-entorn-minimal.conTeXt]) in some cases there is an *undesired* indent (see attachment image). I saw the

[NTG-context] Re: An strange error with section and page

2023-08-23 Thread Xavier B.
On Tue, 22 Aug 2023 20:06:52 +0200 Wolfgang Schuster ha escrit: > While the solution here is to convert all subject headings to subsubject > (be sure to also take care > of even lower section) a quick way to fix the page break is to disable > the page-value for subject, > look a

[NTG-context] Re: An strange error with section and page

2023-08-22 Thread Wolfgang Schuster
Xavier B. schrieb am 22.08.2023 um 19:32: Hi, I have a long document [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-exercicis.conTeXt.pdf] which I migrated from MKIV to LMTX version of ConTeXt. As Wolfgang recommened. I migrated old syntax to new one and replace \page[yes

[NTG-context] An strange error with section and page

2023-08-22 Thread Xavier B.
Hi, I have a long document [https://repo.or.cz/apunts-espa-matematiques.git/blob/HEAD:/ng-exercicis.conTeXt.pdf] which I migrated from MKIV to LMTX version of ConTeXt. As Wolfgang recommened. I migrated old syntax to new one and replace \page[yes] before each section to \setupheads[section

[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Hans Hagen via ntg-context
On 8/22/2023 8:51 AM, Andres Conrado Montoya wrote: Apologies, I just found the solution: https://wiki.contextgarden.net/Command/setinjector El lun, 21 ago 2023 a las 23:43, Andres Conrado Montoya (< andresconr...@gmail.com>) escribió: I'm trying to force a page break in a table of co

[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Andres Conrado Montoya
Apologies, I just found the solution: https://wiki.contextgarden.net/Command/setinjector El lun, 21 ago 2023 a las 23:43, Andres Conrado Montoya (< andresconr...@gmail.com>) escribió: > I'm trying to force a page break in a table of contents, using what is > recommende

[NTG-context] Not getting a page break in the ToC

2023-08-21 Thread Andres Conrado Montoya
I'm trying to force a page break in a table of contents, using what is recommended at https://wiki.contextgarden.net/Table_of_Contents#Forced_Page_Break However, it does not work. Here's a MWE: \definelistextra[page][before=\page] \starttext \starttitle[title={Table of contents}] \placecontent

[NTG-context] Low res output possible?

2023-08-21 Thread Benjamin Buchmuller
(not figures.getinfo2) figures.getinfo2 = function(name, page) -- [ [NTG-context] Pdf info with Lua/Ctx API ] if type(name) == "string" then name = { name = name, page = page } end if name.name then local data = figures.push(name) local info = figures.identify()

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-21 Thread Hans Hagen
}] or \starttabulate[|p(.15\textwidth)s{nopenalties}|ps{nopenalties}|] but i admit it needs some thought ... outer level only but that is also pretty much an engine thing then (no big deal but ... needs pondering) Thanks, I guess that should be added to this page: https://wiki.contextgarden.net/Tabulate I'll

[NTG-context] Re: Penalties and overprinting in tabulate

2023-08-21 Thread denis.maier
=nopenalties] % in next version > > \setuptabulate[inner=\setups{nopenalties}] > > or > > \starttabulate[|p(.15\textwidth)s{nopenalties}|ps{nopenalties}|] > > but i admit it needs some thought ... outer level only but that is also pretty > much an engine thing then (no big de

[NTG-context] Applying \sc for smallcaps across styles

2023-08-19 Thread Hamid,Idris
on this, will update this quite obsolete page: https://wiki.contextgarden.net/Bold_small_caps Thank you in advance. Best wishes Idris PS Sometimes these inquiries may appear more verbose than needed. That is because I'm trying to write as clearly as possible, not only for the experts and masters

[NTG-context] Re: Some very simple cld - loading a module

2023-08-18 Thread Hamid,Idris
file ./test-luacode.tex: Undefined control sequence \translateinput [Hermes][Idris] === The reason for the error is that the module is not being loaded. Toggling back to context syntax, of course, works. Reference: ConTeXt Lua Documents by Hans Hagen, page 22. The following analogous cod

[NTG-context] Re: Some very simple cld - loading a module

2023-08-18 Thread Wolfgang Schuster
line 14 in file ./test-luacode.tex: Undefined control sequence     \translateinput     [Hermes][Idris] === The reason for the error is that the module is not being loaded. Toggling back to context syntax, of course, works. Reference: ConTeXt Lua Documents by Hans Hagen, page 22. The followin

[NTG-context] Some very simple cld - loading a module

2023-08-18 Thread Hamid,Idris
ror is that the module is not being loaded. Toggling back to context syntax, of course, works. Reference: ConTeXt Lua Documents by Hans Hagen, page 22. The following analogous code works: \startluacode context.startchapter{first} \stopluacode So how do we properly load the module from within a luac

[NTG-context] Re: disable header for endnotes

2023-08-16 Thread Rik Kabel
' on the recto page (or indeed be blank with no header), but I am currently getting the header that belongs to the main setup for headers, which happens to be: \startsetups[middle] \hfill \getmarking[section] \hfill \stopsetups \setupheadertexts [{\hfill\documentvariable{metadata:title

[NTG-context] disable header for endnotes

2023-08-16 Thread jbf
I wonder if someone might be able to help me with this. I have a book in three parts and the author wants endnotes. No problem. I can produce those with \setupfootnotes[location=text] and then \placefootnotes. However, I would like the header to read 'Notes' on the recto page (or indeed

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Xavier B.
rror: return code: 1 Thanks in advance, On Tue, 15 Aug 2023 21:44:53 +0200 Wolfgang Schuster ha escrit: > Xavier B. schrieb am 15.08.2023 um 21:36: > > On Tue, 15 Aug 2023 21:13:54 +0200 > > Wolfgang Schuster ha escrit: > > > >> There is also something wrong with th

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Wolfgang Schuster
Xavier B. schrieb am 15.08.2023 um 21:36: On Tue, 15 Aug 2023 21:13:54 +0200 Wolfgang Schuster ha escrit: There is also something wrong with the structure of your document when need \page[yes] after each file. Why is it trouble? When you start each subfile with \section or \subject you can

[NTG-context] itemize

2023-08-15 Thread Hans Hagen via ntg-context
Hi, There has been some additions to itemize wrt columns. One problem with columns is that we have a 'cross page' and 'balancing' situation. The existing columns features has been improved a bit. That leaves the problem that mixing single and multi columns is not really tex's strong point

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Xavier B.
On Tue, 15 Aug 2023 21:13:54 +0200 Wolfgang Schuster ha escrit: > > There is also something wrong with the structure of your document when > need \page[yes] after each file. Why is it trouble? __

[NTG-context] itemize

2023-08-15 Thread Hans Hagen via ntg-context
Hi, There has been some additions to itemize wrt columns. One problem with columns is that we have a 'cross page' and 'balancing' situation. The existing columns features has been improved a bit. That leaves the problem that mixing single and multi columns is not really tex's strong point

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Wolfgang Schuster
. There is also something wrong with the structure of your document when need \page[yes] after each file. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

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