[NTG-context] Re: How do I get roman numerals in all numerable sections with no extra spacing after the period (would appreciate condensed code/simplification) (I read documentation but did not get an

2024-08-22 Thread Hraban Ramm
t][ page=no, placehead=yes, numbercommand=\groupedcommand{}{.} % Add period after numbers ] \setuphead[chapter][ page=no, numbercommand=\groupedcommand{}{.} % Add period after numbers ] \setuphead[section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][ numbercomma

[NTG-context] How do I get roman numerals in all numerable sections with no extra spacing after the period (would appreciate condensed code/simplification) (I read documentation but did not get any re

2024-08-22 Thread Felix
, numbercommand=\groupedcommand{}{.} % Add period after numbers ] \setuphead[chapter][ page=no, numbercommand=\groupedcommand{}{.} % Add period after numbers ] \setuphead[section, subsection, subsubsection, subsubsubsection, subsubsubsubsection][ numbercommand=\groupedcommand{}{.} % Add

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-29 Thread Sylvain Hubert
t; > > \definesectionlevels > > [default] > > [section, subsection, subsubsection, subsubsubsection, > subsubsubsubsection] > > > > \starttext > > \startsectionlevel > > \startsectionlevel > > \startsectionlevel > > \startsectionlevel > &

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-29 Thread Sylvain Hubert
rt wrote: > > ConTeXt LMTX version: 2024.05.27 18:16 > > > > Reproducible example: > > > > \definesectionlevels > > [default] > > [section, subsection, subsubsection, subsubsubsection, > subsubsubsubsection] > > > > \starttext >

[NTG-context] Re: lua error in `strc-lev.lua`

2024-05-28 Thread Denis Maier via ntg-context
Well, you define less levels than you need. Try this : % \definesectionlevels [default] [ %chapter, % uncomment this line to make it work section, subsection, subsubsection, subsubsubsection, subsubsubsubsection] \starttext

[NTG-context] lua error in `strc-lev.lua`

2024-05-28 Thread Sylvain Hubert
ConTeXt LMTX version: 2024.05.27 18:16 Reproducible example: \definesectionlevels [default] [section, subsection, subsubsection, subsubsubsection, subsubsubsubsection] \starttext \startsectionlevel \startsectionlevel \startsectionlevel \startsectionlevel \startsectionlevel \startsectionlevel

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

2021-12-24 Thread Bruce Horrocks via ntg-context
ou are using an Emacs macro to do the export then the following code will return the first 2 from the list of section types: (let ((list '("part" "chapter" "section" "subsection" "subsubsection" "subsubsubsection" "subs

Re: [NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-03 Thread Hans Hagen
ection,   subsection,   subsubsection,   subsubsubsection,   subsubsubsubsection,   subsubsubsubsubsection,   subsubsubsubsubsubsection,   subsubsubsubsubsubsubsection][sectionconversionset=myconvset] \setuphead[chapter][sectionsegments=chapter] \setuphead[section][sectionsegments=section] \

[NTG-context] Indenting number in TOC, particular numbering scheme, and other questions

2019-12-02 Thread Daniel Haid
section, subsection, subsubsection, subsubsubsection, subsubsubsubsection, subsubsubsubsubsection, subsubsubsubsubsubsection, subsubsubsubsubsubsubsection][sectionconversionset=myconvset] \setuphead[chapter][sectionsegments=chapter] \setuphead[section][sectionsegments=section] \setuphead[subsection

Re: [NTG-context] Are nested sections possible?

2016-03-11 Thread Andreas Schneider
subsubsubsubsection), you may need to define your own using \definesectionlevels. Best regards Andreas Am 2016-03-11 09:08, schrieb m...@silentumbrella.com: Greetings, Is it possible to have \starttext \startchapter Hey a chapter! \startsection something.one \startsection someting.one.one

Re: [NTG-context] \startstructurelevel

2013-10-25 Thread Wolfgang Schuster
vel > \stoptext You can’t mix sectionlevels and normal section command. When you want a \section for the first level change the level settings with \definesectionlevels [default] [section, subsection, subsubsection, subsubsubsection, subsubsubsubsection] and use \starttext \s

Re: [NTG-context] Different counters for titles

2013-09-03 Thread Hans Hagen
that you can use different rendering. In fact the topmost levels are : \definesection[section-1] % part \definesection[section-2] % chapter \definesection[section-3] % section \definesection[section-4] % subsection \definesection[section-5] % subsubsection \definesection[section-6] % subsubsubsecti

Re: [NTG-context] setuphead and Table of Content

2013-03-31 Thread Sietse Brouwer
nedlist [\v!content] [\v!part, \v!chapter, \v!section, \v!subsection, \v!subsubsection, \v!subsubsubsection, \v!subsubsubsubsection] [\c!level=\v!subsubsubsubsection, \c!criterium=\v!local] Hope this helps! Cheers, Sietse

[NTG-context] structure levels

2010-09-29 Thread Hans Hagen
\stopstructurelevel \stopstructurelevel \stopstructurelevel \stoptext this uses \definestructurelevels [default] [chapter, section, subsection, subsubsection, subsubsubsection, subsubsubsubsection] The more verbose variant is still there: \definehead[xxsection

[NTG-context] \setupcombinedlist ignores `level' argument?

2010-09-18 Thread Corsair
dlist[content][level=section] \starttext \completecontent \chapter{Level 0} \section{Level 1} \subsection{Level 2} \subsubsection{Level 3} \subsubsubsection{Level 4} \subsubsubsubsection{Level 5} \stoptext Is this a bug, or I did something wrong? -- There is no emotion; there is peace. There is no igno

[NTG-context] numbers missing in subsubsubsubsubsubsection

2010-09-11 Thread Steffen Wolfrum
Hi all, how do I get my numbers in level nine (and higher) back? See example below please. Did someone change module[subsub] ?? Thanks in advance, Steffen [2010.09.05 13:23 MKIV] = \usemodule[subsub] \starttext \definehead [LevelSeven] [subsubsubsubsection] \definehead [LevelNine

Re: [NTG-context] table of contents

2010-04-30 Thread Wolfgang Schuster
, subsubsection, subsubsubsection, subsubsubsubsection, title, subject, subsubject, subsubsubject, subsubsubsubject, subsubsubsubsubject] [criterium=all] \startsectionblockenvironment[frontpart] \setuphead[title,subject,subsubject][incrementnumber=no] \stopsectionblockenvironment

[NTG-context] Table of contents disappears when \setuparranging is used

2010-03-05 Thread berend
is appears in the log file: system : part,chapter,section,subsection,subsubsection,subsubsubsectio n,subsubsubsubsection not found/processed -- All the best, Berend de Boer ___ If your question is of interest

Re: [NTG-context] Doc to ConTeXt [was Re: HTML to ConTeXt]

2007-11-09 Thread Saji Njarackalazhikam Hameed
rticle/"h2").each do |h2| h2.swap("\\subsection{#{h2.inner_html}}") end # replace h3 element with subsection (@article/"h3").each do |h3| h3.swap("\\subsubsection{#{h3.inner_html}}") end # replace h4 element with subsection (@article/"h4").each do |h4| h

[NTG-context] also install problems (luatex)

2007-08-09 Thread WolfgangZ
defined [subsection] system : mark subsectionnumber defined [subsectionnumber] system : mark subsubsection defined [subsubsection] system : mark subsubsectionnumber defined [subsubsectionnumber] system : mark subsubsubsection defined [subsubsubsection] system : mark subsubsubsectionnumber define

[NTG-context] Html to Context using Wiki + hpricot

2007-07-11 Thread Saji Njarackalazhikam Hameed
tion (@article/"h1").each do |h1| h1.swap("\\section{#{h1.inner_html}}") end # replace h2 element with subsection (@article/"h2").each do |h2| h2.swap("\\subsection{#{h2.inner_html}}") end # replace h3 element with subsection (@article/"h3").each do

Re: [NTG-context] How to format the line "Table of Contents" ?

2007-06-05 Thread David Arnold
,subsubsubsubsection] [level=subsubsubsubsection, criterium=local] \def\PageCommand#1{Page #1} \setuplist [chapter] [before=\blank, after=\blank, style=bold, pagecommand=\PageCommand] \setuplist [section] [pagecommand=\PageCommand, alternative=c] \starttext \TocHead{Table of Contents

Re: [NTG-context] Install mess (Type3 Fonts)

2006-03-20 Thread Thomas A. Schmitz
lm.map}{/usr/ > local/share/te > xmf-dist/fonts/map/dvips/context/ec-base.map}{/usr/local/share/ > texmf-dist/fonts > /map/dvips/context/8r-base.map}{/usr/local/share/texmf-dist/fonts/ > map/dvips/con > text/t5-base.map}{/usr/local/share/texmf-dist/fonts/map/pdftex/ > contex

[NTG-context] Install mess (Type3 Fonts)

2006-03-20 Thread nico
t/original -ams-base.map}{/usr/local/share/texmf-dist/fonts/map/dvips/context/original-ams -euler.map}{/usr/local/share/texmf-dist/fonts/map/dvips/context/original-public -lm.map}] structure : begin of sectionblock frontmatter title : - \headtext {content} (./programlisting.001.tuo)

Re: [NTG-context] installing context

2005-10-03 Thread Rob Ermers
bsubsection] system : mark subsubsubsectionnumber defined [subsubsubsectionnumber] system : mark subsubsubsubsection defined [subsubsubsubsection] system : mark subsubsubsubsectionnumber defined [subsubsubsubsectionnu mber] system : mark title defined [title]

[NTG-context] installing context

2005-10-02 Thread Rob Ermers
ectionnumber defined [subsubsubsectionnumber] system : mark subsubsubsubsection defined [subsubsubsubsection] system : mark subsubsubsubsectionnumber defined [subsubsubsubsectionnu mber] system : mark title defined [title] system : mark titlenumber defined [titlenumber] system

Re: [NTG-context] New contexts version

2005-08-28 Thread Rob Ermers
: mark subsubsubsubsection defined [subsubsubsubsection] system : mark subsubsubsubsectionnumber defined [subsubsubsubsectionnu mber] system : mark title defined [title] system : mark titlenumber defined [titlenumber] system : mark subject defined [subject] system

Re: [NTG-context] Getting ToC to match page numbering

2005-08-01 Thread Duncan Hothersall
uplist [subsubsection] [separator={/}] >\setuplist [subsubsubsection][separator={/}] >\setuplist [subsubsubsubsection] [separator={/}] > > Taco Has no effect - tried this early on. Thanks for the suggestion. Seems like this *should* be the answer though... My current test file is a

Re: [NTG-context] Getting ToC to match page numbering

2005-08-01 Thread Taco Hoekwater
[separator={/}] \setuplist [chapter] [separator={/}] \setuplist [section] [separator={/}] \setuplist [subsection] [separator={/}] \setuplist [subsubsection] [separator={/}] \setuplist [subsubsubsection][separator={/}] \setup

Re: [NTG-context] Latest version + itemize

2005-06-06 Thread Lutz Haseloff
d [subsubsectionnumber] system : mark subsubsubsection defined [subsubsubsection] system : mark subsubsubsectionnumber defined [subsubsubsectionnumber] system : mark subsubsubsubsection defined [subsubsubsubsection] system : mark subsubsubsubsectionnumber defined [subs

Re: [NTG-context] patterns

2005-02-14 Thread Willi Egger
ber defined [subsubsubsectionnumber] system : mark subsubsubsubsection defined [subsubsubsubsection] system : mark subsubsubsubsectionnumber defined [subsubsubsubsectionnu mber] system : mark title defined [title] system : mark titlenumber defined [titlenumber] sys

[NTG-context] Install again

2003-12-30 Thread John Culleton
: calculating backgrounds 168c169,171 < [1.1{/usr/TeX/texmf-var/dvips/config/pdftex.map}] --- > [1.1{/usr/TeX/texmf-var/dvips/config/pdftex.map} > Warning: pdfetex (file 8a-agaramond.map): cannot open font map file > ] 170,171c173,174 < system : part,chapter,section,sub

Re: [NTG-context] XML command synonyms

2003-09-30 Thread Hans Hagen
At 20:30 29/09/2003 +0200, you wrote: On Sat, Sep 27, 2003 at 12:18:21PM +0200, Hans Hagen wrote: > At 07:41 27/09/2003 +0200, you wrote: > > >From: "Simon Pepping" <[EMAIL PROTECTED]> > > > >> >P: How to define '' as a synonym of 

Re: [NTG-context] XML command synonyms

2003-09-29 Thread Simon Pepping
On Sat, Sep 27, 2003 at 12:18:21PM +0200, Hans Hagen wrote: > At 07:41 27/09/2003 +0200, you wrote: > > >From: "Simon Pepping" <[EMAIL PROTECTED]> > > > >> >P: How to define '' as a synonym of 'subsubsubsubsection'

Re: [NTG-context] XML command synonyms

2003-09-27 Thread Pawel Jackowski na Onet
Hello! From: "Hans Hagen" <[EMAIL PROTECTED]> > \letcsnamecsname\csname\@@XMLelement:#1\endcsname\csname\@@XMLelement:#2\end csname > > etc, but before you enter that track, what exactly do you want? In example; assume that 'subsubsubsubsection' is

Re: [NTG-context] XML command synonyms

2003-09-27 Thread Hans Hagen
At 07:41 27/09/2003 +0200, you wrote: From: "Simon Pepping" <[EMAIL PROTECTED]> > >P: How to define '' as a synonym of 'subsubsubsubsection' without wrtiting > >P: the same code twice? > > From DocbookInContext: > > %D A \

Re: [NTG-context] XML command synonyms

2003-09-27 Thread Pawel Jackowski na Onet
From: "Simon Pepping" <[EMAIL PROTECTED]> > >P: How to define '' as a synonym of 'subsubsubsubsection' without wrtiting > >P: the same code twice? > > From DocbookInContext: > > %D A \type{\let} for XML environments > \

Re: [NTG-context] XML command synonyms

2003-09-25 Thread Simon Pepping
On Thu, Sep 25, 2003 at 02:57:17PM +0200, Pawel Jackowski na Onet wrote: > Hi all! > > Is there any way to define XML command synonyms? Assume that one defined > > \deifneXMLenvirnment[subsubsubsubsection]{...}{...} > > How to define &

Re: [NTG-context] XML command synonyms

2003-09-25 Thread Willi Egger
Hi Pawel > > > > Is there any way to define XML command synonyms? Assume that one defined > > > > \deifneXMLenvirnment[subsubsubsubsection]{...}{...} > > > > How to define '' as a synonym of 'subsubsubsubsection' without

Re: [NTG-context] XML command synonyms

2003-09-25 Thread Willi Egger
Hi Pawel > > Is there any way to define XML command synonyms? Assume that one defined > > \deifneXMLenvirnment[subsubsubsubsection]{...}{...} > > How to define '' as a synonym of 'subsubsubsubsection' without wrtiting > the same c

[NTG-context] XML command synonyms

2003-09-25 Thread Pawel Jackowski na Onet
Hi all! Is there any way to define XML command synonyms? Assume that one defined \deifneXMLenvirnment[subsubsubsubsection]{...}{...} How to define '' as a synonym of 'subsubsubsubsection' without wrtiting the same code twic