Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Bruce Horrocks via ntg-context
> On 24 Dec 2021, at 16:45, Jason Ross via ntg-context > wrote: > > Dear list, > > Is it possible to set the maximum table of contents depth to a number rather > than providing an explicit list of section names? > > > Background: > > I am develop

Re: [NTG-context] Contextual removal of some ligatures using fonts.handlers.otf.addfeature (LuaTeX 1.13.2)

2021-12-24 Thread Bruce Horrocks via ntg-context
} > } > } > } > > Could someone please explain to me what I did wrong ? Firstly, you have an extra } in the example above. Secondly, rules need to come inside a data section. Thus (untested): fonts.handlers.otf.addfeature{ name = "unfio",

Re: [NTG-context] upload

2021-12-24 Thread Jairo A. del Rio via ntg-context
> Hi, > > When wrapping up before the weekend I uploaded a new lmtx (bottom floats > fixed afaiks, but hat mechanism might see some improvements anyway next > year; exit codes more reliable; some low level tracing; side float > coming loose from section head issue solved; ...

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
understand. The issue I see is that this introduces a coupling between section structure and table of contents that could be confusing for users, and also makes the interface more complicated by adding another keyword. I am trying to take advantage of the flexibility of ConTeXt for most

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
rieben: On 12/24/21 1:29 PM, Denis Maier wrote: I probably wasn't clear. You will support toc:2. This: #+Context_Section_Levels: '(chapter section subs

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
toc:2. This: #+Context_Section_Levels: '(chapter section subsection) will translate into a definesectionlevels command and inform your exporter about the used sectionlevels. Once the used commands are known it should be possible to map toc:2 to a combinedlist defi

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
On 12/24/21 1:29 PM, Denis Maier wrote: I probably wasn't clear. You will support toc:2. This: #+Context_Section_Levels: '(chapter section subsection) will translate into a definesectionlevels command and inform your exporter about the used sectionlevels. Once the used commands are known

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
to the >> corresponding setting. (Here again, you can if course define >> reasonable defaults.) Actually,  you don't need an alist. A simple quotes list should be enough: #+Context_Section_Level

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
u can if course define reasonable defaults.) Actually,  you don't need an alist. A simple quotes list should be enough: #+Context_Section_Levels: '(chapter section subsection) Denis That isn't going to work. The interface needs to be the same as for the other exporters for TOC control. I

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
Actually,  you don't need an alist. A simple quotes list should be enough: #+Context_Section_Levels: '(chapter section subsection) Denis

[NTG-context] upload

2021-12-24 Thread Hans Hagen via ntg-context
Hi, When wrapping up before the weekend I uploaded a new lmtx (bottom floats fixed afaiks, but hat mechanism might see some improvements anyway next year; exit codes more reliable; some low level tracing; side float coming loose from section head issue solved; ...). I'm experimenting

Re: [NTG-context] Why are back-to-back \autocite commands not working in ConTeXt-SBL?

2021-12-24 Thread Joey McCollum via ntg-context
s expected if the next character is a punctuation > character or something like a \blank command, but if it's something like a > \section command (or another \autocite command, as you've discovered), then > this causes problems. > > That said, I think you should be able to ge

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
r list, Is it possible to set the maximum table of contents depth to a number rather than providing an explicit list of section names? Background: I am developing an exporter for Org mode. In Org,

Re: [NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Denis Maier via ntg-context
<ntg-context@ntg.nl> hat am 24.12.2021 17:45 geschrieben: Dear list, Is it possible to set the maximum table of contents depth to a number rather than providing an explicit list of section

[NTG-context] Setting table of contents depth by number rather than by list

2021-12-24 Thread Jason Ross via ntg-context
Dear list, Is it possible to set the maximum table of contents depth to a number rather than providing an explicit list of section names? Background: I am developing an exporter for Org mode. In Org, users can specify the number of levels they want in the table of contents with a number. I

Re: [NTG-context] Why are back-to-back \autocite commands not working in ConTeXt-SBL?

2021-12-24 Thread Denis Maier via ntg-context
blank command, but if it's something like a \section command (or another \autocite command, as you've discovered), then this causes problems. That said, I think you should be able to get your ConTeXt to compile if you follow your \autocite command with punctuation or some form of whitespace

Re: [NTG-context] Why are back-to-back \autocite commands not working in ConTeXt-SBL?

2021-12-24 Thread Joey McCollum via ntg-context
the command as a "hidden" > parameter. This works as expected if the next character is a punctuation > character or something like a \blank command, but if it's something like a > \section command (or another \autocite command, as you've discovered), then > this causes problems.

