Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
My mistake, but the problem survives the fix: \setuphead[section][after={\blank[samepage,big]}] \starttext \showframe \dorecurse{50}{a } \startsection[title=spec] \startxtable \startxrow \startxcell[ny=30]a\stopxcell\startxcell 1\stopxcell \stopxrow

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
On Tue, 10 Nov 2020 at 16:00, Pablo Rodriguez wrote: > On 11/10/20 9:55 AM, Sylvain Hubert wrote: > > Dear List, > > > > In the following example, the section title appears at the very end of > > the first page. > > [...] > > Does anyone know where to adjus

Re: [NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Pablo Rodriguez
On 11/10/20 9:55 AM, Sylvain Hubert wrote: > Dear List, > > In the following example, the section title appears at the very end of > the first page. > [...] > Does anyone know where to adjust the penalty in this case, so that the > section title can be repositioned to the n

[NTG-context] page ends with a section title followed by a table

2020-11-10 Thread Sylvain Hubert
Dear List, In the following example, the section title appears at the very end of the first page. \showframe \starttext \dorecurse{94}{a b c }\\ \dorecurse{94}{a b c }\\ \dorecurse{94}{a b c }\\ \dorecurse{94}{a b c }\\ \dorecurse{94}{a b c }\\ \dorecurse{30}{a b

Re: [NTG-context] \type{...} as macro argument

2020-11-08 Thread Sylvain Hubert
a b c} > > > > The naive way doesn't work because it makes all the spaces collapse: > > > > \define[1]\same{#1} > > > \definetype [typeTEX] [option=tex] > > \starttext > &

Re: [NTG-context] \type{...} as macro argument

2020-11-08 Thread Wolfgang Schuster
lapse:     \define[1]\same{#1} \definetype [typeTEX] [option=tex] \starttext \type{\startsection[title=\tex{type}]} \typeTEX{\startsection[title=\tex{typeTEX}]} \stoptext Wolfgang ___ If your question is of interest to o

Re: [NTG-context] temporarily move up a section title

2020-11-08 Thread Sylvain Hubert
On Sun, 8 Nov 2020 at 10:12, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> wrote: > Sylvain Hubert schrieb am 08.11.2020 um 03:19: > > Dear List, > > > > I'm trying to move up a section title (section b) 2cm upward: > > > > \starttext >

Re: [NTG-context] temporarily move up a section title

2020-11-08 Thread Sylvain Hubert
Hi Hraban, On Sun, 8 Nov 2020 at 07:57, Henning Hraban Ramm wrote: > > > > Am 08.11.2020 um 03:19 schrieb Sylvain Hubert : > > > > Dear List, > > > > I'm trying to move up a section title (section b) 2cm upward: > > > > \st

Re: [NTG-context] temporarily move up a section title

2020-11-08 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 08.11.2020 um 03:19: Dear List, I'm trying to move up a section title (section b) 2cm upward:     \starttext     \section{a}     \blank[-2cm,force]\ \blank[back,disable] Wol

Re: [NTG-context] temporarily move up a section title

2020-11-07 Thread Henning Hraban Ramm
> Am 08.11.2020 um 03:19 schrieb Sylvain Hubert : > > Dear List, > > I'm trying to move up a section title (section b) 2cm upward: > > \starttext > \section{a} > \blank[-2cm,force]\ > \section{b} > \section{c} > \stoptext >

[NTG-context] temporarily move up a section title

2020-11-07 Thread Sylvain Hubert
Dear List, I'm trying to move up a section title (section b) 2cm upward: \starttext \section{a} \blank[-2cm,force]\ \section{b} \section{c} \stoptext The empty space (\ ) after the \blank is necessary here, without which the \blank does nothing. I would like t

Re: [NTG-context] \section with userdata

2020-11-07 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 07.11.2020 um 22:42: The motivation of using \section was to avoid \stopsection, but I just found out that \stopsection is not really necessary. Now I would like to ask whether there is any difference between \section{Title} and \startsection[title=Title]. You get

Re: [NTG-context] \section with userdata

2020-11-07 Thread Sylvain Hubert
The motivation of using \section was to avoid \stopsection, but I just found out that \stopsection is not really necessary. Now I would like to ask whether there is any difference between \section{Title} and \startsection[title=Title]. Thanks. On Sat, 7 Nov 2020 at 22:33, Sylvain Hubert wrote

[NTG-context] \section with userdata

2020-11-07 Thread Sylvain Hubert
Dear List, it is known that we can supply additional userdata like authors to \startsection: \startsection[title=Title][author=Someone] so that the author can be included in the table of contents using \structurelistuservariable{author}. Now I would like to do the same with \section, but

Re: [NTG-context] Get section's uservarialbe inside the section

2020-11-07 Thread Wolfgang Schuster
Sylvain Hubert schrieb am 07.11.2020 um 20:32: Dear List, I have sections tagged with authors:     \startsection[title={Title}][author={Author}] ... \stopsection The authors were to be included in the table of contents using \structurelistuservariable{author}. Now I would also like to

[NTG-context] Get section's uservarialbe inside the section

2020-11-07 Thread Sylvain Hubert
Dear List, I have sections tagged with authors: \startsection[title={Title}][author={Author}] ... \stopsection The authors were to be included in the table of contents using \structurelistuservariable{author}. Now I would also like to mention the authors inside the sections, but

Re: [NTG-context] \blank[] doesn't work when nothing precedes it

2020-11-05 Thread Sylvain Hubert
> > Thu, Nov 05, 2020 ve 01:26:02PM +0100 Sylvain Hubert napsal(a): > #Dear List, > #I'm trying to put the document title at around .25\paperheight by > #inserting a \blank: > #\setuplayout[topspace=0cm, header=0cm, height=\paperheight] > #\st

Re: [NTG-context] \blank[] doesn't work when nothing precedes it

2020-11-05 Thread mf
Il 05/11/20 13:26, Sylvain Hubert ha scritto: Dear List, I'm trying to put the document title at around .25\paperheight by inserting a \blank:     \setuplayout[topspace=0cm, header=0cm, height=\paperheight]     \starttext \blank[.25\paperheight] foo \stoptext \blank[.25\paperh

Re: [NTG-context] \blank[] doesn't work when nothing precedes it

2020-11-05 Thread Tomas Hala
\blank[5*big] %\blank[20cc] foo \stoptext Maybe it will help you. The best, Tomáš Thu, Nov 05, 2020 ve 01:26:02PM +0100 Sylvain Hubert napsal(a): #Dear List, #I'm trying to put the document title at around .25\paperheight by #inserting a \blank: #    \setuplayout[topspac

[NTG-context] \blank[] doesn't work when nothing precedes it

2020-11-05 Thread Sylvain Hubert
Dear List, I'm trying to put the document title at around .25\paperheight by inserting a \blank: \setuplayout[topspace=0cm, header=0cm, height=\paperheight] \starttext \blank[.25\paperheight] foo \stoptext But the "foo" still appears at the very top. Does anyone know

Re: [NTG-context] context.delayed as parameter of setuphead[before=...]

2020-11-04 Thread Sylvain Hubert
again, sorry for replying on the wrong channel. On Wed, 4 Nov 2020 at 17:35, Hans Hagen wrote: > > it would harm performance because it involves parsing all values and > also ways around cases where the title is "function" (lieral text). > I'm not sure I understa

Re: [NTG-context] context.delayed as parameter of setuphead[before=...]

2020-11-04 Thread Hans Hagen
complete and consistent interface between tex and lua unless it would harm the functionality. it would harm performance because it involves parsing all values and also ways around cases where the title is "function" (lieral text). anyway, chapter (section) titles go tinto a toc

[NTG-context] How to reproduce a particular head/title style (reformat)

2020-11-03 Thread Garulfo
nt 2. on both side, section title are underlined by a red rule, always "left aligned" in the text area, shifted to the right by the same distance than it is done for the text of the title, which ends at the right border of the page 3. on the left page : section title are overli

Re: [NTG-context] Running mtxrun in a continuous batch mode

2020-11-03 Thread Ramkumar KB
tab['documentName'])} > > > > Any tips or pointers would be much appreciated. > foo.cld : > > require("util-jsn") > > -- local str = io.loaddata("somefile.json") > > local str = [[ { > "title": "Some JSON", > &q

[NTG-context] How to reproduce a particular head/title style

2020-11-03 Thread Garulfo
o describe the specification here : doublesided document on both side, section title are underlined by a red rule, always "left aligned" in the text area, shifted to the right by the same distance than it is done for the text of the title, whi

Re: [NTG-context] Running mtxrun in a continuous batch mode

2020-11-03 Thread Hans Hagen
require("test-json") \stopluacode The name of the document is \ctxlua{tex.print(tab['documentName'])} Any tips or pointers would be much appreciated. foo.cld : require("util-jsn") -- local str = io.loaddata("somefile.json") local str = [[ { &qu

Re: [NTG-context] context.delayed as parameter of setuphead[before=...]

2020-11-02 Thread Jairo A. del Rio
Sorry. What I meant is: when you use context.setuphead({'chapter'}, {title="Some text"}) at the Lua end, {'chapter'} and {title="Some text"} (notice "Some text" is a string, not a function) are Lua tables. TeX will print "Some text",

Re: [NTG-context] context.delayed as parameter of setuphead[before=...]

2020-11-02 Thread Sylvain Hubert
; for m = 1, 3 do > > context.setuphead({'chapter'}, {before='hello'}) > > context.startchapter({title="I'm a chapter!"}) > > for i = 1, 3 do > > context.input("knuth") > > end > > context.stopchapter() > >

Re: [NTG-context] context.delayed as parameter of setuphead[before=...]

2020-11-02 Thread Jairo A. del Rio
de.nl/general/manuals/cld-mkiv.pdf): \starttext \startluacode --First example for m = 1, 3 do context.setuphead({'chapter'}, {before='hello'}) context.startchapter({title="I'm a chapter!"}) for i = 1, 3 do context.input("knuth") end context.stopch

Re: [NTG-context] context.delayed is incompatible with some functions

2020-11-01 Thread Hans Hagen
27;m referring to a proper use of the existing definition of "\chapter" instead of any faked duplication of it that visually resembles a chapter title. by design \ctxlua{context.chapter(context.delayed("one"))} \setuphead[chapter][exp

[NTG-context] context.delayed is incompatible with some functions

2020-11-01 Thread Sylvain Hubert
nstead of any faked duplication of it that visually resembles a chapter title. Thanks in advance. Best, Sylvain ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-

Re: [NTG-context] index entries postponed if sections are empty

2020-10-31 Thread Otared Kavian
rse{5}{% \startchapter[title={\recurselevel}] \dorecurse{5}{% \startsection[title={\fakewords{3}{5}}] \startcolor[white] a \stopcolor \index{Something}\index{A\recurselevel} } \stopchapter } \completeindex \stoptext Best regards: OK > On 31 Oct 2020, at 17:56, Henning Hraban Ramm wrote: >

[NTG-context] index entries postponed if sections are empty

2020-10-31 Thread Henning Hraban Ramm
didn’t help. The MWE shows that index entries in empty sections are ignored, i.e. “Something” is supposedly only on p.6: \usemodule[visual] \starttext \dorecurse{5}{% \startchapter[title={\recurselevel}] \dorecurse{5}{% \startsection[title={\fakewords{3}{5}}] \index{Something}\index{A

[NTG-context] [save] [setmatrix] [restore] and [latelua] messages on terminal

2020-10-30 Thread Aditya Mahajan
them. Here is a minimal example for the second message and I can also try to create one for the first: \starttext \startframedtext \startTABLE \NC \input knuth \NC[nr=2] \iftrialtypesetting\else\startplacefigure [location={right,high}, title={Blah blah blah

Re: [NTG-context] font rendering in bibliography

2020-10-28 Thread Xenos Athenaios
\starttext \startchapter[title={Introduction}] Someone who asks to a textbook in Philosophy to replace his own personnal thoughts and the necessary personnal self-education rooted within his own readings, \quote{would fail his own education}\footnote{\cite[alternative=entry][philosophie moderne

Re: [NTG-context] font rendering in bibliography

2020-10-27 Thread Denis Maier
with italics in the title of bibliographical references (I use a Jabref file along with ConTeXt). The title of books should be in italics, but it appears right now in the regular face. Do you have any idea of what it may be the origin of this problem ? Maybe it is within Jabref configuration t

Re: [NTG-context] font rendering in bibliography

2020-10-27 Thread Jano Kula
Hello, On Tue, 27 Oct 2020 at 12:15, Xenos Athenaios wrote: > > Dear ConTeXt fellows, > > With ConTeXT ConTeXt Process Management 1.03 > current version: 2020.09.20, I encounter some issue with italics in the > title of bibliographical references (I use a Jabref file along wi

[NTG-context] font rendering in bibliography

2020-10-27 Thread Xenos Athenaios
Dear ConTeXt fellows, With ConTeXT ConTeXt Process Management 1.03 current version: 2020.09.20, I encounter some issue with italics in the title of bibliographical references (I use a Jabref file along with ConTeXt). The title of books should be in italics, but it appears right now in the

Re: [NTG-context] Filler rules

2020-10-22 Thread Willi Egger
nt for the >> purpose I am looking for. > > You can try the \blackrule command to add a custom rule after your title. > > Wolfgang > > ___ > If your question is of interest to others as well, pl

Re: [NTG-context] Filler rules

2020-10-22 Thread Wolfgang Schuster
und is the fillers, which apparently are not meant for the purpose I am looking for. You can try the \blackrule command to add a custom rule after your title. Wolfgang ___ If your question is of interest to others as we

[NTG-context] Index formatting difference LMTX and MkIV redux

2020-10-21 Thread Rik Kabel
  [pinched crown quarto] \setuplayout [width=fit,   backspace=1.4in,    cutspace=1in,   leftmargin=0.65in,  rightmargin=0.65in] \setupregister   [index] [n=2, balance=no, maxwidth=4cm] \starttext \startchapter[title

Re: [NTG-context] A Spanish introduction to ConTeXt Mark IV

2020-10-15 Thread Joaquín Ataz López
footerdistance and footer. — The graphic showing the areas however is correct. page 139 at the top: \chapter[title=…,reference=..]. This should be \startchapter[title=…,reference=…] … \stopchapter Again, thank you for all your work! — Sorry “no hablo Espaniol”… Saludos cordiales -- Joaquín Ataz López

Re: [NTG-context] A Spanish introduction to ConTeXt Mark IV

2020-10-15 Thread Willi Egger
: \chapter[title=…,reference=..]. This should be \startchapter[title=…,reference=…] … \stopchapter Again, thank you for all your work! — Sorry “no hablo Espaniol”… Saludos cordiales Willi > On 14 Oct 2020, at 06:27, Joaquín Ataz López wrote: > > Sorry. By mistake I sent the message as a

Re: [NTG-context] Filler rules

2020-10-15 Thread Willi Egger
:33, Wolfgang Schuster > wrote: > > Willi Egger schrieb am 14.10.2020 um 15:48: >> Good afternoon! >> >> I am dealing with a book, which has a short black rule under the title of >> the chapters. >> >> I see, that the old rule mechanisms are no more a

Re: [NTG-context] A Spanish introduction to ConTeXt Mark IV

2020-10-15 Thread BPJ
aded at > https://webs.um.es/jal/docs/introCTX.pdf. Its title is "An Introduction > (not too short) to ConTeXt Mark IV". > Although I make my way through Spanish text with the help of half-forgotten "high school" Latin and Italian from 35 years ago plus Wiktionary this is the b

Re: [NTG-context] A Spanish introduction to ConTeXt Mark IV

2020-10-14 Thread Joaquín Ataz López
s/jal/docs/introCTX.pdf. Its title is "An Introduction (not too short) to ConTeXt Mark IV". ConTeXt is a wonderful document composition system, but there is not much literature to help you get into it, hence my initiative. The problem is that I've only been using ConTeXt for a short time and s

Re: [NTG-context] A Spanish introduction to ConTeXt Mark IV

2020-10-14 Thread Joaquín Ataz López
ttps://webs.um.es/jal/docs/introCTX.pdf. Its title is "An Introduction (not too short) to ConTeXt Mark IV". ConTeXt is a wonderful document composition system, but there is not much literature to help you get into it, hence my initiative. The problem is that I

[NTG-context] space between chapter and chapter number (in words)

2020-10-14 Thread jbf
}} {{\structurelistuservariable{year}}\crlf}%    \currentlistentrytitle % title    \doifsomething{\rawstructurelistuservariable{author}} {\crlf{\structurelistuservariable{author}}}%    \hfill\currentlistentrypagenumber % pagenumber \egroup    \egroup} \setuplabeltext   [en]   [ chapter=\bf Chapter

Re: [NTG-context] Filler rules

2020-10-14 Thread Wolfgang Schuster
Willi Egger schrieb am 14.10.2020 um 15:48: Good afternoon! I am dealing with a book, which has a short black rule under the title of the chapters. I see, that the old rule mechanisms are no more available in LMTX and are replaced by fillers. What mechanism do you mean, fillers are just a

[NTG-context] Filler rules

2020-10-14 Thread Willi Egger
Good afternoon! I am dealing with a book, which has a short black rule under the title of the chapters. I see, that the old rule mechanisms are no more available in LMTX and are replaced by fillers. Now with the following setup, I would expect a 50mm line placed centered. Hoewever this seems

Re: [NTG-context] A Spanish introduction to ConTeXt Mark IV

2020-10-14 Thread Jan U. Hasecke
Hola Joaquín, On 14.10.20 06:27, Joaquín Ataz López wrote: > Its title is "An Introduction (not too short) to ConTeXt Mark IV". what a great introduction! And just another hint for me to improve my Spanish. ;-) Jan U

Re: [NTG-context] A Spanish introduction to ConTeXt Mark IV

2020-10-14 Thread Rudolf Bahr
;ll do it right now): > > - > > Good morning to everyone. > > Although I guess it will not be of interest to most of the list members, I > wanted to communicate that I have written an introduction to ConTeXt Mark IV > in Spanish, which can be downloaded at > https://webs

Re: [NTG-context] A Spanish introduction to ConTeXt Mark IV

2020-10-13 Thread Jairo A. del Rio
> > Good morning to everyone. > > Although I guess it will not be of interest to most of the list members, > I wanted to communicate that I have written an introduction to ConTeXt > Mark IV in Spanish, which can be downloaded at > https://webs.um.es/jal/docs/introCTX.pd

[NTG-context] A Spanish introduction to ConTeXt Mark IV

2020-10-13 Thread Joaquín Ataz López
nterest to most of the list members, I wanted to communicate that I have written an introduction to ConTeXt Mark IV in Spanish, which can be downloaded at https://webs.um.es/jal/docs/introCTX.pdf. Its title is "An Introduction (not too short) to ConTeXt Mark IV". ConTeXt is

[NTG-context] A Spanish introduction to ConTeXt Mark IV

2020-10-13 Thread Joaquín Ataz López
Good morning to everyone. Although I guess it will not be of interest to most of the list members, I wanted to communicate that I have written an introduction to ConTeXt Mark IV in Spanish, which can be downloaded at https://webs.um.es/jal/docs/introCTX.pdf. Its title is "An Introdu

Re: [NTG-context] Some interaction questions

2020-10-13 Thread Denis Maier
"The concept of {\em bookmarks}", I'd prefer to just have "The concept of bookmarks". I know I can just use something like \startchapter[title=The concept of {\em bookmarks},     bookmark=The concept of bookmarks] But is there an setting for that?

Re: [NTG-context] Some interaction questions

2020-10-13 Thread Denis Maier
"The concept of {\em bookmarks}", I'd prefer to just have "The concept of bookmarks". I know I can just use something like \startchapter[title=The concept of {\em bookmarks},     bookmark=The concept of bookmarks] But is there an setting for that? Hi Den

Re: [NTG-context] Some interaction questions

2020-10-13 Thread Pablo Rodriguez
uot;The concept of > bookmarks". I know I can just use something like > \startchapter[title=The concept of {\em bookmarks}, >     bookmark=The concept of bookmarks] > But is there an setting for that? Hi Denis, I think this is what you want: \enabledirectives[

[NTG-context] Some interaction questions

2020-10-13 Thread Denis Maier
Hi, I have a few more question regarding interaction/PDF bookmarks and PDF links: - How can you ignore Commands in bookmarks? Like when instead of "The concept of {\em bookmarks}", I'd prefer to just have "The concept of bookmarks". I know I can just use something

Re: [NTG-context] footnotes in captions in floatcombinations

2020-10-11 Thread Henning Hraban Ramm
ateinserts % nop in LMTX \showframe \setupcaptions[ headstyle={\ss\bfx}, align={flushleft,high}, prefixsegments=none, location={bottom,low}, hang=yes, ] \setupfootnotes[ width=\textwidth, ] \starttext \startplacefigure[location=page,title={\fakewords{5}{7}\footnote{\fakewords{20}{30}}}]%

Re: [NTG-context] Split Table, don't repeat caption

2020-10-08 Thread Denis Maier
le of times, but I couldn't find an answer. If this doesn't help you have to provide a example. [...] Ok: = \setupcaption[table]     [location=top] \starttext \startplacetable[location=split,title={Title\footnote{footnote}}]     \bTABLE[split=yes]

Re: [NTG-context] Split Table, don't repeat caption

2020-10-07 Thread Denis Maier
swer. If this doesn't help you have to provide a example. [...] Ok: = \setupcaption[table]     [location=top] \starttext \startplacetable[location=split,title={Title\footnote{footnote}}]     \bTABLE[split=yes]     \bTABLEhead     \bTR \bTD Header 1 \eTD \bTD Hea

Re: [NTG-context] Sections in content: macros v text

2020-10-07 Thread Tomas Hala
>Thanks in advance for any hint. # > # >Best wishes, # > # >Tomáš # > # >MWE (TL2020): # >\starttext # >\define\name{aa} \startsection[title=\name,list=\name] \stopsection # >\define\name{bb} \startsection[title=\name,list=\name] \stopsection # >\completecontent

Re: [NTG-context] xml bookmarks + chapter no. in header

2020-10-07 Thread Pablo Rodriguez
On 10/7/20 5:06 PM, Tomas Hala wrote: > Hi, > > I tried > \setuphead[section][expansion=yes] > with no effect before I wrote my question to the list here. > > With the \setuphead, the .tuc file still contains macro names instead of the > text: > ["title"]=&q

Re: [NTG-context] Sections in content: macros v text

2020-10-07 Thread Wolfgang Schuster
discussed by I am not able to find any solution how to send the text "aa" to the content in this case. Thanks in advance for any hint. Best wishes, Tomáš MWE (TL2020): \starttext \define\name{aa} \startsection[title=\name,list=\name] \stopsection \define\name{bb} \startsection[title=\name,

Re: [NTG-context] xml bookmarks + chapter no. in header

2020-10-07 Thread Tomas Hala
Hi, I tried \setuphead[section][expansion=yes] with no effect before I wrote my question to the list here. With the \setuphead, the .tuc file still contains macro names instead of the text: ["title"]="\\expanded \\name ", whereas without it only: ["title"]=&q

Re: [NTG-context] xml bookmarks

2020-10-07 Thread Jano Kula
file > > > > ["titledata"]={ > >["label"]="section", > >["title"]="\\xmlatt {xml:name::4}{title}" > > > > and this reference ends up in bookmarks. Any advice on how to change it > > to text in bookmarks? > > H

Re: [NTG-context] xml bookmarks

2020-10-07 Thread Pablo Rodriguez
On 10/7/20 1:28 PM, Jano Kula wrote: > Hello to everybody! > > I have a similar problem as Tomas two days ago. When inserting bookmarks > from XML the reference to the node is stored in TUC file > >   ["titledata"]={ >    ["label"]="section", >

Re: [NTG-context] chapter no. in header

2020-10-07 Thread Tomas Hala
can’t find it: # I need not only the chapter title, but also the chapter number in my headertext. # # ATM I have (minus formatting): # # \setupheadertexts # [{\getmarking[section]}] # [{\pagenumber}] # [{\pagenumber}] # [{\getmarking[chapter]}] # # # # Hraban

[NTG-context] chapter no. in header

2020-10-07 Thread Henning Hraban Ramm
This should be simple, but I can’t find it: I need not only the chapter title, but also the chapter number in my headertext. ATM I have (minus formatting): \setupheadertexts [{\getmarking[section]}] [{\pagenumber}] [{\pagenumber}] [{\getmarking[chapter]}] Hraban

[NTG-context] xml bookmarks

2020-10-07 Thread Jano Kula
Hello to everybody! I have a similar problem as Tomas two days ago. When inserting bookmarks from XML the reference to the node is stored in TUC file ["titledata"]={ ["label"]="section", ["title"]="\\xmlatt {xml:name::4}{title}" and this

[NTG-context] solution to suppressing header in ToC

2020-10-06 Thread jbf
someone wishes to offer. The problem was that \definehead   [tochead]   [title] \starttochead[title={Contents}] \setupheader[state=stop]   \placecombinedlist[content] \stoptochead was giving me headers on the second and third pages of the ToC, and my publisher did not want those headers to appear

[NTG-context] header/footer in toc

2020-10-05 Thread jbf
I notice that when I use \definehead   [tochead]   [title] \starttochead[title={Contents}]   \placecombinedlist[content] \stoptochead I am getting header and footer still (not on the first page, but on following pages - the TOC runs into several pages). How can I prevent that happening, or

Re: [NTG-context] help with forced page break in TOC

2020-10-05 Thread jbf
=page}] But I have unnumbered items which are titles (mytitles), so I am not sure what to replace '6' with. I tried: \placecombinedlist[content][extras={mytitle title={Elements of Reading}=page}] since 'Elements of reading' is the title before which I want the page break to

Re: [NTG-context] help with forced page break in TOC

2020-10-05 Thread Willi Egger
s), so I am not sure > what to replace '6' with. I tried: > > \placecombinedlist[content][extras={mytitle title={Elements of > Reading}=page}] since 'Elements of reading' is the title before which I want > the page break to occur. This does not work. I tried variation of it,

[NTG-context] Sections in content: macros v text

2020-10-05 Thread Tomas Hala
how to send the text "aa" to the content in this case. Thanks in advance for any hint. Best wishes, Tomáš MWE (TL2020): \starttext \define\name{aa} \startsection[title=\name,list=\name] \stopsection \define\name{bb} \startsection[title=\name,list=\name] \stopsection \completecontent

[NTG-context] help with forced page break in TOC

2020-10-04 Thread jbf
unnumbered items which are titles (mytitles), so I am not sure what to replace '6' with. I tried: \placecombinedlist[content][extras={mytitle title={Elements of Reading}=page}] since 'Elements of reading' is the title before which I want the page break to occur. This does not wor

Re: [NTG-context] Protusion and spurios empty line

2020-10-03 Thread Wolfgang Schuster
this line removes the effect. (Somewhat long) Example below. Is there a fix for that? (\setupalign[tolerant,stretch] ... actually always advised when you use protrusion and/or expansion) I have that it my environment file already. Doesn't make a difference. The extra line is in the \t

Re: [NTG-context] color problem

2020-10-02 Thread Henri Menke
plus][h=606ABD] > > \definecolor[A4plus][h=FFC700] > > \definecolor[A5plus][h=D0202B] > > \definecolor[A6plus][h=EF8600] > > \definecolor[A7plus][h=0082AA] > > > \setupcolors[textcolor=A1plus] > > > \usemodule[tikz] > > > > \starttext >

[NTG-context] Protusion and spurios empty line

2020-10-01 Thread Denis Maier
ormal] \showframe \starttext \title{Philipp Lenhard. {\em Friedrich Pollock: Die graue Eminenz der Frankfurter Schule.} Berlin: Jüdischer Verlag im Suhrkamp Verlag, 2019. 383 Seiten, EUR 32.–, ISBN 978-3-633-54299-4} \input ward \title{Philipp Lenhard. {\em Friedrich Pollock: Die graue Eminen

[NTG-context] color problem

2020-10-01 Thread Susanne G. Loeber
=FFC700] \definecolor[A5plus][h=D0202B] \definecolor[A6plus][h=EF8600] \definecolor[A7plus][h=0082AA] \setupcolors[textcolor=A1plus] \usemodule[tikz] \starttext \startchapter[title={Colour test}, ref=colourtest] \startsection[title={Section}] \starttikzpicture \draw[text=A6plus] (0,0

Re: [NTG-context] no frontmatter head on recto page

2020-09-30 Thread jbf
hapter, on which my foreword definition is based, by default does not give a header on the first page. It is subsequent recto pages that are the problem. So, for example, the Foreword (which starts on a recto page) has three pages. The first, correctly, has no header. The second carries the book ti

[NTG-context] no frontmatter head on recto page

2020-09-30 Thread jbf
also have: \setupsectionblock[frontpart][page=yes] in case that is important as well. I am getting the verso page header (the book's title, obviously coming from the \documentvariable{metadata:title}), but not the recto header (in this case 'Foreword'). What am I doing wrong? I tried t

[NTG-context] correct vertical alignment in ToC

2020-09-29 Thread jbf
been acheived) I do not know how to get these precise margin (I presume?) distances. So, for example, the author for the Preface needs to line up directly under the author for the Foreword. And the title for Chapters One/Two and the date range for Chapter Three likewise. The 'Context'

Re: [NTG-context] Full page image and caption in another page?

2020-09-23 Thread Taco Hoekwater
side of the current page. But at least there is a command to typeset a caption standalone, so perhaps that will help? You would then *not* use the \startplacebigfigure, but place the caption and the image manually: \page \placefloatcaption[bigfigure][title={A cow}] \page \externalfigure[cow

[NTG-context] Full page image and caption in another page?

2020-09-22 Thread José de Mattos Neto
7;s no opposite location in setupcaption \starttext \showframe \dorecurse{2}{\input{knuth}} \setuppapersize[rotate] % this doesn't work because is in same page \startplacebigfigure[title={A cow}]{\externalfigure[cow]}\stopplacebigfigure \setuppapersize[def

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-20 Thread Henning Hraban Ramm
n current LMTX and MkIV. Hraban \usemodule[visual] \definecolor[fakerulecolor][c=.2,m=.1,k=.2] \useMPlibrary[dum] \automigrateinserts % nop in LMTX \showframe \setupcaptions[ headstyle={\ss\bfx}, align={flushleft,high}, hang=yes, ] \starttext \fakewords{10}{30} % Footnotes, but no co

Re: [NTG-context] \startstructurelevel

2020-09-20 Thread Denis Maier
Hi Otared, thanks! That worked. Best, Denis Am 20.09.2020 um 11:23 schrieb Otared Kavian: Hi Denis, Does \startstructurelevel[title={Bibliography},number=no] \stopstructurelevel give what you want? Best regards: Otared K. On 20 Sep 2020, at 10:39

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-20 Thread Henning Hraban Ramm
tnotes, but no combination %\startplacefigure[location=none] %\startfloatcombination[2*1] \startplacefigure[title={1 Image with footnote\footnote[f:1]{\input lorem }}] \externalfigure[001][width=.34\textwidth] \stopplacefigure \startplacefigure[title={2 Another image with footnote\footno

Re: [NTG-context] \startstructurelevel

2020-09-20 Thread Otared Kavian
Hi Denis, Does \startstructurelevel[title={Bibliography},number=no] \stopstructurelevel give what you want? Best regards: Otared K. > On 20 Sep 2020, at 10:39, Denis Maier wrote: > > Hi, > > I'm using \startstructurelevel so I can n

Re: [NTG-context] Best way to store text for later use

2020-09-18 Thread Hans van der Meer
> volume=\xmlfilter{#1}{/volume/command(xml:article-meta:volume)}, > doi=\xmlfilter{#1}{/article-id[@pub-id-type='doi']/command(xml:article-meta:doi)}, > elocation-id=\xmlfilter{#1}{/elocation-id/command(xml:article-meta:elocation-id)}, > title=\xmlfilter{#1}{/tit

[NTG-context] Best way to store text for later use

2020-09-18 Thread Denis Maier
:year)}, volume=\xmlfilter{#1}{/volume/command(xml:article-meta:volume)}, doi=\xmlfilter{#1}{/article-id[@pub-id-type='doi']/command(xml:article-meta:doi)}, elocation-id=\xmlfilter{#1}{/elocation-id/command(xml:article-meta:elocation-id)}, title=\xmlfilter{#1}{/title-group/article-title/comma

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-16 Thread Henning Hraban Ramm
>> \starttext >> \input lorem >> \startplacefigure[location=none] >> \startfloatcombination[2*1] >> \startplacefigure[title={Left Image\footnote[f:3]{\input knuth }}] >> \externalfigure[003][width=.48\textwidth] >> \stopplacefigure >> \startplacefigure[title={Rig

[NTG-context] Fwd: Re: footnotes in captions in floatcombinations

2020-09-16 Thread Hans Hagen
nothing in lmtx \showframe \starttext \input lorem \startplacefigure[location=none] \startfloatcombination[2*1] \startplacefigure[title={Left Image\footnote[f:3]{\input knuth }}] \externalfigure[003][width=.48\textwidth] \stopplacefigure \startplacefigure[title={Right Image\footnote[f:4

[NTG-context] sidefloats and narrower

2020-09-16 Thread Henning Hraban Ramm
=\stopquotation] \starttext %\fakewords{50}{60} \startplacefigure[location={right,-line},title={\fakewords{7}{10}}] \externalfigure[022][width=0.33\textwidth,height=0.75\textheight] \stopplacefigure \startZitat \fakewords{30}{60} \stopZitat \fakewords{30}{60} \startZitat \fakewords{15}{20

Re: [NTG-context] footnotes in captions in floatcombinations

2020-09-16 Thread Henning Hraban Ramm
. \useMPlibrary[dum] \automigrateinserts \showframe \starttext \input lorem \startplacefigure[location=none] \startfloatcombination[2*1] \startplacefigure[title={Left Image\footnote[f:3]{\input knuth }}] \externalfigure[003][width=.48\textwidth] \stopplacefigure \startplacefigure[title={Right Image

Re: [NTG-context] Footnote font size equal to main text font size

2020-09-16 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 15.09.2020 um 04:38: Hi, list. I've adapted the following example from the mailing list. My aim is to use endnotes for each chapter: \mainlanguage[es] \definehead[footnotetitle][title] \startsetups[chapter:after] \ifcase\rawcountervalue[footnote]\relax      

Re: [NTG-context] Footnote font size equal to main text font size

2020-09-16 Thread Henning Hraban Ramm
> Am 15.09.2020 um 04:38 schrieb Jairo A. del Rio : > > Hi, list. I've adapted the following example from the mailing list. My aim is > to use endnotes for each chapter: > > \mainlanguage[es] > \definehead[footnotetitle][title] > \startsetups[chapter:after] >

[NTG-context] Footnote font size equal to main text font size

2020-09-14 Thread Jairo A. del Rio
Hi, list. I've adapted the following example from the mailing list. My aim is to use endnotes for each chapter: \mainlanguage[es] \definehead[footnotetitle][title] \startsetups[chapter:after] \ifcase\rawcountervalue[footnote]\relax \else \startfootnotetitle[title={

[NTG-context] footnotes in captions in floatcombinations

2020-09-14 Thread Henning Hraban Ramm
floatcombinations without footnotes. Please let there be an easy fix... Hraban \useMPlibrary[dum] \automigrateinserts \showframe \starttext \input knuth %\startplacefigure[location=none] %\startfloatcombination[2*1] \startplacefigure[title={Image with footnote\footnote[f:1]{foo bar baz

<    8   9   10   11   12   13   14   15   16   17   >