[NTG-context] caption for moved sidefloat in the margin

2023-07-30 Thread Henning Hraban Ramm
tmargindistance=-\rightmargintotal, default={inner,none,low,high}, ] \setupcaption[marginfigure][ style={\ss\tfx}, align={flushleft}, width=\leftmarginwidth, %location={innermargin,low}, ] \starttext \showframe \startplacemarginfigure[ location={inner,3*hang}, title={My caption shou

[NTG-context] Key distance with enumeration

2023-07-27 Thread Fabrice Couvreur
Hi, I don't understand why the distance between the dot and the first letter of the text is not always the same (see with theorem). Thanks Fabrice \setupenumerations [before={\blank}, after={\blank}, alternative=serried, distance=1cm, title=yes, titleleft=, titleright

[NTG-context] Re: xml: matches always child of other element

2023-07-27 Thread denis.maier
\startsectionlevel[title={\xmlfilter{#1}{/index-title-group/title/command(xml:index-title)}},] \xmlflush{#1} \stopsectionlevel \stopxmlsetups \startxmlsetups xml:index-title \xmlflush{#1} \stopxmlsetups \definedescription[indexentry] [alternative=top

[NTG-context] Re: xml: matches always child of other element

2023-07-24 Thread denis.maier
\startsectionlevel[title={\xmlfilter{#1}{/index-title-group/title/command(xml:index-title)}},] \xmlflush{#1} \stopsectionlevel \stopxmlsetups \startxmlsetups xml:index-title \xmlflush{#1} \stopxmlsetups \definedescription[indexentry] [alternative

[NTG-context] xml: matches always child of other element

2023-07-24 Thread denis.maier
\xmlflush{#1} \stopxmlsetups \startxmlsetups xml:index \startsectionlevel[title={\xmlfilter{#1}{/index-title-group/title/command(xml:index-title)}},] \xmlflush{#1} \stopsectionlevel \stopxmlsetups \startxmlsetups xml:index-title \xmlflush{#1

[NTG-context] Re: Suppress label in captions without suppressing number

2023-07-20 Thread Hans Hagen
? \definefloat[NLfigure][figure] \setuplabeltext[en][NLfigure=] \starttext \samplefile{ward} \startplacefigure[title={oeps}] \stopplacefigure \samplefile{tufte} \startplaceNLfigure[title={oeps}] \stopplaceNLfigure \samplefile{tufte} \stoptext

[NTG-context] Link from a PDF to a reference of an embedded PDF

2023-07-20 Thread Gerion Entrup
nk to them within the main context document? In [2], I found something maybe related but it requires a tuc file. Example: inner.tex: ``` \starttext \startsection[title=References, reference=sec:ref] Some text \placeformula[eq:foo] \startformula 1 + 2 = 3 \stopformula or: \startitemize[n]

[NTG-context] Re: new upload

2023-07-10 Thread Hans Hagen
} \dorecurse{4}{\samplefile{tufte}\par} } \stoptext \stopbuffer \startplacefigure[location=here,reference=fig:vz-1,title={Cheating with vertical expansion: \type {[vz=no]}.}] \startcombination[4*1] {\typesetbuffer[vz-1][width=\combinationwidth,page=1,frame=on]} {} {\typesetbuffer[vz-1

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
Alan Braslau schrieb am 06.07.2023 um 17:14: On 06/07/23 06/07/23, 17:07, Wolfgang Schuster wrote: Add "doublesided=no" to your makeup settings. Wolfgang Thank you. I have doublesided=no in the makeup, but this makeup is not used by \startpagefigure. The problem is with \startpagefigure

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
On 06/07/23 06/07/23, 17:07, Wolfgang Schuster wrote: Add "doublesided=no" to your makeup settings. Wolfgang Thank you. I have doublesided=no in the makeup, but this makeup is not used by \startpagefigure. The problem is with \startpagefigure that is outside of makeup, that is it is

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
e after the backside title page. I don’t know if it helps, but did you set \setupsectionblock[frontpart][page=no] ? I had \setupsectionblock[frontpart][page=] and setting page=no does not change anything. I get the same behavior in my Volume 2 product, which does not have any \frontmatter.

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
] back \stopmakeup \startfrontmatter ... \stopfrontmatter ... \stopdocument inserts a "blank" page (with header/footer) between the two Coverpages and a second "blank" page after the backside title page. Not including the two \startpagefigure lines eliminates the blank page

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Henning Hraban Ramm
Am 06.07.23 um 11:58 schrieb Alan Braslau: Maybe it’s also a problem of \startdocument – I always get a first empty page and don’t understand why. One gets an empty first page if there is *any* text content anywhere in the setups or environment files before the \startdocument. My problem

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
On 06/07/23 06/07/23, 10:14, Henning Hraban Ramm wrote: Am 06.07.23 um 09:34 schrieb Alan Braslau via ntg-context: inserts a "blank" page (with header/footer) between the two Coverpages and a second "blank" page after the backside title page. I don’t know if it he

[NTG-context] definedocument, begin & closing

2023-07-06 Thread Henning Hraban Ramm
Hi, if I use \startdocument, the setups "document:start" and "document:stop" get inserted at the beginning and end. But if I define my own document, it doesn’t work. What’s wrong? """ \definedocument[presentation] \startsetups[presentation:start] {\bfd\d

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Henning Hraban Ramm
Am 06.07.23 um 09:34 schrieb Alan Braslau via ntg-context: inserts a "blank" page (with header/footer) between the two Coverpages and a second "blank" page after the backside title page. I don’t know if it helps, but did you set \setupsectionblock[frontpart][page=no

[NTG-context] Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
... \stopdocument inserts a "blank" page (with header/footer) between the two Coverpages and a second "blank" page after the backside title page. Not including the two \startpagefigure lines eliminates the blank page following the back side title page (and the other one between

Re: [NTG-context] expansion of section title

2023-06-27 Thread Henning Hraban Ramm via ntg-context
Am 27.06.23 um 21:01 schrieb Wolfgang Schuster via ntg-context: Henning Hraban Ramm via ntg-context schrieb am 27.06.2023 um 20:55: \defineregister[todos] % add a "todos" index entry with the current section title \define[1]\TODO{\todos{\structurevariable{title}}} \chapter{Someth

[NTG-context] Problem with bibliography in apa

2023-06-27 Thread Marcelo Chaparro via ntg-context
n-existent. -- The source code is: \usebtxdataset[biblio.bib] \usebtxdefinitions[apa] \starttext \startchapter[title={A Chapter}] A text \cite[book1]. And \cite[book2] \stopchapter \startchapter[title=Bibliography] \placelistofpu

Re: [NTG-context] expansion of section title

2023-06-27 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 27.06.2023 um 20:55: \defineregister[todos] % add a "todos" index entry with the current section title \define[1]\TODO{\todos{\structurevariable{title}}} \chapter{Something} \TODO{This is still empty!} % at the end of the book \chapter

[NTG-context] expansion of section title

2023-06-27 Thread Henning Hraban Ramm via ntg-context
I think I had a good idea how to keep an overview of the “todos” in my book project: \defineregister[todos] % add a "todos" index entry with the current section title \define[1]\TODO{\todos{\structurevariable{title}}} \chapter{Something} \TODO{This is still empty!} % at the end o

[NTG-context] floatcombinations seem to not work correctly after lmtx update

2023-06-19 Thread Gerion Entrup via ntg-context
] \definefloat[subfigure][local=yes] \setupcaption[subfigure][numberconversion=a, prefix=no, headseparator={)}] \setuplabeltext[subfigure=] \appendvalue{stopplacefigure}{\resetcounter[subfigure]} \starttext test sdlkf jlsdjf lksjdf \startplacefigure[title=Test] \startfloatcombination[nx=3

Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-18 Thread Hans Hagen via ntg-context
it nor number of copies limit as far as I can see - just one eBook licence per title. Maybe there will be VAT etc added when you get to checkout - I didn't go that far. Yes, but it smells a bit like some clone. I have an official optima nova cd (in type one format, i can't afford the opentype rig

Re: [NTG-context] Off topic: Does a 'free for commercial use' flared-sans font exist in the world?

2023-06-18 Thread Bruce Horrocks via ntg-context
guessing you'll need two: desktop in order to install on a PC and publish a printed book, and eBook to allow distribution of a PDF or eBook, so 33 USD in total. There's no time limit nor number of copies limit as far as I can see - just one eBook licence per title. Maybe there will be VAT etc added when

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-11 Thread Wolfgang Schuster via ntg-context
Alan Braslau schrieb am 11.06.2023 um 20:12: On 10/06/23 10/06/23, 12:42, Wolfgang Schuster via ntg-context wrote: Alan Braslau via ntg-context schrieb am 10.06.2023 um 12:28: Hello, \setuphead   [part,chapter,title]   [page=right] will start a part, chapter, or title on an odd page (right

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-11 Thread Alan Braslau via ntg-context
On 10/06/23 10/06/23, 12:42, Wolfgang Schuster via ntg-context wrote: Alan Braslau via ntg-context schrieb am 10.06.2023 um 12:28: Hello, \setuphead   [part,chapter,title]   [page=right] will start a part, chapter, or title on an odd page (right), inserting a "blank" even page if

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-10 Thread Wolfgang Schuster via ntg-context
Alan Braslau via ntg-context schrieb am 10.06.2023 um 12:28: Hello, \setuphead   [part,chapter,title]   [page=right] will start a part, chapter, or title on an odd page (right), inserting a "blank" even page if necessary. How can I get this blank even page to be tr

[NTG-context] setuphead page=right and blank even page.

2023-06-10 Thread Alan Braslau via ntg-context
Hello, \setuphead [part,chapter,title] [page=right] will start a part, chapter, or title on an odd page (right), inserting a "blank" even page if necessary. How can I get this blank even page to be truely blank, that is with no headers nor footers? I tried several think

Re: [NTG-context] SOLVED: text under page floats

2023-06-02 Thread Henning Hraban Ramm via ntg-context
Am 24.05.23 um 21:07 schrieb Henning Hraban Ramm via ntg-context: If the page float is placed before a title, the next section starts below the float. This is solved now after a one-line fix by Hans. (And I was dense.) Hraban

Re: [NTG-context] text under page floats

2023-05-24 Thread Henning Hraban Ramm via ntg-context
I found a MWE that shows the problem: """ \setuppapersize[C5] \showframe \starttext \startplacefigure[location=page,title={Pagefloat}] \framed[width=\textwidth,height=.75\textheight]{TEST} \stopplacefigure \dorecurse{4}{\section{Tufte \recurselevel} \samplefile{tuf

Re: [NTG-context] text under page floats

2023-05-24 Thread Henning Hraban Ramm via ntg-context
Am 24.05.23 um 16:44 schrieb Henning Hraban Ramm via ntg-context: Hi, in more than one of my books, I struggle with some lines of text below page floats. They start below the regular text area (i.e. in the bottom) and can even consist of a table float or a section title. I can’t reproduce

[NTG-context] text under page floats

2023-05-24 Thread Henning Hraban Ramm via ntg-context
Hi, in more than one of my books, I struggle with some lines of text below page floats. They start below the regular text area (i.e. in the bottom) and can even consist of a table float or a section title. I can’t reproduce it in a simple example like this: """ \starttex

Re: [NTG-context] Module authors: please update your metadata

2023-05-15 Thread Jairo A. del Rio via ntg-context
ndlecsv (newer than in dl) > t-layout > t-letter > t-lettrine > t-lilypond (not in dl, obsolete) > t-mathsets > t-rst > t-ruby > t-simplefonts > t-simpleslides > t-tikz > t-title > t-transliterator > t-typearea > t-typescripts > t-vim > t-visualcou

Re: [NTG-context] installer

2023-05-13 Thread Axel Kielhorn via ntg-context
lides stormfontsupport sudoku taspresent texshow tikz title transliterator typearea typescripts urwgaramond urwgothic vim visualcounter I’m on macOS 11.7 using zsh, but that shouldn’t matter. Greetings Axel ___ I

[NTG-context] Custom TOC with makeup and setups

2023-05-10 Thread Jethro Djan via ntg-context
, footerstate=empty, before=\setups{standard:setups}, ] \startsetups standard:setups \setupbackgrounds[page][background=color, backgroundcolor=lightgray] \stopsetups \define\TOC{ \starttocmakeup \stoptocmakeup } \starttext \startstandardmakeup \title{Your Title Here} \stopstandardmakeup

Re: [NTG-context] How to show bibliography only for the chapter?

2023-05-06 Thread Alan Braslau via ntg-context
or the whole document. How can I limit the list to the > material falling within that chapter? > >     \starttext >     \startchapter[title={Robots}] >     \input knuth    \cite[source1] >     \placelistofpublications[criteria=bychapter] >     \plac

[NTG-context] How to show bibliography only for the chapter?

2023-05-06 Thread Joel via ntg-context
?     \starttext     \startchapter[title={Robots}]     \input knuth    \cite[source1]     \placelistofpublications[criteria=bychapter]     \placelistofpublications[way=bychapter]    \placelistofpublications[criteria=chapter]     \stopchapter

Re: [NTG-context] how access to \namedstructurevariable [next / previous]

2023-04-29 Thread Garulfo via ntg-context
ad [section] [color=darkred,style=\tfc,inbetween={\mono{\CheckC}}] \setuphead [subsection] [inbetween=] \starttext \startsection[title=Section A] Text of section A. \startsubsection[title=SubSection A.A] Text of subsection A.A \stopsubsection \stopsection

[NTG-context] how access to \namedstructurevariable [next / previous]

2023-04-29 Thread Garulfo via ntg-context
Hi all, I would like to use the title and the number of a section twice : - first with a specific layout (with makeup) - second, as usual, as part of the page flow. like in : http://www.pragma-ade.nl/general/manuals/cont-enp.pdf#page=23 looking at the source code (http://context.aanhet.net

Re: [NTG-context] tikz + lmtx

2023-04-28 Thread Aditya Mahajan via ntg-context
> > when running the example from contextgarden: > https://wiki.contextgarden.net/Pgfplot > > \setupcolors[state=start] > \usemodule[tikz] > \usemodule[pgfplots] > \starttext > \starttikzpicture > \startaxis[ > xmin=0,xmax=300, > title=http://cryogenics.nis

Re: [NTG-context] tikz + lmtx

2023-04-28 Thread Floris van Manen via ntg-context
] \usemodule[tikz] \usemodule[pgfplots] \starttext \starttikzpicture \startaxis[ xmin=0,xmax=300, title=http://cryogenics.nist.gov/, xlabel=$T$ (K), ylabel=$(L-L_{293})/L_{293}$, legend style={at={(0.95,0.05)},anchor=south east}, width=16cm ] \addplot[mark=none,color=red] plot file {sapphire.dat

[NTG-context] tikz + lmtx

2023-04-27 Thread Aditya Mahajan via ntg-context
having issues with tikz could test if this fixes everything and, if so, we can add this to the distribution. Aditya%D \module %D [ file=m-tikz, %Dversion=2021.07.12, %D title=\CONTEXT\ Extra Modules, %D subtitle=TIKZ support, %D author=Hans Hagen, %D

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
An extra parenthesis in a section title seems to be the problem but I'm not sure. I compiled the file line by line and it works now. Thanks Fabrice Le ven. 21 avr. 2023 à 14:37, Hans Hagen via ntg-context a écrit : > On 4/21/2023 5:05 PM, Fabrice Couvreur via ntg-context wrote: >

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
pear. On the other >> > hand, the 12 chapters are present. >> >> \startproduct[terminale-manual] >> >> \startfrontmatter >> \starttitle[title=Table des matières] >> \placelist >> [cha

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
I don't see why the table of contents does not appear. On the other > > hand, the 12 chapters are present. > > \startproduct[terminale-manual] > > \startfrontmatter > \starttitle[title=Table des matières] > \placelist >

Re: [NTG-context] Table of contents not appearing.

2023-04-20 Thread Hans Hagen via ntg-context
On 4/20/2023 6:59 PM, Fabrice Couvreur via ntg-context wrote: Hi, I don't see why the table of contents does not appear. On the other hand, the 12 chapters are present. \startproduct[terminale-manual] \startfrontmatter \starttitle[title=Table des matières] \placelist

[NTG-context] Table of contents not appearing.

2023-04-20 Thread Fabrice Couvreur via ntg-context
] [SansBold*default sa 2.2] \setuphead [title] [style=ChapterTextStyle, align=flushright] \setuplist [chapter] [style=bold, alternative=b, width=1em] \setuplist [section] [margin=1em, width=1.75em

Re: [NTG-context] Non-standard font alternatives

2023-04-19 Thread Pawel Urbanski via ntg-context
[roboto] \setuphead[chapter] [style={\switchtobodyfont[roboto,20pt]\ss}] \starttext      \startchapter[title=Whatever is the best title]          \input tufte      \stopchapter \startchapter[title={Just a second title}] Some random text. \stopchapter \stoptext \definefontfeature[robotofeatures

Re: [NTG-context] Kaktovik numerals

2023-04-19 Thread Hans Hagen via ntg-context
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - %D \module %D [ file=meta-imp-kaktovik, %Dversion=2023.04.18, %D title=\METAPOST\ Graphics, %D subtitle=Kaktovik Numbers, %D author

Re: [NTG-context] Google's Roboto Flex font typescript and goodies definition.

2023-04-18 Thread Hans Hagen via ntg-context
] [ebgaramond] [default] \stoptypescript \setupbodyfont[robocop] \setuphead[chapter][style=\ssbfd] \starttext \startchapter[title=Whatever] \input tufte \stopchapter \page \usemodule[fonts-variable] \showfontvariations[font=file:robotoflex.ttf] \stoptext

Re: [NTG-context] Kaktovik numerals

2023-04-18 Thread Hans Hagen via ntg-context
-pod.nl - meta-imp-kaktovik.pdf Description: Adobe PDF document %D \module %D [ file=meta-imp-kaktovik, %Dversion=2023.04.18, %D title=\METAPOST\ Graphics, %D subtitle=Kaktovik Numbers, %D author

Re: [NTG-context] Module authors: please update your metadata

2023-04-14 Thread Rik Kabel via ntg-context
-mathsets t-rst t-ruby t-simplefonts t-simpleslides t-tikz t-title t-transliterator t-typearea t-typescripts t-vim t-visualcounter Some of these are probably outdated, I didn’t check. If you know something is obsolete, please let us know or remove it yourself, if you still know your account data

[NTG-context] Module authors: please update your metadata

2023-04-14 Thread Henning Hraban Ramm via ntg-context
-handlecsv (newer than in dl) t-layout t-letter t-lettrine t-lilypond (not in dl, obsolete) t-mathsets t-rst t-ruby t-simplefonts t-simpleslides t-tikz t-title t-transliterator t-typearea t-typescripts t-vim t-visualcounter Some of these are probably outdated, I didn’t check. If you know something

[NTG-context] Trial to use LibreOffice Calc (+ python) to build ConTeXt customized environnements files

2023-04-10 Thread Garulfo via ntg-context
4cm]}, ] \setuphead [chapter] [ style=\bfc, textcolor=Couleur2, numbercolor=CouleurContraste2, sectionsegments=1:2, page=yes, align=flushleft, ] \setuphead [title] [ ] \setuphead [section] [ style=\bfb, textcolor=Couleur3, numbercolor=CouleurContraste3,

[NTG-context] Userdata environment

2023-04-03 Thread Fabrice Couvreur via ntg-context
] \setuplayout [width=12cm, rightmargin=60mm] \setupenumerations [before={\blank}, after={\blank}, alternative=serried, distance=0.5em, title=yes, titleleft=, titleright=, titlestyle=normal, headcommand=\groupedcommand{}{.}, numbercommand=\groupedcommand

Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Alan Braslau via ntg-context
= > > We added the tex of the pdf below > > == extract from roadmap == > > \usemodule[article-basic,abbreviations-logos] > > \setupbodyfont[concrete] > > \starttext > > \startsubject[title=Math in \CONTEXT\ roadmap] > > \startitemize[n]

Re: [NTG-context] update / punctuation / math

2023-04-01 Thread Willi Egger via ntg-context
is still experimental and can have issues that we're looking at but hard > to nail down (huge complex cross-referencing documents). More about that > later. > > == > > We added the tex of the pdf below > > == extract from roadmap

[NTG-context] update / punctuation / math

2023-04-01 Thread Hans Hagen via ntg-context
dmap == \usemodule[article-basic,abbreviations-logos] \setupbodyfont[concrete] \starttext \startsubject[title=Math in \CONTEXT\ roadmap] \startitemize[n] \startitem After playing with math support for more than a year, we have come to the conclusion that it is time to move on. We have alr

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-31 Thread Willi Egger via ntg-context
the chapter >> number only. >> >> How to get the numbering right? >> >> Kind regards >> Willi >> >> The following example shows what happens: >> >> \useMPlibrary[dum] >> >> \definefloat[Afigure][Afigures][figures] >> \def

Re: [NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Alan Braslau via ntg-context
> [placehead=yes, >page=yes] > > \setuphead > [chapter] > [page=no] > > \starttext > > \starttitle[title=List of figures] > \startsubject[title=Figures (predefined figureenvironment)] > \placelistoffigures > \stopsubject > > \startsub

[NTG-context] Numbering of figures after defining a new float

2023-03-30 Thread Willi Egger via ntg-context
=yes] \setuphead [chapter] [page=no] \starttext \starttitle[title=List of figures] \startsubject[title=Figures (predefined figureenvironment)] \placelistoffigures \stopsubject \startsubject[title=Figures A] \placelistofAfigures \stopsubject \startsubject

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-27 Thread Willi Egger via ntg-context
gt;> On 26 Mar 2023, at 12:51, Henning Hraban Ramm via ntg-context >>> wrote: >>> >>> Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: >>>> Good evening! >>>> I have a setup in which I need to send info to the TOC: >>>> C

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-27 Thread Hans Hagen via ntg-context
, at 12:51, Henning Hraban Ramm via ntg-context wrote: Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: Good evening! I have a setup in which I need to send info to the TOC: Consider the following example: \starttext \starttitle[title=Contents] \placelist[chapter][criterium=all

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Willi Egger via ntg-context
wrote: > > Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: >> Good evening! >> I have a setup in which I need to send info to the TOC: >> Consider the following example: >> \starttext >> \starttitle[title=Contents] >> \placelist[chapter][cri

Re: [NTG-context] \writetolist not writing the number to the TOC

2023-03-26 Thread Henning Hraban Ramm via ntg-context
Am 25.03.23 um 23:05 schrieb Willi Egger via ntg-context: Good evening! I have a setup in which I need to send info to the TOC: Consider the following example: \starttext \starttitle[title=Contents] \placelist[chapter][criterium=all] \stoptitle \startchapter[title=Mychapter] \input

[NTG-context] How to prefix the list of figures with part number?

2023-03-25 Thread Willi Egger via ntg-context
Willi \setuplist[figures][pageprefixsegments=part:chapter] % Pageprefix? \setuphead[part][placehead=yes] \starttext \startpart[title=part one] \starttitle[title=Contents] \placelist[part,chapter][criterium=all] \startsubject[title=Figures] \placelistoffigures[criterium=all

[NTG-context] \writetolist not writing the number to the TOC

2023-03-25 Thread Willi Egger via ntg-context
Good evening! I have a setup in which I need to send info to the TOC: Consider the following example: \starttext \starttitle[title=Contents] \placelist[chapter][criterium=all] \stoptitle \startchapter[title=Mychapter] \input knuth \startsubject[title=Subject will be in TOC

Re: [NTG-context] How to rotate the caption of a table...

2023-03-25 Thread Willi Egger via ntg-context
gt; \setupcaption[table][location=right,orientation=90] >> \startplacetable >> [location=middle, >> reference=tab:papierformaten, >> title={Standaardformaten}] >> \rotate[rotation=90]{\externalfigure[Table1][type=buffer]} >> \stopplacetable

Re: [NTG-context] How to rotate the caption of a table...

2023-03-25 Thread Henning Hraban Ramm via ntg-context
and place it on the right side? My attempt: \setupcaption[table][location=right,orientation=90] \startplacetable [location=middle, reference=tab:papierformaten, title={Standaardformaten}] \rotate[rotation=90]{\externalfigure[Table1][type=buffer

[NTG-context] How to rotate the caption of a table...

2023-03-25 Thread Willi Egger via ntg-context
Description: Adobe PDF document \setupcaption[table][location=right,orientation=90] \startplacetable [location=middle, reference=tab:papierformaten, title={Standaardformaten}] \rotate[rotation=90]{\externalfigure[Table1][type=buffer]} \stopplacetable Thank you

Re: [NTG-context] \unit parser ignoring case, in some cases.

2023-03-14 Thread Gavin via ntg-context
Le Système international d'unités > > Maybe the french title is one of the reasons for the USA not picking up on > these units? (So let me threaten once again to kick the "in" unit out of > context.) > >> I believe that this point is essential,…. Alan and I will come

Re: [NTG-context] \unit parser ignoring case, in some cases.

2023-03-14 Thread Hans Hagen via ntg-context
On 3/14/2023 7:14 PM, Alan Braslau via ntg-context wrote: On Tue, 14 Mar 2023 12:03:23 -0600 Gavin wrote: I’d really like one of the acceptable forms to be the form prescribed by Le Système international d'unités Maybe the french title is one of the reasons for the USA not picking up

Re: [NTG-context] Typeset multiple pictures not in a strict matrix (\startfloatcombination)

2023-03-08 Thread Hans Hagen via ntg-context
}{\resetcounter[subfigure]} \starttext \startplacefigure[title=Test] \startfloatcombination[nx=1, ny=2] \startplacesubfigure[title=Test] \externalfigure[dummy][width=4cm,height=1cm] \stopplacesubfigure \startfloatcombination[nx=2, ny=1] \startplacesubfigure

[NTG-context] Typeset multiple pictures not in a strict matrix (\startfloatcombination)

2023-03-07 Thread Gerion Entrup via ntg-context
://tex.stackexchange.com/a/502903): \useMPlibrary[dum] \setupcombinations[alternative=text] \definefloat[subfigure][local=yes] \setupcaption[subfigure][numberconversion=a] \setuplabeltext[subfigure=] \appendvalue{stopplacefigure}{\resetcounter[subfigure]} \starttext \startplacefigure[title=Test

Re: [NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Gerion Entrup via ntg-context
atex. Is this supposed to work? > > > > Here is an MWE: > > ``` > > \definedescription[desc][headstyle=bold] > > > > \starttext > > Foo > > > > \desc{Some title} Some text > > \startitemize > > \item Some item > &

Re: [NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Aditya Mahajan via ntg-context
d] > > \starttext > Foo > > \desc{Some title} Some text > \startitemize > \item Some item > \stopitemize > > \stoptext Use \startdesc ... \stopdesc \definedescription[desc][headstyle=bold] \starttext Foo \startdesc[title={Some title}] Some

Re: [NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Aditya Mahajan via ntg-context
nd=color, > > width=0.95\textwidth, > > backgroundcolor=gbackground] > > > > However, there does not seem a possibility to define a title and it > > seems to not work on multiple pages. > > > > Is there a mix

Re: [NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Henning Hraban Ramm via ntg-context
offset=5pt, background=color, width=0.95\textwidth, backgroundcolor=gbackground] However, there does not seem a possibility to define a title and it seems to not work on multiple pages. Is there a mix of an enumeration and framedtex

[NTG-context] Visual highlighted text with title, mix of enumeration and framedtext

2023-03-06 Thread Gerion Entrup via ntg-context
ound=color, width=0.95\textwidth, backgroundcolor=gbackground] However, there does not seem a possibility to define a title and it seems to not work on multiple pages. Is there a mix of an enumeration and framedtext that can produce something like in the attached picture? Be

[NTG-context] Description together with itemize, luametatex

2023-03-06 Thread Gerion Entrup via ntg-context
Hi, I'm trying to use a description environment in conjunction with an itemize with the latest luametatex. Is this supposed to work? Here is an MWE: ``` \definedescription[desc][headstyle=bold] \starttext Foo \desc{Some title} Some text \startitemize \item Some item

Re: [NTG-context] How to print the section number of a reference in ConTeXt?

2023-03-04 Thread Joel via ntg-context
To explain more simply, I've put \pagereference[sample] somewhere in a document. Intead of just printing the page number that appeared with \at{page}[sample], I'd like to print the section or subsection title of where that appeared. --Joel On Saturday, March 4, 2023 at 09:18:19 AM MST

[NTG-context] How to print the section number of a reference in ConTeXt?

2023-03-04 Thread Joel via ntg-context
I've set a \pagereference in a chapter, and want to print its chapter title and page number, ex. "You can find more information in "Fish" on p. 1" (where "Fish" is the title of the chapter or section). I've tried looking all through the wiki, thinking this was a ba

Re: [NTG-context] Float control

2023-03-02 Thread Denis Maier via ntg-context
t; The keys location=left and location=right will also generate a page break if > the figure does not fit. > > In the end, one needs to tweak a document in final form especially if it > contains many figures, unfortunately. This is done by moving the > \startfigure...\stopfigure. Here, the

Re: [NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
xml:footnote \footnote{\xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:figure \startplacefigure[title={Test},location={force,split}] \xmlflush{#1} \stopplacefigure \stopxmlsetups \startxmlsetups xml:table-wrap \startpostponingnotes \xmlflush{#1} \stoppostponingnotes \stopxmlsetups

[NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
\xmlflush{#1} \stopxmlsetups \startxmlsetups xml:p \xmlflush{#1}\par \stopxmlsetups \startxmlsetups xml:footnote \footnote{\xmlflush{#1}} \stopxmlsetups \startxmlsetups xml:figure \startplacefigure[title={Test},location={force,split}] \xmlflush{#1} \stopplacefigure \stopxmlsetups

Re: [NTG-context] Float control

2023-03-01 Thread Alan Braslau via ntg-context
In the end, one needs to tweak a document in final form especially if it contains many figures, unfortunately. This is done by moving the \startfigure...\stopfigure. Here, the use of buffers: Paragraph text ... (see \in{figure}[myfigure]). \startbuffer[myfigure] \startfigure[reference=myfigure,

Re: [NTG-context] How to add data from another PDF in index?

2023-02-26 Thread Joel via ntg-context
ndicator=no] % > \define[1]\learnedis{% >     \txt{} \getvalue{#1} >     \learnedshort{#1} >     \learnedlong{#1} > } > \define[1]\learned{% >     \learnedshort{#1} >     \learnedlong{\getvalue{#1}} > } > > \starttext > > \learnedis{blah blah} > >

Re: [NTG-context] How to add data from another PDF in index?

2023-02-26 Thread Alan Braslau via ntg-context
}} > } > > \starttext > > \learnedis{blah blah} > > \input knuth > > \learnedis{some more} > > >     \startchapter[title=Standards] >         \placelearnedshort >     \stopchapter >      > \stoptext > > > My question is, can I have refe

Re: [NTG-context] structureuservariable as list

2023-02-25 Thread Alex Leray via ntg-context
Dear both, thanks for your answers. `doloopovermatch` didn't work for me but this below is achieving what I wanted. Have a good day, Alex %%% \def\dosomething#1{(#1)} \def\dosomethingtwo#1{* #1\crlf} \starttext \startchapter[title={Foo Bar}][ authors={Alice,Bob,Charline

Re: [NTG-context] structureuservariable as list

2023-02-25 Thread Hans Hagen via ntg-context
On 2/24/2023 11:37 PM, Rik Kabel via ntg-context wrote: Hi, is it possible to pass a list in a variable? I'd like to pass a list of authors: \startchapter[title={Foo Bar}][authors={Alice, Bob}] % PSEUDOCODE % for author in \structureuservariable{authors} % do print(author + '\crlf

Re: [NTG-context] How to add data from another PDF in index?

2023-02-24 Thread Alan Braslau via ntg-context
{% >     \learnedshort{#1} >     \learnedlong{\getvalue{#1}} > } > > \starttext > > \learnedis{blah blah} > > \input knuth > > \learnedis{some more} > > >     \startchapter[title=Standards] >         \placelearnedshort >     \stopchapter

Re: [NTG-context] structureuservariable as list

2023-02-24 Thread Rik Kabel via ntg-context
Hi, is it possible to pass a list in a variable? I'd like to pass a list of authors: \startchapter[title={Foo Bar}][authors={Alice, Bob}] % PSEUDOCODE % for author in \structureuservariable{authors} % do print(author + '\crlf') % done \stopchapter Search the wiki. Look for "

[NTG-context] structureuservariable as list

2023-02-24 Thread Alex Leray via ntg-context
Hi, is it possible to pass a list in a variable? I'd like to pass a list of authors: \startchapter[title={Foo Bar}][authors={Alice, Bob}] % PSEUDOCODE % for author in \structureuservariable{authors} % do print(author + '\crlf') % done \stopchapter Thanks

[NTG-context] How to add data from another PDF in index?

2023-02-23 Thread Joel via ntg-context
\learnedis{blah blah} \input knuth \learnedis{some more}     \startchapter[title=Standards]         \placelearnedshort     \stopchapter      \stoptext My question is, can I have references to the Workbook page numbers in the textbook? And visa-versa? For instance, the Textbook index currently

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
:24, Bruce Horrocks via ntg-context a écrit : Hi Alex, I couldn't get it to work with \tabulate so I switched to TABLE instead. The workaround for the horizontal mode problem is to put the chapter title into row two of the table. Hopefully this works with your actual text. Also I'm not sure where

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Bruce Horrocks via ntg-context
Hi Alex, I couldn't get it to work with \tabulate so I switched to TABLE instead. The workaround for the horizontal mode problem is to put the chapter title into row two of the table. Hopefully this works with your actual text. Also I'm not sure where \layoutcolumnwidth is coming from so I

[NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
Hello, I'm trying to figure out how to design a chapter page for a custom head section with uservariables defined. I'd like to have the chapter page start on a right page. I'd like this page to feature the title of the chapter (here: an interview) along with some other info like

Re: [NTG-context] Section numbering starting from zero, not one

2023-02-16 Thread Hans Hagen via ntg-context
] \starttext \startsection[title={Section zero}]foo\stopsection \startsection[title={Section 1}]bar\stopsection \stoptext ### Sorry for the noise you can often find hints in the test suite (many small files) Le 16/02/23 à 17:32, Alex Leray via ntg-context a écrit : Hello, I'd like to have

Re: [NTG-context] Section numbering starting from zero, not one

2023-02-16 Thread Alex Leray via ntg-context
Answering my own question… this fits my needs: ### \defineconversion[romannumeralszero][0, I, II, III, IV, V, VI, VII, VIII, IX, X, XI, XII, XIII, XIV, XV, XVI, XVII, XIII, XIX, XX, XXI] \setuphead[section][conversion=romannumeralszero] \starttext \startsection[title={Section zero}]foo

[NTG-context] Section numbering starting from zero, not one

2023-02-16 Thread Alex Leray via ntg-context
\setupheadnumber[section] [-1] \startsection[title={Section zero}]\stopsection \startsection[title={Section one}]\stopsection \stoptext ### Thank you, Alex ___ If your question is of interest to others as well, please

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