Re: [NTG-context] Why are back-to-back \autocite commands not working in ConTeXt-SBL?

2021-12-24 Thread Joey McCollum via ntg-context
e a \blank command, but if it's something like a \section command (or another \autocite command, as you've discovered), then this causes problems. That said, I think you should be able to get your ConTeXt to compile if you follow your \autocite command with punctuation or some form of whitespace (wh

Re: [NTG-context] No pagebreak before chapter

2021-12-23 Thread Rik Kabel via ntg-context
ading is the default behavior, so you are not likely to find an explicit instance of it being set. Do the other settings in your \setuphead come through (align, style, number? What is the scope of the \setuphead command -- is it restricted to a particular section block (frontpart, bodypart

Re: [NTG-context] Title for tabulate

2021-12-17 Thread Hans Hagen via ntg-context
On 12/17/2021 8:25 AM, Benjamin Buchmuller wrote: Yes, this works! Thanks! I'll try to add a section on the Wiki. Is there a reason why the second approach works while the other doesn't? expansion etc so just stick to what works Hans

Re: [NTG-context] Title for tabulate

2021-12-16 Thread Benjamin Buchmuller via ntg-context
Yes, this works! Thanks! I'll try to add a section on the Wiki. Is there a reason why the second approach works while the other doesn't? > On Dec 16, 2021, at 12:46, Hans Hagen wrote: > > On 12/16/2021 11:39 AM, Benjamin Buchmuller wrote: >> Thanks again, Hans, for al

Re: [NTG-context] About "clearpage"

2021-12-16 Thread Wolfgang Schuster via ntg-context
] \stopalignment }} \stopsetups \startsetups[text b] \raise\MarginRaise\hbox{\vtop{\hsize=\Margin% \startalignment[left] \getmarking[section] \stopalignment }} \stopsetups \definemeasure [MarginWidth] [2cm] \definemeasure [MarginRaise] [56ex] \defineframed [MarginBlock] [frame=off, width

[NTG-context] About "clearpage"

2021-12-16 Thread MANUEL GONZALEZ SUAREZ via ntg-context
] \startsetups[text a] \raise\MarginRaise\hbox{\vtop{\hsize=\Margin% \startalignment[right] \getmarking[chapter] \stopalignment }} \stopsetups \startsetups[text b] \raise\MarginRaise\hbox{\vtop{\hsize=\Margin% \startalignment[left] \getmarking[section] \stopalignment }} \stopsetups

Re: [NTG-context] About margin notes

2021-12-14 Thread Hans Hagen via ntg-context
{This is the first margin note} \input{tufte} \input{tufte} \section{Whe start here} \input{knuth}\inmargin{This is another margin note} \input{tufte}\inmargin{This is another note in margin} \input tufte \chapter{Second chapter} \section{First section} \input{tufte} \stoptext Notes that appear in the right

[NTG-context] About margin notes

2021-12-14 Thread MANUEL GONZALEZ SUAREZ via ntg-context
=outer,align=flushouter] \starttext \chapter{Introduction} \input{tufte} \input{tufte}\inmargin{This is the first margin note} \input{tufte} \input{tufte} \section{Whe start here} \input{knuth}\inmargin{This is another margin note} \input{tufte}\inmargin{This is another note in margin} \input tufte

Re: [NTG-context] Initial release of SBL bibliographic rendering and biblio wishlist

