[NTG-context] [m-database] How to properly add module arguments?

2023-02-25 Thread Paul Mazaitis via ntg-context
mentchar=, \c!strip=\v!no, \c!skipheader=\v!no, % <- Added, following the pattern with strip \c!before=, \c!after=, \c!first=, \c!last=, \c!left=, \c!right=] --- end definition in m-database.mkiv --- ...the build fails (with the error from the Short Version sect

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

2023-02-24 Thread Alan Braslau via ntg-context
, \placelist [part,chapter,section,subsection] [criterium=product,reference=VolumeII] will include the TOC of VolumeII in product VolumeI. Once we have this figured-out, I will have to create a wiki page. Alan On Fri, 24 Feb 2023 05:43:01 + (UTC) Joel via ntg-context wrote

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
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 the interviewee name and bio. All in a "fancy" layout. I'm ha

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Bruce Horrocks via ntg-context
}, year={2022}, month={Decembre}, bio={\input ward} ] \dorecurse{10}{\input ward \crlf} \stopinterview \stoptext > On 23 Feb 2023, at 10:21, Alex Leray via ntg-context > wrote: > > Hello, > > I'm trying to figure out how to design a chapter page for a cust

[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

[NTG-context] Spacing between headings

2023-02-23 Thread Denis Maier via ntg-context
now, to achieve this? Best, Denis \setuphead [section, subsection] [number=yes] \setuphead [section] [before={\blank[2*big]}, after={\blank[big]}] \setuphead [subsection] [before={\blank[2*big]}, after={\blank[big]}] \starttext \section

Re: [NTG-context] How to prevent \subject from being the last line

2023-02-20 Thread Sylvain Hubert via ntg-context
Thanks, Pablo and Bruce. Both solutions work well. > I had similar issues with \section and only the Latin script was involved. Btw, just in case if anyone shares this idea: is it possible to have a zulip channel for ConTeXt? It's free for open source projects, has a interface for exist

Re: [NTG-context] How to prevent \subject from being the last line

2023-02-19 Thread Pablo Rodriguez via ntg-context
t clear for me whether the CJK fonts are only for fragments in these languages or the main text is written in any of these languages. I had similar issues with \section and only the Latin script was involved. Again

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

2023-02-16 Thread Hans Hagen via ntg-context
On 2/16/2023 8:07 PM, Alex Leray via ntg-context wrote: 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

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
Hello, I'd like to have roman numerals prefixed sections, but starting from Zero and not One (even if I know that roman numerals don't have a sign for 0). Is there a way to achieve this? My code looks like that at the moment: ### \setuphead[section][conversion=Romannumerals] \starttext

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
, frame=none, width=broad, height=fit, align=middle]{#1.\\#2}} \setuphead[section][ conversion=Romannumerals, style={\bf\kerncharacters[0.075]\WORDS}, align=middle, command=\MySection, ] ### Thanks! Le 15/02/23 à 19:11, Rik Kabel via ntg-context a écrit

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
On 2023-02-15 08:44, Alex Leray via ntg-context wrote: \showframe \showlayout \showgrid \setuplayout[     grid=yes, ] \define[2]\MySection{\framed[     location=keep,     frame=on,     width=broad,     % height=22pt,     align=middle ]{{#1.\\#2}}} \setuphead[section][     strut

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
On 2023-02-15 08:44, Alex Leray via ntg-context wrote: \showframe \showlayout \showgrid \setuplayout[     grid=yes, ] \define[2]\MySection{\framed[     location=keep,     frame=on,     width=broad,     % height=22pt,     align=middle ]{{#1.\\#2}}} \setuphead[section][     strut

[NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
Hello again, I'm having another issue: I'd like Chapter/Section number and titles in separate lines but with grid alignement. I followed that advice: https://wiki.contextgarden.net/Titles#Chapter_number_and_titles_in_separate_lines I'm having an issue though: I can't get rid of the space

[NTG-context] setupregister/placeregister

2023-02-10 Thread Alan Braslau via ntg-context
Hello, The criterium key in setupregister (so placeregister, placeindex, ...) takes the following values: criterium local text current previous all section all: places all entries of the document section: (part, chapter, section, ...) places entries associated with that structure element

Re: [NTG-context] Chapter title in MetaFun manual.

2023-02-10 Thread Jeong Dal via ntg-context
% >\hskip-\leftmarginwidth >\hskip-\leftmargindistance >\framed > [background=titled,frame=off,offset=0pt] > {\box0 > \hskip\leftmargindistance > #2}} > > \define[2]\TitleCommand% > {\framed > [background=titled,frame=off,offse

[NTG-context] Chapter title in MetaFun manual.

2023-02-10 Thread Jeong Dal via ntg-context
kip-\leftmarginwidth \hskip-\leftmargindistance \framed [background=titled,frame=off,offset=0pt] {\box0 \hskip\leftmargindistance #2}} \define[2]\TitleCommand% {\framed [background=titled,frame=off,offset=0pt] {#2}} \setuphead [chapter]%,section,subsect

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-31 Thread Yaroslav Beltukov via ntg-context
to other components > > are taken from the whole product as from an external document. It turned > > out that this is a general problem with references with prefixes to > > external documents. The prefix is stored in a tuc file as a reference to > > a section as a sequential n

[NTG-context] list not following "focus=standard"?

2023-01-30 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \dorecurse{25} {\section{Section} a\footnote{b}} \stoptext Using current latest (from 2023.01.26 18:34), destinations for TOC are pages (/D [ 7 0 R /Fit

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-30 Thread Hans Hagen via ntg-context
into this issue. The references to other components are taken from the whole product as from an external document. It turned out that this is a general problem with references with prefixes to external documents. The prefix is stored in a tuc file as a reference to a section as a sequential

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Alan Braslau via ntg-context
; I started looking into this issue. The references to other components > are taken from the whole product as from an external document. It > turned out that this is a general problem with references with > prefixes to external documents. The prefix is stored in a tuc file as > a referen

[NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Yaroslav Beltukov via ntg-context
product as from an external document. It turned out that this is a general problem with references with prefixes to external documents. The prefix is stored in a tuc file as a reference to a section as a sequential number of the header in the document. As a result, the prefix from the external

Re: [NTG-context] numbering questions

2023-01-01 Thread Henning Hraban Ramm via ntg-context
! I’m playing with some examples of section numbering. * Is there a setup to influence the order of number segments? I.e. can I have “section.chapter.part“ instead of “part.chapter.section”? You need a new prefix-set to rearrange the order of the sections. begin example \defineprefixset

Re: [NTG-context] numbering questions

2023-01-01 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 31.12.2022 um 18:23: A happy new year to everyone! I’m playing with some examples of section numbering. * Is there a setup to influence the order of number segments? I.e. can I have “section.chapter.part“ instead of “part.chapter.section”? You

Re: [NTG-context] numbering questions

2022-12-31 Thread Henning Hraban Ramm via ntg-context
Am 31.12.22 um 20:41 schrieb Pablo Rodriguez via ntg-context: On 12/31/22 18:23, Henning Hraban Ramm via ntg-context wrote: I’m playing with some examples of section numbering. * Is there a setup to influence the order of number segments? I.e. can I have “section.chapter.part“ instead

Re: [NTG-context] numbering questions

2022-12-31 Thread Pablo Rodriguez via ntg-context
On 12/31/22 18:23, Henning Hraban Ramm via ntg-context wrote: > I’m playing with some examples of section numbering. > > * Is there a setup to influence the order of number segments? I.e. can I > have “section.chapter.part“ instead of “part.chapter.section”? I thought sec

Re: [NTG-context] numbering questions

2022-12-31 Thread Duncan Hothersall via ntg-context
I can't test right now but would something like \setuphead[Day][sectionsegments=Day:Month:Year] help? Duncan On Sat, 31 Dec 2022 at 17:24, Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote: > A happy new year to everyone! > > I’m playing with some examples of se

[NTG-context] numbering questions

2022-12-31 Thread Henning Hraban Ramm via ntg-context
A happy new year to everyone! I’m playing with some examples of section numbering. * Is there a setup to influence the order of number segments? I.e. can I have “section.chapter.part“ instead of “part.chapter.section”? * How can I format the segments, e.g. to get two or three digits each

Re: [NTG-context] Use section custom value in a header text.

2022-12-21 Thread Pawel Urbanski via ntg-context
> > > Hi Everyone, Thanks for the answers. I learnt something new. I ended up using the: \namedstructureuservariable{chapter}{my_custom_variable} command with \setupheadertexts. It worked well - at least for my case. While reading the wiki I started wondering what is the role of: lefttext /

Re: [NTG-context] upload

2022-12-21 Thread Pablo Rodriguez via ntg-context
: 1 -> \xmlflush {main::61} pages > flushing realpage 13, userpage 13, subpage 13 pages > flushing realpage 14, userpage 14, subpage 14 structures > bookmark: Antes de comenzar structure > sectioning > chapter @ level 2 : 1.1 -> \xmlflush {main::63} struc

Re: [NTG-context] Use section custom value in a header text.

2022-12-20 Thread Rik Kabel via ntg-context
of the attached key is not expanded.. Evey page will contain just one section started by a \startchapter and \stop chapter. I would like to put this custom attached value in the right slot in the document header. I hope that htis time around htigs are more clear. On Tue, Dec 20, 2022 at 8:13 PM Henning

Re: [NTG-context] Use section custom value in a header text.

2022-12-20 Thread Henning Hraban Ramm via ntg-context
of the attached key is not expanded.. Evey page will contain just one section started by a \startchapter and \stop chapter. I would like to put this custom attached value in the right slot in the document header. In headers and footers, you need \namedstructureuservariable{chapter}{custom_value

Re: [NTG-context] Use section custom value in a header text.

2022-12-20 Thread Pawel Urbanski via ntg-context
section started by a \startchapter and \stop chapter. I would like to put this custom attached value in the right slot in the document header. I hope that htis time around htigs are more clear. On Tue, Dec 20, 2022 at 8:13 PM Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote:

Re: [NTG-context] Use section custom value in a header text.

2022-12-20 Thread Henning Hraban Ramm via ntg-context
Am 20.12.22 um 19:44 schrieb Pawel Urbanski via ntg-context: Dear Friends, I spent some time searching and coding simple documents, but failed and therefore I'm asking for help... A section such as chapter cn have custom keys with values. One uses the: \structureuservariable command to access

[NTG-context] Use section custom value in a header text.

2022-12-20 Thread Pawel Urbanski via ntg-context
Dear Friends, I spent some time searching and coding simple documents, but failed and therefore I'm asking for help... A section such as chapter cn have custom keys with values. One uses the: \structureuservariable command to access such values. How can I use such a value to create a custom header

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-06 Thread Hans Hagen via ntg-context
On 12/6/2022 6:33 PM, Pablo Rodriguez via ntg-context wrote: On 12/6/22 09:05, Hans Hagen via ntg-context wrote: On 12/6/2022 1:39 AM, Joel wrote: Thanks so much! It took some work for me to figure out how to make it work, but it now works great! i added \firstsectionpage and \lastsectionpage

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-06 Thread Pablo Rodriguez via ntg-context
On 12/6/22 09:05, Hans Hagen via ntg-context wrote: > On 12/6/2022 1:39 AM, Joel wrote: >> Thanks so much! It took some work for me to figure out how to make it >> work, but it now works great! > i added \firstsectionpage and \lastsectionpage that (i guess) Pablo will > document at the wiki

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-06 Thread Hans Hagen via ntg-context
On 12/6/2022 1:39 AM, Joel wrote: Thanks so much! It took some work for me to figure out how to make it work, but it now works great! i added \firstsectionpage and \lastsectionpage that (i guess) Pablo will document at the wiki Hans

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Joel via ntg-context
rom a PDF: > > \externalfigure[filename.pdf][page=5] > > I am making a teacher's guide for a workbook (workbook.pdf). I need to > be able to display on the page all pages of a particular section. > > The teacher's guide uses the same section titles as the workbook, e.g.:

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Hans Hagen via ntg-context
... we're talking about a rather special application, so what I can add is a simple helper that returns the first and last page of a section That would be great for me. keep in mind that it is also a biut fragile as one never know where the last one ends I wondered whether \doifreference

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Pablo Rodriguez via ntg-context
bout a rather special > application, so what I can add is a simple helper that returns the first > and last page of a section That would be great for me. > keep in mind that it is also a biut fragile as one never know where the > last one ends I wondered whether \doifreference{\la

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Hans Hagen via ntg-context
On 12/5/2022 5:39 PM, Pablo Rodriguez via ntg-context wrote: On 12/5/22 13:13, Hans Hagen via ntg-context wrote: On 12/4/2022 11:30 PM, Joel via ntg-context wrote: I can use this code to display page 5 from a PDF: [...] \externalfigure[filename.pdf][section=17A] prototype attached (first

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Pablo Rodriguez via ntg-context
On 12/5/22 13:13, Hans Hagen via ntg-context wrote: > On 12/4/2022 11:30 PM, Joel via ntg-context wrote: >> I can use this code to display page 5 from a PDF: >> [...] >> \externalfigure[filename.pdf][section=17A] > > prototype attached (first process crap, then load)

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Hans Hagen via ntg-context
On 12/4/2022 11:30 PM, Joel via ntg-context wrote: I can use this code to display page 5 from a PDF: \externalfigure[filename.pdf][page=5] I am making a teacher's guide for a workbook (workbook.pdf). I need to be able to display on the page all pages of a particular section. The teacher's

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Henning Hraban Ramm via ntg-context
Am 04.12.22 um 23:30 schrieb Joel via ntg-context: I can use this code to display page 5 from a PDF: \externalfigure[filename.pdf][page=5] I am making a teacher's guide for a workbook (workbook.pdf). I need to be able to display on the page all pages of a particular section. The teacher's

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Denis Maier via ntg-context
Don’t know about ConTeXt. But maybe you might want to have a look at pdftk. You could try to produce per-section pdfs and include those. Best, Denis Von: ntg-context Im Auftrag von Joel via ntg-context Gesendet: Sonntag, 4. Dezember 2022 23:31 An: Mailing List for ConTeXt Users Cc: Joel

[NTG-context] How to display the pages of a particular section in another PDF?

2022-12-04 Thread Joel via ntg-context
I can use this code to display page 5 from a PDF:\externalfigure[filename.pdf][page=5]I am making a teacher's guide for a workbook (workbook.pdf). I need to be able to display on the page all pages of a particular section. The teacher's guide uses the same section titles as the workbook, e.g

Re: [NTG-context] issue with OT feature in LMTX

2022-12-04 Thread Hans Hagen via ntg-context
] \setupbodyfont[mainface] \definestructureconversionset [sectionnumbers] [0,n,Characters,g,n] [n] \definefontfeature[section] [smcp=yes, c2sc=yes] \setupheads[sectionconversionset=sectionnumbers] \setuphead[section][style={\feature[+][section

[NTG-context] issue with OT feature in LMTX

2022-12-03 Thread Pablo Rodriguez via ntg-context
[sectionnumbers] [0,n,Characters,g,n] [n] \definefontfeature[section] [smcp=yes, c2sc=yes] \setupheads[sectionconversionset=sectionnumbers] \setuphead[section][style={\feature[+][section]}] \starttext \section{Just text} {\feature[+][section]Just text} \stoptext

Re: [NTG-context] accessing ital axis in variable font

2022-12-03 Thread Pablo Rodriguez via ntg-context
variable fonts, axes are only accesible using their name (not their tag) in the axis section (not in the design axis section), aren't they? And each font feature requires a new font instance (unlike other font features such as small caps or many other OpenType features), doesn't it? > btw, we don't chec

Re: [NTG-context] Can I use \starthangaround?

2022-11-30 Thread peter.hopcroft--- via ntg-context
a few days ago. >> Is it possible for me to use \starthangaround ? > > Apparently not. > The CD_Booklet page is more than 10 years old. > And the section on the Unexpected_behavior page links to a section in > Using_graphics that’s deleted. It also says “This po

Re: [NTG-context] Can I use \starthangaround?

2022-11-30 Thread Henning Hraban Ramm via ntg-context
that \starthangaround is undefined. It isn’t in any of my context installation files, including cont-new.tex. I'm using LMTX, installed a few days ago. Is it possible for me to use \starthangaround ? Apparently not. The CD_Booklet page is more than 10 years old. And the section on the Unexpected_behavior

Re: [NTG-context] How to make a block of text narrower?

2022-11-15 Thread Rik Kabel via ntg-context
On 2022-11-15 21:49, Joel via ntg-context wrote: I need to make a section of text in my document narrower, about .\textwidth. Basically the text has normal alignment and everything, just instead of filling \textwidth, its compressed so there is a larger white space to the right. I've

[NTG-context] How to make a block of text narrower?

2022-11-15 Thread Joel via ntg-context
I need to make a section of text in my document narrower, about .\textwidth. Basically the text has normal alignment and everything, just instead of filling \textwidth, its compressed so there is a larger white space to the right. I've tried dozens of things, but cannot get a good solution

Re: [NTG-context] \xmldocument vs #1 in \xmlsetsetup

2022-11-14 Thread Hans Hagen via ntg-context
On 11/14/2022 7:28 PM, Pablo Rodriguez via ntg-context wrote: On 11/14/22 14:00, Denis Maier via ntg-context wrote: Hi, most examples in the mkiv-xml manual use #1 with \xmlsetsetup, e.g. \startxmlsetups xml:demo:base   \xmlsetsetup{#1}{document|section|p}{xml:demo:*} \stopxmlsetups However

Re: [NTG-context] \xmldocument vs #1 in \xmlsetsetup

2022-11-14 Thread Pablo Rodriguez via ntg-context
On 11/14/22 14:00, Denis Maier via ntg-context wrote: > Hi, > > most examples in the mkiv-xml manual use #1 with \xmlsetsetup, e.g. > > \startxmlsetups xml:demo:base >   \xmlsetsetup{#1}{document|section|p}{xml:demo:*} > \stopxmlsetups > > However, in quite a

[NTG-context] \xmldocument vs #1 in \xmlsetsetup

2022-11-14 Thread Denis Maier via ntg-context
Hi, most examples in the mkiv-xml manual use #1 with \xmlsetsetup, e.g. \startxmlsetups xml:demo:base \xmlsetsetup{#1}{document|section|p}{xml:demo:*} \stopxmlsetups However, in quite a few occasions I've noticed the usage of \xmldocument instead of #1. What exactly is the difference ? When

Re: [NTG-context] never add a hyphen to break a URL

2022-10-25 Thread Pablo Rodriguez via ntg-context
ietf.org/doc/html/rfc3986#section-2.3). Other ones (such as "ö") have to be escaped. This is why only the sample containing the escaped "ö" (as "%C3%B6" [which TeX needs to escape again]) worked for you. It seems that depending on the PDF viewer (and I guess the br

Re: [NTG-context] list not following "focus=standard"

2022-10-16 Thread Pablo Rodriguez via ntg-context
On 10/14/22 23:24, Pablo Rodriguez via ntg-context wrote: > Hi Hans, > > I have the following sample: > > \setupinteraction[state=start, > focus=standard] > \starttext > \completecontent > \section{section} > a\footnote{\contextversion} > \stopte

[NTG-context] list not following "focus=standard"

2022-10-14 Thread Pablo Rodriguez via ntg-context
Hi Hans, I have the following sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \section{section} a\footnote{\contextversion} \stoptext With version from 2022.09.11 20:44, the link from the TOC reads in the PDF file: 4 0 obj << /D [

Re: [NTG-context] lmt_outline not rendering properly

2022-10-14 Thread Jacob Kauffmann via ntg-context
Dear list, >> >> attached is an example taken from the luametafun manual. >> The letter o looks odd. When I compile the manual the examples in section 4 >> look also bad (different font; page 10 attached). >> It seems like the paths miss one point. >> >> This

Re: [NTG-context] TOC colors and in-page anchors

2022-10-11 Thread Sylvain Hubert via ntg-context
h links here: > > \setupinteraction[state=start, > color=darkred, > contrastcolor=darkred, > focus=standard] > \starttext > \completecontent > \section[a]{b} > \about[a] > \stoptext > > And this is a regression. I think it was introduc

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Horacio Suárez via ntg-context
Its worring now. I have to add \setuplist[subsection][alternative=d] after \setupcombinedlist[content] etc. before that line it has no effect here. \definecombinedlist[content][part,chapter,section,subsection] \setupcombinedlist[content][alternative=c,partnumber=no,placehead=yes,color=black

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Henning Hraban Ramm via ntg-context
\hairline \section{Section} \subsection{Subsection} \subsubsection{Subsubsection} \stoptext Check if your braces/brackets are right. Hraban ___ If your question is of interest to others as well, please ad

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Horacio Suárez via ntg-context
de octubre de 2022 09:55 Para: Horacio Suárez via ntg-context Cc: Henning Hraban Ramm Asunto: Re: [NTG-context] alternative en TOC Am 06.10.22 um 13:37 schrieb Horacio Suárez via ntg-context: > hello > > it is possible to list chapters and section as "alternative=c" and &g

Re: [NTG-context] alternative en TOC

2022-10-06 Thread Henning Hraban Ramm via ntg-context
Am 06.10.22 um 13:37 schrieb Horacio Suárez via ntg-context: hello it is possible to list chapters and section as "alternative=c" and subsections as "alternative=d" in the same TOC? Did you try \setuplist[subsection][alte

[NTG-context] alternative en TOC

2022-10-06 Thread Horacio Suárez via ntg-context
hello it is possible to list chapters and section as "alternative=c" and subsections as "alternative=d" in the same TOC? Thankyou very much in advance. --- Horacio Suárez Editorial Antropofagia

Re: [NTG-context] TOC colors and in-page anchors

2022-09-28 Thread Pablo Rodriguez via ntg-context
mpare both links here: \setupinteraction[state=start, color=darkred, contrastcolor=darkred, focus=standard] \starttext \completecontent \section[a]{b} \about[a] \stoptext And this is a regression. I think it was introduced in latest from 2022.07.06 21:42, since latest from

Re: [NTG-context] TOC colors and in-page anchors

2022-09-28 Thread Sylvain Hubert via ntg-context
Thanks for the pointers, but unfortunately I cannot reproduce the second fix with either the system pdf viewer or the browser one. \usemodule[ipsum] \setupinteraction[state=start,focus=standard] \starttext \completecontent \section{s1}\ipsum \section{s2}\ipsum

Re: [NTG-context] TOC colors and in-page anchors

2022-09-28 Thread Bruce Horrocks via ntg-context
> On 28 Sep 2022, at 09:18, Sylvain Hubert via ntg-context > wrote: > > Dear list, > > \usemodule[ipsum] > \setupinteraction[state=start] > > \starttext > \completecontent > \section{s1}\ipsum > \section{s2}\ipsum > \sec

[NTG-context] TOC colors and in-page anchors

2022-09-28 Thread Sylvain Hubert via ntg-context
Dear list, \usemodule[ipsum] \setupinteraction[state=start] \starttext \completecontent \section{s1}\ipsum \section{s2}\ipsum \section{s3}\ipsum \section{s4}\ipsum \section{s5}\ipsum \section{s6}\ipsum \stoptext In the table of contents, s1 and s2

Re: [NTG-context] lmt_outline not rendering properly

2022-09-23 Thread Mikael Sundqvist via ntg-context
On Thu, Sep 22, 2022 at 11:15 AM Jacob Kauffmann via ntg-context wrote: > > Dear list, > > attached is an example taken from the luametafun manual. > The letter o looks odd. When I compile the manual the examples in section 4 > look also bad (different font; page 10 attached

[NTG-context] lmt_outline not rendering properly

2022-09-22 Thread Jacob Kauffmann via ntg-context
Dear list, attached is an example taken from the luametafun manual. The letter o looks odd. When I compile the manual the examples in section 4 look also bad (different font; page 10 attached). It seems like the paths miss one point. This is with the latest version 2022.09.11 20:44. Cheers

[NTG-context] ConTeXt meeting and the annotated cow

2022-09-18 Thread Axel Kielhorn via ntg-context
t (9.2, 9.5, 9.6, 3, "Schwanz"); annotb (3, -.5, 3.1, .9, "Huf"); annotb (3, -.5, 3.9, 1.1, ""); \stopMPpage \stoptext %%% There are still some further ideas and a lot to learn for me: - multi line annotations - a transparent white background - a

Re: [NTG-context] Can't no break between a close punctuation and a open punctuation

2022-09-02 Thread 黄复雄 via ntg-context
> > doc for example: > > > > ```lmtx > > \setscript[hanzi] > > \usetypescriptfile[mscore] > > \usebodyfont [mschinese,20pt] > > can you upgrade the chiese section in that file for windows 10+ as the > old fonts are gone > > (i tested with \defin

Re: [NTG-context] How to make a reference go to an exact point of a section on a page?

2022-09-02 Thread amano.kenji via ntg-context
\setupinteraction[state=start,focus=standard] was what I wanted. Thanks. --- Original Message --- On Thursday, September 1st, 2022 at 4:42 PM, Pablo Rodriguez via ntg-context wrote: > On 9/1/22 14:36, amano.kenji via ntg-context wrote: > > > I just created a reference t

Re: [NTG-context] How to make a reference go to an exact point of a section on a page?

2022-09-01 Thread Pablo Rodriguez via ntg-context
On 9/1/22 14:36, amano.kenji via ntg-context wrote: > I just created a reference to a \section with \in. > > Clicking the \in reference doesn't go to the \section, but to the > page that has the \section. > > Does ConTeXt lack the ability to go to an exact point of a numbered &

Re: [NTG-context] How to make a reference go to an exact point of a section on a page?

2022-09-01 Thread Mikael Sundqvist via ntg-context
On Thu, Sep 1, 2022 at 2:37 PM amano.kenji via ntg-context wrote: > > I just created a reference to a \section with \in. > > Clicking the \in reference doesn't go to the \section, but to the page that > has the \section. > > Does ConTeXt lack the ability to go to an exac

[NTG-context] How to make a reference go to an exact point of a section on a page?

2022-09-01 Thread amano.kenji via ntg-context
I just created a reference to a \section with \in. Clicking the \in reference doesn't go to the \section, but to the page that has the \section. Does ConTeXt lack the ability to go to an exact point of a numbered element on a page

Re: [NTG-context] CLD setupheadertexts

2022-08-25 Thread Willi Egger via ntg-context
Hello! based on the answer Hans posted on my question how to correctly setup header texts in a ConTeXt Lua Document I added a section on the Wiki: https://wiki.contextgarden.net/CLD#Setting_up_Header_Texts Kind regards Willi > On 25 Aug 2022, at 19:45, Hans Hagen wrote: > > On 8/

[NTG-context] How to reset settings in setuphead back to defaults?

2022-08-21 Thread Joel via ntg-context
I have some settings like this, which define the part, chapter, and section titles within a file that contains all of my common settings for all files. \definepagebreak[chapterpagebreak][yes, right] \setuphead[part][style=\sse, placehead=yes, expansion=yes] \setuphead[chapter][style=\sse

[NTG-context] How to do code listings & sections from XML (AsciiDoc)

2022-08-12 Thread Mojca Miklavec via ntg-context
breaks work properly) (b) some section titles are missing Ad (a). The source that looks similar to this: int main() { return 0; } should be converted into some kind of equivalent of % on top \usemodule[vim] \definevimtyping [CPP] [syntax=cpp] \startCPP int main() { return 0

Re: [NTG-context] issue with lpath

2022-08-04 Thread Taco Hoekwater via ntg-context
solutions fail on generic input. >> Sorry, out of clues > \startbuffer[demo] > ... That puts the whole content inside the \section, and I don’t think that was the intent. I understood that Pablo only wants the “h3” node. In the original request, the CSS “{h3 + blockquote}” matches

Re: [NTG-context] issue with lpath

2022-08-04 Thread Hans Hagen via ntg-context
p \startpar\xmlflush{#1}\stoppar \stopxmlsetups \startxmlsetups xml:blockquote \startblockquote\xmlflush{#1}\stopblockquote \stopxmlsetups \startxmlsetups xml:section:level3 \xmldoif{#1}{/blockquote} { \xmldoifnot{#1}{/p} { \section{\xmlflush{#1}} } }

[NTG-context] issue with lpath

2022-08-02 Thread Pablo Rodriguez via ntg-context
:*} \xmlsetsetup{#1} {(div|section)[contains(@class,'level3')]/h3/../!p/../h3} {xml:section} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:p \startpar\xmlflush{#1}\stoppar \stopxmlsetups \startxmlsetups xml:blockquote \startblockquote\xmlflush

Re: [NTG-context] Can't no break between a close punctuation and a open punctuation

2022-08-02 Thread 黄复雄 via ntg-context
, > } > > Thanks to your guidance, I solved the problem. And I would like to look into some other related issues that I have doubts about and get back to you together. So I need some more time. > > doc for example: > > > > ```lmtx > > \setscript[hanzi] > > \uset

Re: [NTG-context] Can't no break between a close punctuation and a open punctuation

2022-08-02 Thread Hans Hagen via ntg-context
= nobreak_autoshrink_break_stretch, } doc for example: ```lmtx \setscript[hanzi] \usetypescriptfile[mscore] \usebodyfont   [mschinese,20pt] can you upgrade the chiese section in that file for windows 10+ as the old fonts are gone (i tested with \definedfont[file:mingliu.ttc*chinese @ 10pt]) Hans

Re: [NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-29 Thread cryo shock via ntg-context
2. Can the \bookmark[list]{text} command be somehow used for multi-level > > bookmarking? > > > > While the first question would make up for a more consistent solution, > > the second question would do the job as well. > > > > I hope some of you can enlighten

[NTG-context] bibliography problem

2022-07-29 Thread Henning Hraban Ramm via ntg-context
> bookmark: Introduction structure > sectioning > section @ level 3 : 1.0.1 -> Introduction fonts > defining > unable to define 'IBMPlexSansHebrew-regular' as 'dummy--5' publications> analyzing previous publication run for 'dmlig' publications

Re: [NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-25 Thread Hans Hagen via ntg-context
up for a more consistent solution, the second question would do the job as well. I hope some of you can enlighten me. Cheers, k %%% START of MWE \definehead[VisiSection][section] \setuphead[VisiSection][number=no] \definehead[InvisiSection][VisiSection] \setuphead[InvisiSection][placehead

[NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-24 Thread cryo shock via ntg-context
as well. I hope some of you can enlighten me. Cheers, k %%% START of MWE \definehead[VisiSection][section] \setuphead[VisiSection][number=no] \definehead[InvisiSection][VisiSection] \setuphead[InvisiSection][placehead=no] \definelist[CustomBMarks] \setupinteraction[state=start

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-21 Thread Hans Hagen via ntg-context
T-ligatures] \definefontsynonym [SerifItalic] [file:Venetian301BT-Italic] [features=venetian-301-BT-ligatures] \stoptypescript %% end Note that the names v1, v2 and v3 are entirely arbitrary. Also, the \starttypescript section sets the font features to be just those I've defined - potentia

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-20 Thread Bruce Horrocks via ntg-context
] [v2=yes,v3=yes] >> Note that the names v1, v2 and v3 are entirely arbitrary. Also, the >> \starttypescript section sets the font features to be just those I've >> defined - potentially losing whatever 'default' would provide. But since the >> font doesn't seem to ha

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-20 Thread Henning Hraban Ramm via ntg-context
Am 20.07.22 um 21:40 schrieb Bruce Horrocks via ntg-context: \definefontfeature [venetian-301-demi-ligatures] [v1=yes,v3=yes] \definefontfeature [venetian-301-BT-ligatures] [v2=yes,v3=yes] Note that the names v1, v2 and v3 are entirely arbitrary. Also, the \starttypescript section sets

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-20 Thread Bruce Horrocks via ntg-context
01-BT-ligatures] [v2=yes,v3=yes] \starttypescript [serif] [myBookFont] \definefontsynonym [Serif] [file:venetian-301-demi-bt] [features=venetian-301-demi-ligatures] \definefontsynonym [SerifBold] [file:Venetian301BT-Bold] [features=venetian-301-BT-ligatures] \definefontsynonym [SerifItalic] [fi

Re: [NTG-context] numbering sections/subsections

2022-07-11 Thread Alan Bowen via ntg-context
; > You’re welcome! > > > > > \definestructureconversionset[mySet][A,n,A,n][n] % starts at part! > > \setuphead[section,subsection][sectionconversionset=mySet] > > \setuphead[subsection][sectionsegments=section:subsection, > stopper={.}] > > > >

Re: [NTG-context] numbering sections/subsections

2022-07-11 Thread Henning Hraban Ramm via ntg-context
Am 10.07.22 um 22:25 schrieb Alan Bowen via ntg-context: Thank you, Hraban, for the solution and the link! You’re welcome! \definestructureconversionset[mySet][A,n,A,n][n] % starts at part! \setuphead[section,subsection][sectionconversionset=mySet] \setuphead[subsection

Re: [NTG-context] numbering sections/subsections

2022-07-10 Thread Alan Bowen via ntg-context
letters and my > > subsections with Arabic numbers. So far, no joy. What am I missing? > > > > Alan > > > > Mwe: with ConText ver: 2022.01.21 20:13 LMTX fmt: 2022.2.1. (The > > problem persists when I run ConTeXt online) > > > > \setuphead[s

Re: [NTG-context] numbering sections/subsections

2022-07-09 Thread Henning Hraban Ramm via ntg-context
ConTeXt online) \setuphead[section][conversion=A] \setuphead[subsection][conversion=n, sectionsegements=section:subsection,  stopper={.}] \definestructureconversionset[mySet][A,n,A,n][n] % starts at part! \setuphead[section,subsection][sectionconversionset=mySet] \setuphead[subsection

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