2021-12-10 Thread J Huisman via ntg-context
combiinlistelse to help with this sort of thing in the bibliographic > list, but we'd like something analogous for inline citations. Specifically, > we'd like a way to retrieve (or compare) the tag, author, and title of the > last entry cited in the current mode (where the mode may be in the ma

[NTG-context] Initial release of SBL bibliographic rendering and biblio wishlist

2021-12-08 Thread Joey McCollum via ntg-context
, and title of the last entry cited in the current mode (where the mode may be in the main document or a footnote/endnote). A further \btxsetup option could control how locally the tracking should be done (i.e., if the trackers should reset at the start of a new chapter, new sect

Re: [NTG-context] [DKIM] Re: [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-07 Thread Hans Hagen via ntg-context
ctan (for testing, i don't depend on it so it's not critital what i install) If I test it under mkiv do I need a separate install? no, the lmtx installer also installs mkiv but you can try the garden mkiv installation and then just replace tikz and circuitikz in the modules section

Re: [NTG-context] Title for tabulate

2021-11-30 Thread Denis Maier via ntg-context
not repeat on each page. > >> why not just use > >> > >> \subsubsubject{xxxx} > > > > That sounds like a neat solution. I'll investigate. > > Does that play nicely with structurelevels? I mean, let's say I'm somewhere > higher, e.g. on cha

Re: [NTG-context] Title for tabulate

2021-11-28 Thread Hans Hagen via ntg-context
with structurelevels? I mean, let's say I'm somewhere higher, e.g. on chapter, the next level would be section. If I now invoke this subsubsubject manually, does that break the levels structure? often it's ok as subjects are unnumbered but you can play safe: \definehead[myownhead

Re: [NTG-context] Title for tabulate

2021-11-28 Thread Denis Maier via ntg-context
I'll investigate. Does that play nicely with structurelevels? I mean, let's say I'm somewhere higher, e.g. on chapter, the next level would be section. If I now invoke this subsubsubje

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-27 Thread Joey McCollum via ntg-context
le, we do want one between *Title *and 8. Similarly, we want to remove the comma if the first locator in the loctext is a section marker (§) or paragraph marker (¶). This is why I want to check the beginning of the \currentloctext macro for the presence of a volume number (a number followed by a colon), a

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-27 Thread Hans Hagen via ntg-context
em to work, as the \DoIfPrefixElse macro is printing "NOP" instead of "YES": ``` \starttexdefinition loc [#1] \doifassignmentelse{#1} { % if an assignment, then parse and format accordingly \getparameters[loc][#1] % Was a section number specified? \doifdefined{locsec} { § \loc

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-27 Thread Joey McCollum via ntg-context
ot;NOP" instead of "YES": ``` \starttexdefinition loc [#1] \doifassignmentelse{#1} { % if an assignment, then parse and format accordingly \getparameters[loc][#1] % Was a section number specified? \doifdefined{locsec} { § \locsec } } { % otherwise, just print the input as

Re: [NTG-context] Checking for a Unicode prefix of a Unicode string

2021-11-26 Thread Joey McCollum via ntg-context
ter it has been fully expanded) starts with a certain prefix. A minimal (non-)working example follows: ``` \starttexdefinition loc [#1] \doifassignmentelse{#1} { % if an assignment, then parse and format accordingly \getparameters[loc][#1] % Was a section number specified? \doifdefined

Re: [NTG-context] Backmatter preventing section numbers from appearing

2021-11-25 Thread Hans Hagen via ntg-context
% comment out %\stopbackmatter % comment out \stoptext/ / / Uncommenting lines 8 and 9 causes the section numbers to disappear. Is this normal behavior? Why does the presence of backmatter affect my sections like this? technically there can be many so called sectionblocks in any order and as one

[NTG-context] Backmatter preventing section numbers from appearing

2021-11-25 Thread A A via ntg-context
* Uncommenting lines 8 and 9 causes the section numbers to disappear. Is this normal behavior? Why does the presence of backmatter affect my sections like this? Regards, Amine ___ If your question is of interest

Re: [NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread Musa Furber via ntg-context
tion[title={...},list={...},bookmark={...}] ... \stopsection I do not think that is an option for me. The book is bilingual, with Arabic and English. There are places where I want the chapter, section, and subsection titles to be bilingual as well, with English on the left and Arabic on the right. I

[NTG-context] Confusing interaction between \writetolist and bookmarks (bug?)

2021-11-22 Thread musa furber via ntg-context
get repeated (not what I expected). Here is a M(not)WD: ###begin \setupinteraction[state=start] \placebookmarks[chapter, section][chapter, section] \setupinteractionscreen[option=bookmark] \starttext \startfrontmatter \title{Contents} \placelist[chapter] \stopfrontmatter

[NTG-context] Errors in source files return success

2021-11-18 Thread Marco Patzer via ntg-context
… entered at line \startalignment [middle] foo %% missing references See \in{section}[sec:none]. %% undefined control sequence %% \undefined \stoptext Marco ___ If your question is of interest to others as well, please

Re: [NTG-context] Can modes be used for content control?

2021-11-17 Thread Taco Hoekwater via ntg-context
\beginsectionblock \section{A to B} \beginmyblock A is for Amy, who fell down the stairs. \endmyblock \beginmyblock B is for Basil, assaulted by bears. \endmyblock \endsectionblock \stoptext — Taco Hoekwater E: t...@bittext.nl genderfluid (all pronouns

Re: [NTG-context] Can't replicate a simple example in the wikipage

2021-11-15 Thread Wolfgang Schuster via ntg-context
A A via ntg-context schrieb am 15.11.2021 um 17:15: Dear All, I'm trying to run one of the examples in the ConTeXt wiki page https://wiki.contextgarden.net/Titles Here's the code: * * *\setuppapersize[A5] \section[sec:old]{Old Section} This is an old-style \ConTeXt\ section. \startsection

[NTG-context] Can't replicate a simple example in the wikipage

2021-11-15 Thread A A via ntg-context
Dear All, I'm trying to run one of the examples in the ConTeXt wiki page https://wiki.contextgarden.net/Titles Here's the code: *\setuppapersize[A5]\section[sec:old]{Old Section}This is an old-style \ConTeXt\ section.\startsection [title={New Section} reference=sec:new

Re: [NTG-context] Synonyms feature request

2021-11-12 Thread Hans Hagen via ntg-context
On 11/12/2021 4:22 AM, Rik Kabel via ntg-context wrote: Hello developers, Is it possible to get a mechanism to reset and setup synonyms by way (page, part, chapter, section, ...)? This is not a high-priority request. I currently accomplish this in the after key of chapter setuphead

[NTG-context] Synonyms feature request

2021-11-11 Thread Rik Kabel via ntg-context
Hello developers, Is it possible to get a mechanism to reset and setup synonyms by way (page, part, chapter, section, ...)? This is not a high-priority request. I currently accomplish this in the after key of chapter setuphead definitions. However, it seems cleaner to define it when

Re: [NTG-context] A book with sections

2021-10-23 Thread Pablo Rodriguez via ntg-context
als? Hi Gerben, I don’t know what actual RHS title pages are: \definestructureresetset[default][0,1,1][1] \definestructureconversionset[sectionnumbers][R,n][n] \setupheads[sectionconversionset=sectionnumbers, sectionresetset=default] \setuphead[part][placehead=yes] \setuphead[chapter][

Re: [NTG-context] A book with sections

2021-10-23 Thread Wolfgang Schuster via ntg-context
to number with Roman numerals? See below. % Change the number conversion for section titles \defineconversionset [section] [Romannumerals] [numbers] \setuphead   [sectionconversionset=section] % Show only the chapter value for chapter \setuphead   [chapter]   [sectionsegments=chapter] % Don't

Re: [NTG-context] Compilation error with the new version of lmtx

2021-10-17 Thread Hans Hagen via ntg-context
       [section]        [margin=1em,         width=1.75em]     \setuplist        [subsection]        [margin=2.75em,         width=2em,         distance=\spaceamount]     \starttitle[title=Table des matières]          \placelist            [chapter,section,subsection]            [criterium=all

[NTG-context] Compilation error with the new version of lmtx

2021-10-16 Thread Fabrice Couvreur via ntg-context
sa 2.2] \setuphead [title] [style=ChapterTextStyle, align=flushright] \setuplist [chapter] [style=bold, alternative=b, width=1em] \setuplist [section] [margin=1em, width=1.75em] \setuplist [subsection

Re: [NTG-context] metafun: circular arc

2021-10-05 Thread Hans Hagen via ntg-context
tions, for those who are better at math and at metafun than I am: 1. The big problem: for the next followtext, I need the circular arc between points z[23] and z[20]. But however I place the cutbefore and cutafter, I don't get the proper part of the circle. I'm looking at the right intersectio

[NTG-context] metafun: circular arc

2021-10-05 Thread Thomas A. Schmitz via ntg-context
un than I am: 1. The big problem: for the next followtext, I need the circular arc between points z[23] and z[20]. But however I place the cutbefore and cutafter, I don't get the proper part of the circle. I'm looking at the right intersection points, as the red line shows, but the blue line sho

Re: [NTG-context] Addition of authortitle sorttype for bibliographies

2021-10-04 Thread Joey McCollum via ntg-context
{ field = "booktitle", default = "", unknown = "" }, -- if this is an untitled section (e.g., introduction, foreword, preface) of a book or a review of a book { field = "maintitle", default = "", unknown = "

Re: [NTG-context] changes of color

2021-09-21 Thread fv leung via ntg-context
label("\null", origin); % add this seems to solve the problem \stopMPcode \par text still red\par Don't know why. Just an observation. } \stoptext Thierry Horsin via ntg-context 於 2021年9月21日 週二 下午8:00寫道: > Hi everybody > > After some part of a tex file where there is some

[NTG-context] changes of color

2021-09-21 Thread Thierry Horsin via ntg-context
Hi everybody After some part of a tex file where there is some startMPcode section the color of the text (e.g. blue) changes to black up until the next page in the pdf. Is there something I am missing ? Thank you. Thierry

Re: [NTG-context] Addition of authortitle sorttype for bibliographies

2021-09-19 Thread Joey McCollum via ntg-context
= { sequence = { { field = "author",default = "", unknown = "" }, { field = "title", default = "", unknown = "" }, { field = "booktitle", default = "", unknown

Re: [NTG-context] improve bad habits deduplicate redundant defined values

2021-09-17 Thread Jan Ulrich Hasecke via ntg-context
environment files: hs.env-2-seiter-din-lang-hoch.tex hs.env-2-seiter-din-lang-quer.tex hs.env-6-seiter-din-lang.tex hs.env-bleed.tex hs.env-chapter-section-subsection-toc.tex hs.env-chapter-section-toc.tex hs.env-chapter-toc.tex hs.env-colors.tex hs.env-coverpages.tex hs.env-din-a4.tex hs.e

Re: [NTG-context] Number conversion in btxlist and citations

2021-09-16 Thread kauśika cittūr via ntg-context
endering works. I have also verified that my > conversion set 'myconv' is functional (I am using it for page numbers and > section headings). > > However, the numbers used in the citation are not converted. That is, > 'numberconversion=myconv' seems to have no effect. What am I d

Re: [NTG-context] Number conversion in btxlist and citations

2021-09-16 Thread kauśika cittūr via ntg-context
endering works. I have also verified that my > conversion set 'myconv' is functional (I am using it for page numbers and > section headings). > > However, the numbers used in the citation are not converted. That is, > 'numberconversion=myconv' seems to have no effect. What am I doing w

[NTG-context] Number conversion in btxlist and citations

2021-09-15 Thread kauśika cittūr via ntg-context
[mylist] [numberconversion=myconv] ⋮ I have define the required setups for every category entry as well. I have verified that this btxrendering works. I have also verified that my conversion set 'myconv' is functional (I am using it for page numbers and section headings). However, the numbers

Re: [NTG-context] update

2021-09-13 Thread Hans Hagen via ntg-context
I don’t know yet. It seems to start in the middle of a section title in the first chapter of my book. Oveefull boxes? The footnotes unfortunately became only worse so far – often they’re overprinted by the running text, even without columns or grid. I’ll try to come up with good examples, but th

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-13 Thread Wolfgang Schuster via ntg-context
on the Wiki page without taking too much space. (I don't know how to do that - my experiments didn't go well!) (b) the Titles page seems to be the right place for it, but that page is already quite long. Maybe your example could be put into its own page with a link from the Titles page examples section

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-13 Thread Bruce Horrocks via ntg-context
that - my experiments didn't go well!) (b) the Titles page seems to be the right place for it, but that page is already quite long. Maybe your example could be put into its own page with a link from the Titles page examples section? > On 12 Sep 2021, at 19:58, Christian Dekant via ntg-cont

Re: [NTG-context] update

2021-09-13 Thread Henning Hraban Ramm via ntg-context
phenationmode "79F3F, options "80, font <36: lmmono10-regular @ 10.0pt>, >> glyph U+70 p >> 4:10: >> \penalty[userpenalty][color=1,colormodel=4,marks=334,snapmethod=3,breakpoint=1] >> 1 >> Is this some debugging leftover or am I supposed to underst

Re: [NTG-context] ConTeXt inserts additional dots for Iosevka font

2021-09-12 Thread Hans Hagen via ntg-context
is the number supposed to indicate ? It is not an alternate, right? Actually it is an alternate, but only partially. There is a table on the github page with the results from all alternatives. Look at section "Character Variats" on https://github.com/be5invis/Iosevka With fonts li

Re: [NTG-context] ConTeXt inserts additional dots for Iosevka font

2021-09-12 Thread Hans Hagen via ntg-context
is the number supposed to indicate ? It is not an alternate, right? Actually it is an alternate, but only partially. There is a table on the github page with the results from all alternatives. Look at section "Character Variats" on https://github.com/be5invis/Iosevka   \

Re: [NTG-context] ConTeXt inserts additional dots for Iosevka font

2021-09-12 Thread Wolfgang Schuster via ntg-context
, right? Actually it is an alternate, but only partially. There is a table on the github page with the results from all alternatives. Look at section "Character Variats" on https://github.com/be5invis/Iosevka \definefont [SomeFont] [name:iosevka*default:test]

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Denis Maier via ntg-context
> So far I've tried tex4ebook and tex4ht and neither works for me. > > Firstly, some of the LaTeX commands are not recognised or causing errors. > > > > And secondly, when I managed to get a small test section to work, the > > generated XHTML/HTML is very large, f

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Denis Maier via ntg-context
So far I've tried tex4ebook and tex4ht and neither works for me. > Firstly, some of the LaTeX commands are not recognised or causing errors. > > And secondly, when I managed to get a small test section to work, the > generated XHTML/HTML is very large, full of tiny s. The problem

Re: [NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Hans Hagen via ntg-context
a small test section to work, the generated XHTML/HTML is very large, full of tiny s. The problem seems to be that tex4ht runs TeX which typesets everything into DVI with every element carefully placed on a page, and then tex4ht tries to reverse that back into HTML. All this extra HTML will slow down

[NTG-context] LuaMetaTEX as LaTeX to XHTML/ePub transpiler?

2021-09-10 Thread Hugh Fisher via ntg-context
errors. And secondly, when I managed to get a small test section to work, the generated XHTML/HTML is very large, full of tiny s. The problem seems to be that tex4ht runs TeX which typesets everything into DVI with every element carefully placed on a page, and then tex4ht tries to reverse

[NTG-context] TOC labeltext and no partlabel

2021-08-24 Thread Adam Reviczky via ntg-context
\startfrontmatter \completecontent[label=section] \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \startappendices \chapter{Appendix} \stopappendices \stoptext But that does not show the labels in the TOC (trying it with LMTX and MKIV). I must be doing something wrong. Any hints

[NTG-context] numbered exercises

2021-08-24 Thread Henning Hraban Ramm via ntg-context
Hi, I’m typesetting a textbook that contains numbered and indented exercises. They must not float. Which structure should I use for them? There must be an easy answer, but I draw a blank. At the moment I’m using heads, derived from 'section', but the exercises should have independent numbers

[NTG-context] different preffixsegments for different reference formats

2021-08-21 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \definereferenceformat[itsc][in] \setupreferencestructureprefix[itsc][default] [prefixsegments=section] \chapter{Chapter} \section[b]{Section} \itsc[b] and \in[b] \stoptext How can I get that \itsc gets "prefixsegments=se

Re: [NTG-context] Using Lua to format lecture titles

2021-08-17 Thread Wolfgang Schuster via ntg-context
noib3 via ntg-context schrieb am 17.08.2021 um 16:43: I'm trying to create a new lecture environment starting from the base section. I'd like its title to be `Lecture : ` if a title is provided, and `Lecture ` if it isn't. This title should also be reported in the left footer

[NTG-context] Using Lua to format lecture titles

2021-08-17 Thread noib3 via ntg-context
I'm trying to create a new lecture environment starting from the base section. I'd like its title to be `Lecture : ` if a title is provided, and `Lecture ` if it isn't. This title should also be reported in the left footer and in the table of contents. This is the code I have so far

Re: [NTG-context] Unicode normalization and Hebrew in ConTeXt

2021-08-16 Thread Joey McCollum via ntg-context
re applied? Thanks again! Joey On Thu, Apr 30, 2020 at 4:17 PM Joey McCollum wrote: > Okay! I have not figured out how to add a new page to the wiki, but I was > able to add a section to the end of the "Arabic and Hebrew" page ( > https://www.contextgarden.net/Arabic_and

Re: [NTG-context] Adjustment in the table of contents

2021-08-16 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 16.08.2021 um 11:24: Hi, I wish to have the table of contents as the attached image. The result is almost as expected except for the margin of the subsection.  \setuplist    [chapter,section,subsection]  [width=fit,distance=\spaceamount

[NTG-context] Adjustment in the table of contents

2021-08-16 Thread Fabrice Couvreur via ntg-context
Hi, I wish to have the table of contents as the attached image. The result is almost as expected except for the margin of the subsection. \setuplist [chapter,section,subsection] [width=fit,distance=\spaceamount] \setuplist [chapter] [alternative=b] \setuplist [chapter][style=bold

Re: [NTG-context] Progressively encouraging page/column breaks at \blank with penalties

2021-08-15 Thread Joey McCollum via ntg-context
That works for my purposes; thank you for letting me know about it! Joey On Sun, Aug 15, 2021 at 1:53 AM Aditya Mahajan via ntg-context < ntg-context@ntg.nl> wrote: > On Sun, 15 Aug 2021, Joey McCollum via ntg-context wrote: > > > Hi, > > > > I'm trying to im

Re: [NTG-context] Progressively encouraging page/column breaks at \blank with penalties

2021-08-14 Thread Aditya Mahajan via ntg-context
On Sun, 15 Aug 2021, Joey McCollum via ntg-context wrote: > Hi, > > I'm trying to implement a section break marker in a grid layout. At a > section break, two lines of space should separate the subsequent segments > of text (just plain paragraphs, in this case), and a symbol

[NTG-context] Progressively encouraging page/column breaks at \blank with penalties

2021-08-14 Thread Joey McCollum via ntg-context
Hi, I'm trying to implement a section break marker in a grid layout. At a section break, two lines of space should separate the subsequent segments of text (just plain paragraphs, in this case), and a symbol (in the example below, "X") should be set in the middle of these two lin

Re: [NTG-context] Both pdfinfo & exiftool have trouble with 1.0.4 but works with 1.0.3

2021-08-13 Thread Ramkumar KB via ntg-context
Hans, To close this thread, both poppler and exiftool worked properly after I upgraded to the latest version (details below). I will add a section in the wiki about these tools, as they are mighty useful when working with PDFs. mtx-context | ConTeXt Process Management 1.04 mtx-context

[NTG-context] space before section titles sometimes disappears in grid mode

2021-08-12 Thread Henning Hraban Ramm via ntg-context
E.g. in CG journal, there are usually 3 blank lines before a section title. Most of it is single column and without grid, no problem there. But some articles use columnsets and are therefore in grid mode. Sometimes the space before the section title disappears completely, so that it is glued

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-08-06 Thread Jeroen via ntg-context
. \startbuffer[slides] \setuptolerance[ horizontal, tolerant, stretch] \setuppapersize[ A4,landscape] \setuplayout[ width=middle, backspace=35mm, cutspace=35mm, height=middle, topspace=5mm, bottomspace=20mm] \setuppagenumbering[ location={footer,center}] \setuphead [sec

Re: [NTG-context] How to check if buffer or block has content

2021-08-02 Thread Wolfgang Schuster via ntg-context
? I would like to typeset a headline only if the buffer/block has been used in a particular section and want to avoid headlines with empty sections. There may be more efficient ways to do it (since buffers are stored at the lua end), but you can always do \doiftextelse(\getbuffer

Re: [NTG-context] How to check if buffer or block has content

2021-08-02 Thread Hans van der Meer via ntg-context
gt;>> I would like to typeset a headline only if the buffer/block has been used >>> in a particular section and want to avoid headlines with empty sections. >> There may be more efficient ways to do it (since buffers are stored at the >> lua end), but you can alwa

Re: [NTG-context] How to check if buffer or block has content

2021-08-02 Thread Hans Hagen via ntg-context
/block has been used in a particular section and want to avoid headlines with empty sections. There may be more efficient ways to do it (since buffers are stored at the lua end), but you can always do \doiftextelse(\getbuffer[...]} to test it buffer creates any output. indeed you know

Re: [NTG-context] How to check if buffer or block has content

2021-08-02 Thread Aditya Mahajan via ntg-context
On Mon, 2 Aug 2021, Benjamin Buchmuller via ntg-context wrote: > Hi, > > How can I check if a buffer or block has content (or is empty) before a > \useblocks or \getbuffer statement? > > I would like to typeset a headline only if the buffer/block has been used in >

[NTG-context] How to check if buffer or block has content

2021-08-02 Thread Benjamin Buchmuller via ntg-context
Hi, How can I check if a buffer or block has content (or is empty) before a \useblocks or \getbuffer statement? I would like to typeset a headline only if the buffer/block has been used in a particular section and want to avoid headlines with empty sections. Thanks! Benjamin

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Jeroen via ntg-context
, bottomspace=20mm] \setuppagenumbering[ location={footer,center}] \setuphead [section] [page={yes}] \usetypescript[pagella] \setupbodyfont[pagella,18pt] \setupbodyfontenvironment[ 28pt][ % For body d=36pt, % For title a=12pt, % For author & date ] \setuptype[style=me

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-07-31 Thread Thomas A. Schmitz via ntg-context
section of the garden... I'll have to ask Taco to reset it for me. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl

Re: [NTG-context] Multimedia, PDF and ConTeXt

2021-07-27 Thread Michal Vlasák via ntg-context
MuPDF viewers. Only Acrobat (first page only), Foxit, Okular and Evince. MuPDF doesn't even try to support video. They target multiple platforms including mobile. The functionality would probably have to be added on top of the core (i.e. in Sumatra). > > If more documen

[NTG-context] Getting the local float reference within a float and reuse (?) it later (\somelocalfloat?)

2021-07-22 Thread Benjamin Buchmuller
Hi, Is there a more convenient way to get the current reference label (stably) from within a float? For example, I would like to make an "image credits" section at the end of a document, so I do something similar to: \defineblock[credits] \starttext \section[sec:to

[NTG-context] \xmlrefatt as node?

2021-07-19 Thread Pablo Rodriguez
:*} \stopxmlsetups \xmlregistersetup{xml:testsetups} \startxmlsetups xml:flushing \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:a \xmlattribute{#1}{ancestor::div[@class='section level1 hidden']}{id}\\ \xmlrefatt{#1}{href}:\ \doifelse {\xmlrefatt{#1}{href}} {\xmlattribute{#1

Re: [NTG-context] (no subject)

2021-07-18 Thread Wolfgang Schuster
T. Kurt Bond schrieb am 17.07.2021 um 08:38: I have the following file: \setupfloat[table][default=nonumber] \starttext \section[title={Tables without force}] Here is a table without a caption, unforced. \startplacetable[location=none]   \bTABLE   \bTR\bTD r1c1

Re: [NTG-context] A not so short introduction to ConTeXt - French version - progress report.

2021-07-14 Thread Joaquín Ataz López
many "copy/paste". I still have to review all the pages and flow between each section … (and  after to switch to the french interface of ConTeXt commands …). New Table of Content Part 1 - source code basics ---    - source file    - syn

[NTG-context] A not so short introduction to ConTeXt - French version - progress report.

2021-07-14 Thread Garulfo
any many "copy/paste". I still have to review all the pages and flow between each section … (and after to switch to the french interface of ConTeXt commands …). New Table of Content Part 1 - source code basics --- - source file

Re: [NTG-context] A not so short introduction to ConTeXt - French version - progress report.

2021-07-13 Thread Joaquín Ataz López
for beginners" Some thoughs: - to move "page break section" from Part I section 5.5   to something like Part III 11.x - Once the translation finished, to simplify some explanations. Garulfo Thanks for the translation. For now I went through 1/10 of the document and I have comments.

Re: [NTG-context] A not so short introduction to ConTeXt - French version - progress report.

2021-07-13 Thread Alain Delmotte
set Demos (showing code and results side by side) - some attachments to provide "ready to go .tex for beginners" Some thoughs: - to move "page break section" from Part I section 5.5   to something like Part III 11

Re: [NTG-context] columnsets messed up

2021-07-04 Thread Henning Hraban Ramm
https://sedna.fiee.net/f/24d54a952b0243a98775/?dl=1 > > What could case that? Even curioser: If there isn’t a \page after \stopcolumnset, the second-to-last section (subject) disappears and the last one is typeset completely. (Later:) Ok, found it: \def\stopArticle{% \par\signArticle

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