[NTG-context] Re: Customizing chapter titles

2024-08-06 Thread Shiv Shankar Dayal
Hi, Finally got it working with:; \setupcolors[state=start] \definecolor [maincolor] [r=, g=.5, b=.7] \define[2]\MyChapterCommand {\framed[align=flushright, width=\textwidth, frame=off]{\rotate[rotation=90]{\rm\small\sc \headtext{chapter}} \framed[backgroundcolor=maincolor, background=color

[NTG-context] Re: Customizing chapter titles

2024-08-06 Thread Shiv Shankar Dayal
Hi, My final version is below: \setupcolors[state=start] \definecolor [maincolor] [r=, g=.5, b=.7] \define[2]\MyChapterCommand {\framed[align=flushright, frame=off]{\rotate[rotation=90]{\rm\small\sc \headtext{chapter}} \framed[backgroundcolor=maincolor, background=color, frame=off

[NTG-context] Re: Customizing chapter titles

2024-08-06 Thread Shiv Shankar Dayal
This is what I came up with: \setupcolors[state=start] \definecolor [maincolor] [r=, g=.5, b=.7] \setupinteraction [ state=start, color=maincolor, contrastcolor=maincolor, style=, ] \define[2]\MyChapterCommand% {\rotate[rotation=90]{\rm\small\sc \headtext{chapter

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Hans Hagen
st > collecting entries using method 'global' and sort order 'default' pages > flushing realpage 296, userpage 294, subpage 296 structures > bookmark: Índex alfabètic structure > sectioning > chapter @ level 2 : 0.2 -> \headtext {index}

[NTG-context] An error which is not in .log file

2023-08-15 Thread Xavier B.
'global' and sort order 'default' pages > flushing realpage 296, userpage 294, subpage 296 structures > bookmark: Índex alfabètic structure > sectioning > chapter @ level 2 : 0.2 -> \headtext {index} pages > flushing realpage

Re: [NTG-context] upload

2022-12-21 Thread Pablo Rodriguez via ntg-context
ctioning > hiddentitle @ level 2 : 0.0 -> \xmlflush {main::29} pages > flushing realpage 5, userpage 5, subpage 5 pages > flushing realpage 6, userpage 6, subpage 6 structures > bookmark: [Cita] structure > sectioning > hiddentitle @ level 2

[NTG-context] rule beneath chapter number

2021-11-11 Thread jbf via ntg-context
=off,topframe=off,align=middle] {\vbox{\headtext{chapter} \underbar{#1}\crlf\blackrule[height=.1\exheight]\crlf#2}}} \setuphead[chapter][     header=empty,     alternative=middle,     style={\ssb},     number=yes,     command=\MyChapterCommand,     after={\blank[big]},     ] \setuplabeltext

Re: [NTG-context] Twenty One versus Twenty-one

2021-02-11 Thread jbf
erCommand is relevant here, but just in case, this is it: \define[2]\MyChapterCommand% {\framed[frame=on,bottomframe=on,leftframe=off,rightframe=off,topframe=off,align=middle]   {\vbox{\headtext{chapter} #1\blank#2}}} I'll add this: \def\verbosenumberconnector{--} so you can define you

Re: [NTG-context] Twenty One versus Twenty-one

2021-02-10 Thread Hans Hagen
on,leftframe=off,rightframe=off,topframe=off,align=middle] {\vbox{\headtext{chapter} #1\blank#2}}} I'll add this: \def\verbosenumberconnector{--} so you can define your own connectors. This is not interfaced via setuphead or setuplangauge or because the converter is not confi

[NTG-context] Twenty One versus Twenty-one

2021-02-10 Thread jbf
I can force it to give me 'Twenty-one'? (note the hyphen and the lower case for 'one'). I don't think MyChapterCommand is relevant here, but just in case, this is it: \define[2]\MyChapterCommand% {\framed[frame=on,bottomframe=on,leftframe=off,rightframe=off,topframe

Re: [NTG-context] formatting index entries

2019-08-21 Thread Robert Zydenbos
ct 5-10 pct runtime overhead! open source > level 2, order 3, name '/Users/rz/Documents/work/Kannada-manual-compile-klad/indexpablo.tex' fonts > preloading latin modern fonts (second stage) fonts > 'fallback modern-designsize rm 12pt' is loaded structure

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Wolfgang Schuster
r 20, name '../setup_code.tex' close source > level 3, order 20, name '../setup_global.tex' open source > level 3, order 21, name '../setup_frontmatter.tex' structures > begin of sectionblock 'frontpart' open source > level 4, order 22, name '

Re: [NTG-context] Typefile with Chinese, Korean or Japanase text

2017-12-06 Thread Wim Neimeijer
name '../setup_frontmatter.tex' structures > begin of sectionblock 'frontpart' open source > level 4, order 22, name 'title.tex' metapost> initializing instance 'metafun' using format 'metafun' metapost> loading 'me

Re: [NTG-context] Couple of questions

2017-07-28 Thread Gerion Entrup
bibliography as > > well. > > Below a minimal example, that reproduces it: > > ``` > > \setupinteraction[state=start] > > > > \define[2]\MyChapter{\framed[frame=off,bottomframe=on,topframe=on] > > {\vbox{\headtext{chapter} #1\blank#2}}} > >

Re: [NTG-context] Couple of questions

2017-07-28 Thread Pablo Rodriguez
> \setupinteraction[state=start] > > \define[2]\MyChapter{\framed[frame=off,bottomframe=on,topframe=on] > {\vbox{\headtext{chapter} #1\blank#2}}} > > \setuphead[chapter][command=\MyChapter, style={\switchtobodyfont[24pt,ss]}, > header=empty, page=mychapterpagebreak]

[NTG-context] Couple of questions

2017-07-27 Thread Gerion Entrup
er{\framed[frame=off,bottomframe=on,topframe=on] {\vbox{\headtext{chapter} #1\blank#2}}} \setuphead[chapter][command=\MyChapter, style={\switchtobodyfont[24pt,ss]}, header=empty, page=mychapterpagebreak] \setupheadtext[chapter=Chapter, content=Table of Contents] \starttext \completecontent

[NTG-context] Caption with new line

2017-03-17 Thread Kostirya
Hello. I use \vbox to separate headtext from text in chapter header by new line. \define[2]\MyChapterCommand{\vbox{\centeraligned{\headtext{chapter} #1.\\#2}}} \define[1]\DotAfterNumber{\doiftext{#1}{#1.}} \setuphead[chapter][command=\MyChapterCommand] \setuphead[title][numbercommand

[NTG-context] Caption with new line

2017-03-17 Thread Kostirya
Hello. I use \vbox to separate headtext from text in chapter header by new line. \define[2]\MyChapterCommand{\vbox{\centeraligned{\headtext{chapter} #1.\\#2}}} \define[1]\DotAfterNumber{\doiftext{#1}{#1.}} \setuphead[chapter][command=\MyChapterCommand] \setuphead[title][numbercommand

Re: [NTG-context] TOC in bookmarks

2016-07-11 Thread Wolfgang Schuster
ws the text which is set with \setupheadtext[][content=...] \completecontent % Variant 2, you can set your own text for the bookmark % \starttitle[title=\headtext{content},reference=content,bookmark=Table of content] % \placecontent % \stoptitle \dorecurse{10}{\expanded{\chapter{Chapter \recurs

Re: [NTG-context] TOC in bookmarks

2016-07-11 Thread Marcus Vinicius Mesquita
art] > > \placebookmarks[title,chapter][force=yes] > > \starttext > > % Variant 1, shows the text which is set with > \setupheadtext[][content=...] > \completecontent > > % Variant 2, you can set your own text for the bookmark > % \starttitle[title=\

Re: [NTG-context] Improving Pandoc Support for ConTeXt

2015-10-26 Thread Aditya Mahajan
{...} \stopmode etc could be written using \labeltext. For example: \chapter{\labeltext{notes}] \setuplabeltext[en][notes={Notes}] \setuplabeltext[es][notes={Notas}] etc. Why don’t you use \headtext? Because I did not know about it :-) Aditya_

Re: [NTG-context] Improving Pandoc Support for ConTeXt

2015-10-26 Thread Wolfgang Schuster
eltext[en][notes={Notes}] \setuplabeltext[es][notes={Notas}] etc. Why don’t you use \headtext? Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@

Re: [NTG-context] (announcement) from pandoc to ConTeXt

2015-07-09 Thread Wolfgang Schuster
ld use \dontleavehmode instead of \mbox. 2. To create a language dependant header for the TOC etc. you can use the \headtext command, e.g. \title{\headtext{content}} \placelist[part,chapter] 3. Be careful when you use _ in command names, e.g. \TOC_Title because it your case you created the comman

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-22 Thread Wolfgang Schuster
initial is the problem but you can fix this when you replace \GotoPar with a different mechanism. begin example \showgrid \definelist[chaptertext][style=\itx] \define[1]\ChapterAbstract{\doflushatpar{\writetolist[chaptertext]{}{#1}}} \starttext \title{\headtext{content}} \placelist[chapte

Re: [NTG-context] How to use \setuplist for formatting a chapter entry?

2015-02-04 Thread Rob Heusdens
4cm]\Word{#1 \define[1]\MyIntroCommand% {\framed[frame=off,offset=none,frameoffset=0pt] {\vbox{\blank[4cm]\Word{#1 \define[2]\MyChapterCommand% {\framed[frame=off,offset=none,frameoffset=0pt] {\vbox{\blank[4cm]{\small \headtext{chapter} #1}\blank\unhyphenated{#2}}}

Re: [NTG-context] More headache with \setuphead

2015-02-01 Thread Pablo Rodriguez
ements you have for your document. I think this should be your improved sample: \define[1]\MyContentCommand% {\framed[frame=on,offset=none,frameoffset=0pt] {\vbox{\blank[1cm]\Word{#1 \define[2]\MyChapterCommand% {\framed[frame=on,offset=none,frameoffset=0pt] {\vbox{\blank[4cm]{\

[NTG-context] More headache with \setuphead

2015-01-31 Thread Rob Heusdens
hapterCommand% {\framed[frame=off,offset=none,frameoffset=0pt] {\vbox{\blank[4cm]{\small \headtext{chapter} #1}\blank\unhyphenated{#2 Can anyone advise? Thanks, Rob ___ If your question is of interest to othe

Re: [NTG-context] luatex crashes

2014-01-21 Thread Henning Hraban Ramm
ection{My Zapf \recurselevel}} \input zapf \expanded{\section{My Tufte \recurselevel}} \input tufte } \completeindex %\placeindex \stoptext --- Without the setup [align=yes] I get a different error, but no crash of the binary: structure > sectioning > chapter @ level 2 : 0.

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-18 Thread Jan Tosovsky
> \chapter{Bar} > > \stoptext > > > > Whereas this works for basic test cases, in my document it ends with an > error: > > structure > sectioning > title @ level 2 : 0.0 -> \headtext > {content} > ! Argument of \147>flushright has an extra }. T

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-11-17 Thread Jan Tosovsky
numbercommand={\simplealignedbox{\listparameter{width}}{flushright}} > ] > > \starttext > \completecontent > \chapter{Foo} > \chapter{Bar} > \stoptext > Whereas this works for basic test cases, in my document it ends with an error: structure > sectioning > title

Re: [NTG-context] deeptextcommand and firstcharacter

2013-09-21 Thread Hans Hagen
hical sense at all esp in automated document processing) That is a much more flexible solution than only providing a mechanism to get the first character. in this case #1 == \headtext{#1} so you cannot easily do such things without know what you deal

Re: [NTG-context] Two questions about registers

2013-06-02 Thread Marcin Borkowski
ation with \place…, the disadvantage > of this method is that you loose the multilingual labels (not really > a problem) but you can access the texts with \headtext{…}, > e.g. \headtext{content} or \headtext{index} By "multilingual labels", you mean the texts like "Index",

Re: [NTG-context] Two questions about registers

2013-06-02 Thread Wolfgang Schuster
ere this heading type isn’t sufficient you can use \title (or any other heading) in combination with \place…, the disadvantage of this method is that you loose the multilingual labels (not really a problem) but you can access the texts with \headtext{…}, e.g. \headtext{content} or \headtext{inde

Re: [NTG-context] [***SPAM***] Changing the font of the TOC-Title

2013-04-15 Thread Wolfgang Schuster
\setuphead[title][style=\ssc] When you don’t want to change the style of all title-headings you can create your heading with a different style, e.g. \definehead[toctitle][title] \setuphead[toctitle][style=\ssc] \starttext \toctitle[content]{\hea

Re: [NTG-context] Contents title

2012-12-02 Thread Wolfgang Schuster
ght) > to be the same as section (\bfc). > > \setupcombinedlist > [content] > [alternative=c] > > \completecontent > > > P.S. Strange, but no help here > http://wiki.contextgarden.net/Table_of_Contents The title for the TOC is placed with “\title{\headtext[cont

Re: [NTG-context] beta

2012-07-09 Thread Meer, H. van der
This new beta crashed here immidiately: ConTeXt ver: 2012.07.09 20:28 MKIV fmt: 2012.7.9 int: english/english metapost> loading 'metafun': /Users/hans/TeX/context-new/tex/texmf-context/metapost/context/base/metafun.mpiv structure > sectioning > @ level

Re: [NTG-context] table of contents

2012-07-09 Thread Wolfgang Schuster
to this question but here > it is again. > > \starttext > > \title{Contents} % use \title{\headtext{content}} to get a language dependent > title > \placelist[chapter,section] > > … > > \stoptext > > or > > \definecombinedlist[content][chapt

Re: [NTG-context] table of contents

2012-07-09 Thread Wolfgang Schuster
ht search term. The list archive should contain dozens of answers to this question but here it is again. \starttext \title{Contents} % use \title{\headtext{content}} to get a language dependent title \placelist[chapter,section] … \stoptext or \definecombinedlist[content][chapter,section] \

[NTG-context] compilation broken in latest beta

2012-04-06 Thread Pablo Rodríguez
text/tex/context/base/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1 pages > flushing realpage 2, userpage 1 structures > begin of sectionblock frontpart structure > sectioning > title @ level 2 : 0.0 -> \headtext {content} ! Undefined contro

[NTG-context] Table of contents

2012-04-04 Thread John Devereux
; fallback modern rm 12pt is loaded structure > sectioning > title @ level 2 : 0.0 -> \headtext {content} ! Undefined control sequence. system > tex > error on line 11 in file test.mkiv: Undefined control sequence ... 1 %-*-context-*- 2 \sta

[NTG-context] Broken Nightly Still

2011-12-28 Thread Kip Warner
s ignored (if needed use: [fontclass][size][settings]) ) backend > xmp > using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1, subpage 1 pages > flushing realpage 2, userpage 1, subpage 2 structure

[NTG-context] Broken Nightly

2011-12-22 Thread Kip Warner
onts.lua>) fonts > beware: fontclass ignored (if needed use: [fontclass][size][settings]) ) backend > xmp > using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1, subpage 1 pages >

[NTG-context] fatal error: return code: 1

2011-12-19 Thread Kip Warner
ts fonts > beware: fontclass ignored (if needed use: [fontclass][size][settings]) backend > xmp > using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1, subpage 1 pages > flushing rea

Re: [NTG-context] Undefined control sequence

2011-12-18 Thread Kip Warner
x/context/third/simplefonts/t-simplefonts.lua>) fonts > beware: fontclass ignored (if needed use: [fontclass][size][settings]) ) backend > xmp > using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml' pages > flushing realpage 1, userpag

[NTG-context] Problems with \completecontent after upgrade to latest beta

2011-12-16 Thread Steffen Fritzsche
\component chapter08/main [ \next_optional_command_yes ...\startnamedsection [ {title}][{title={\headtext... [ \dotripleemptythreenormal #1#

[NTG-context] Bibliography is not working

2011-06-22 Thread yoraxe
me/context/tex/texmf-context/tex/context/base/type-siz.mkiv) (/home/context/tex/texmf-context/tex/context/base/type-otf.mkiv){/home/context/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fonts > virtual math > unable to resolve name mapsfro

Re: [NTG-context] Parsing CFF DICT failed

2011-05-15 Thread Reviczky, Adam
/usr/share/texmf/fonts/map/dvips/lm/lm-rm.map} fonts > virtual math > unable to resolve name mapsfromchar fonts > fallback modern rm 12pt is loaded system > begin file test.tex at line 3 structure > sectioning > chapter @ level 2 : 0.1 -

Re: [NTG-context] Parsing CFF DICT failed

2011-05-14 Thread Reviczky, Adam
> begin file test.tex at line 4 structure > sectioning > chapter @ level 2 : 0.1 -> Bibliography backend > xmp > using file '/usr/share/texmf/tex/context/base/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1, subpage 1 structure

[NTG-context] label bug with latest beta (2011.04.22)

2011-04-23 Thread Reviczky, Adam
> virtual math > unable to resolve name mapsfromchar fonts > fallback modern rm 12pt is loaded system > begin file toc.tex at line 1 structure > sectioning > part @ level 1 : 1 -> Table of Contents backend > xmp > using file '/usr/s

[NTG-context] [***SPAM***] Minimals ignores structureblockenvironment for frontmatter etc.

2011-03-20 Thread Tom
t] #2}} \def\MyChapterCommand#1#2% #1 is number, #2 is text {\framed[frame=off,bottomframe=on,topframe=off] {\vbox{\centerline{\headtext{chapter} #1}\par\blank{\centerline{#2} \definepagebreak[mychapterpagebreak][yes,header,right] \startstructureblockenvironmen

Re: [NTG-context] Chapters not sowing up in ToC

2011-02-15 Thread Wolfgang Schuster
ToCs are not desired in > such situations. > > > %insert #2 before last } to cause ToC to appear although > %very ugly > \def\MyChapterCommand#1#2% #1 is number, #2 is text > {\framed[frame=off] > {\vbox{\centerline{\headtext{chapter} #1 Replace this with: \setuplabel

[NTG-context] Chapters not sowing up in ToC

2011-02-14 Thread Tom
pear although %very ugly \def\MyChapterCommand#1#2% #1 is number, #2 is text {\framed[frame=off] {\vbox{\centerline{\headtext{chapter} #1 \setuphead[chapter] [command=\MyChapterCommand, header=empty,footer=chapter,page=mychapterpagebreak, after={\blank[0.5in]},before={\blank[force,1

[NTG-context] Chapter Command causes ToC to not display correctly

2011-02-14 Thread Tom
] {\vbox{\headtext{chapter} #1\blank#2}}} \stophiding % headings \definestartstop[dedication][style={\switchtobodyfont[dedication,20pt]},befo re=\page] \definehead [intro] [chapter] \setuphead[chapter][style=\ss\bfd,alternative=middle, command=\MyChapterCommand, header=empty,footer=chapter

[NTG-context] how to make 3-line header?

2011-01-27 Thread Jeong Dalyoung
}, offset=0pt, strut=no, frame=off, align=middle]{% {\tfb #1 }%\headtext{chapter} #1 \blank[big] {\ss\tfc #2} % \blank[small] %{\ss\tfc #3} } } \starttext \chapter{ConTeXt

[NTG-context] how to redefine section headers

2010-12-14 Thread Philipp A.
hi! i want to achieve the effect i see when using the following code, only in a semantically correct way (and without defining a \MyHeader macro like in some examples) \setuphead[section][numbercommand=\headtext{section}~] \setupheadtext[de][section=Aufgabe] \def\task{\section{}} so if my

Re: [NTG-context] scancsv.lua

2010-09-26 Thread Jaroslav Hajtmar
mkiv xml interface is not yet defined! )) systems : begin file /Users/grycman/Dropbox/Uni/kvvtest.tex at line 26 !pages : flushing realpage 1, userpage 1, subpage 1 !pages : flushing realpage 2, userpage 2 structure : title @ level 2 : 0.0 -> \headtext {content} !pag

[NTG-context] scancsv.lua

2010-09-26 Thread Daniel Grycman
: title @ level 2 : 0.0 -> \headtext {content} !pages : flushing realpage 3, userpage 3 structure : section @ level 3 : 0.0.1 -> Kontakt structure : subsection @ level 4 : 0.0.1.1 -> Organisation des Germanistischen Instituts Overfull \hbox (284.90858pt too wide) in

Re: [NTG-context] completelistofunits and completelistofabbreviations in MkIV

2010-08-06 Thread Vedran Miletić
Datuma 6. kolovoza 2010. 14:09 Hans Hagen je napisao/la: > \def\docompletelistofsynonyms[#1][#2]% >  {\edef\currentsynonym{#1}% > > \normalexpanded{\systemsuppliedchapter[#1]{\noexpand\headtext{\synonymparameter\s!multi}}}% >   \doplacelistofsynonyms[#1][#2]% >   \pa

Re: [NTG-context] completelistofunits and completelistofabbreviations in MkIV

2010-08-06 Thread Hans Hagen
On 6-8-2010 1:59, Vedran Miletić wrote: \usemodule[units] \starttext \completelistofunits \chapter{Something} 1 \Meter. \stoptext in strc-syn.mkiv replace \def\docompletelistofsynonyms[#1][#2]% {\edef\currentsynonym{#1}% \normalexpanded{\systemsuppliedchapter[#1]{\noexpand\headtext

Re: [NTG-context] Shaded frame with colored text

2010-07-02 Thread Tom
of the text in the frame to > white or gray. What needs to be added to this mkii code? > Colors are disabled in MkII, to enable them include \setupcolors[state=start] to your document. > \def\MyChapterCommand#1#2% #1 is number, #2 is text >{\framed[frame=on,align=middle] &

Re: [NTG-context] Shaded frame with colored text

2010-07-01 Thread Wolfgang Schuster
clude \setupcolors[state=start] to your document. \def\MyChapterCommand#1#2% #1 is number, #2 is text {\framed[frame=on,align=middle] {\vbox{\headtext{chapter} #1\blank#2}}} \framed [.., background=color, backgroundcolor=red, foregroundcolor=blue, ...] {...} \setu

[NTG-context] Shaded frame with colored text

2010-07-01 Thread Tom
iddle] {\vbox{\headtext{chapter} #1\blank#2}}} \setuphead[chapter] [command=\MyChapterCommand,textstyle=\ss\bf, header=empty,footer=chapter, numbercommand=\ss\bf\em\tfd,after=\vskip 0.5in,before=\vskip 1.0in] \starttext \chapter{Test Chapter} \input knuth \stoptext Thanks, Tom Benjey 717-258

[NTG-context] Bibliography help

2009-12-05 Thread Curiouslearn
ips/lm/lm-math.map} fonts : using map file: lm-rm {/Applications/ConTeXtMinimals/tex/texmf/fonts/map/dvips/lm/lm-rm.map} !pages : flushing page, realpage 1, userpage 1 structure : chapter @ level 2 : 0.1 -> \headtext {pubs} publications: loading database from BibTe

[NTG-context] bibtex referencelist doesn't show up with mkiv

2009-09-22 Thread Janneman
fonts/map/dvips/lm/lm-math.map} fonts : using map file: lm-rm {/home/janerik/context/tex/texmf/fonts/map/dvips/lm/lm-rm.map}[1.1] structure : chapter @ level 2 : 0.1 -> \headtext {pubs} [2.2] systems : end file test at line 20 system : cont-err loaded (

Re: [NTG-context] Pagenumbering of appendices

2009-09-11 Thread Derek CORDEIRO
t gave the following error: > > ... > systems : begin file simple at line 24 > structure : begin of sectionblock frontpart > structure : title @ level 2 : 0.0 -> \headtext {content} > ! LuaTeX error > ...0910/tex/texmf-context/tex/context/base/strc-pag

Re: [NTG-context] Pagenumbering of appendices

2009-09-11 Thread Olaf Mersmann
minimal example Wolfgang provided with the current minimals and it gave the following error: ... systems : begin file simple at line 24 structure : begin of sectionblock frontpart structure : title @ level 2 : 0.0 -> \headtext {content} ! LuaTeX error ...0910/

[NTG-context] pagenumbering/toc bug?

2009-09-10 Thread Derek CORDEIRO
sectionblock frontpart structure : title @ level 2 : 0.0 -> \headtext {content} ! LuaTeX error ...text/tex/texmf-context/tex/context/base/strc-pag.lua:104: bad argument #3 to 'format' (string expected, got table) stack traceback: [C]: in function 'format' ...text/tex/te

Re: [NTG-context] LuaTex choking on \definesynonyms?

2009-08-29 Thread Roland
.1] 37 structure : chapter @ level 2 : 0.1 -> \headtext {abbreviations} 38 ! Missing } inserted. 39 40 } 41 42 \endgroup 43 \@@dodescriptionhandler ...escriptionheadtext {#1} 44 \iftrialtypesetting \el

[NTG-context] Problems in latest beta

2009-06-02 Thread Kevin D. Robbins
C\ Section} \infull{ABC} (\ABC) \section{\DEF\ Section} \infull{DEF} (\DEF) \stoptext = Here is the error: = structure : chapter @ level 2 : 0.1 -> \headtext {acronyms} ! Undefined control sequence. \dosetsynonymatt

Re: [NTG-context] \placelist

2009-05-04 Thread Otared Kavian
error (ConTeXt ver: 2009.04.21 16:11 MKIV fmt: 2009.4.25 int: english/ english): %%% begin console output structure : title @ level 2 : (0.0) . -> \headtext {figures} ! LuaTeX error ...imal/tex/texmf-context/tex/context/base/strc-doc.lua: 502: attempt to index field 'sectiont

Re: [NTG-context] new structure code

2009-04-24 Thread Hans Hagen
text for things like \completelistoffigures? Right now, the bookmark says something like '\headtext{figures}' in my PDF viewer. you can turn on expansion (\setuplist[figure][expansion=yes]) but indee

Re: [NTG-context] new structure code

2009-04-24 Thread Kevin D. Robbins
lways wanted to be able to specify the text that should go in the bookmark when the title itself includes markup. But, will there be similar support for specifying bookmark text for things like \completelistoffigures? Right now, the bookmark says something like '\headtext{figures}' in

Re: [NTG-context] context mkiv nomenclature problem (bug)

2009-04-14 Thread Thomas Prochaska
Am Dienstag, 14. April 2009 13:47:44 schrieb Wolfgang Schuster: > Am 14.04.2009 um 13:28 schrieb Thomas Prochaska: > > hm, with the latest context minimal i get this: > > > > structure : chapter @ level 2 : (0.4) . -> \headtext > > {abbreviations} > > [5]

Re: [NTG-context] context mkiv nomenclature problem (bug)

2009-04-14 Thread Thomas Prochaska
ynonyms etc. > in mkiv and it was broken for a while in the last betas but is now back. > > Wolfgang hm, with the latest context minimal i get this: structure : chapter @ level 2 : (0.4) . -> \headtext {abbreviations} [5] ! LuaTeX error ...text/tex/texmf-context/tex/context/base/st

Re: [NTG-context] Incorrect bookmark title of \completelistofabbreviations and no abbreviations are listed

2009-03-13 Thread luigi scarso
On Tue, Mar 10, 2009 at 1:44 PM, Nikolai Weibull wrote: > Hi! > > Long time no post.  Anyway, I’m writing a document where I’m using > abbreviations.  In neither --lua nor --xtx do I get a list of > abbreviations with \completelistofabbreviations.  The bookmark text is > \headt

Re: [NTG-context] Incorrect bookmark title of \completelistofabbreviations and no abbreviations are listed

2009-03-13 Thread Nikolai Weibull
On Tue, Mar 10, 2009 at 13:44, Nikolai Weibull wrote: > In neither --lua nor --xtx do I get a list of > abbreviations with \completelistofabbreviations.  The bookmark text is > \headtext {abbreviations} for both. Can I at least get an acknowledgement that this is a problem with LuaTeX

[NTG-context] Incorrect bookmark title of \completelistofabbreviations and no abbreviations are listed

2009-03-10 Thread Nikolai Weibull
Hi! Long time no post. Anyway, I’m writing a document where I’m using abbreviations. In neither --lua nor --xtx do I get a list of abbreviations with \completelistofabbreviations. The bookmark text is \headtext {abbreviations} for both. With --pdf I get a list of abbreviations and the

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-06 Thread Hans Hagen
? It should control the alignment of the headtext. \setuplayout [backspace=5cm, leftmargin=4cm, width=12cm] \definedescription [description] [location=margin, width=\leftmarginwidth] \showframe \starttext \description{text} bla bla bla \description{longer text} bla bla bla

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Aditya Mahajan
alignment of the headtext. \setuplayout [backspace=5cm, leftmargin=4cm, width=12cm] \definedescription [description] [location=margin, width=\leftmarginwidth] \showframe \starttext \description{text} bla bla bla \description{longer text} bla bla bla %\setupdescriptions[description

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Wolfgang Schuster
number(style|color|command) keys to enumerations? I could patch core-des.tex with these keys. Hi Aditya, if you do this, can you also integrate the headalign key which is mentioned in core-des? What should headalign do? It should control the alignment of the headtext. \setuplayout

[NTG-context] subsección demasiado larga

2008-11-21 Thread mpg-yahoo
numbercommand={\groupedcommand{}{}} ] \def\MyHeader#1#2{% \framedtext [width= \overlaywidth, height=\bodyfontsize, offset=0pt, strut=no, frame=on, align=right ] {\headtext{subsection}#1#2}} \setuphead[subsubsection,sub

Re: [NTG-context] Kerning

2008-11-13 Thread Bart C. Wise
gt; should probably be treated as a whole line when stretching). I was never > > able to get the chapter number (now a word) to stretch. > > > > So how do I grab the output for line 1 and then stretch it? > > > > Here's a sample of what I have without any stretchi

Re: [NTG-context] Kerning

2008-11-13 Thread Bart C. Wise
; > > > So how do I grab the output for line 1 and then stretch it? > > > > Here's a sample of what I have without any stretching: > > > > \def\Myheader#1#2{% > >\framedtext[width=0.60\textwidth, frame=off, align=middle]{% > >\vbox

Re: [NTG-context] Kerning

2008-11-13 Thread Wolfgang Schuster
tching). I was never able to get > the chapter number (now a word) to stretch. > > So how do I grab the output for line 1 and then stretch it? > > Here's a sample of what I have without any stretching: > > \def\Myheader#1#2{% >\framedtext[width=0.60\textwidth, frame

Re: [NTG-context] Kerning

2008-11-12 Thread Hans Hagen
chapter number (now a word) to stretch. > > So how do I grab the output for line 1 and then stretch it? > > Here's a sample of what I have without any stretching: > > \def\Myheader#1#2{% > \framedtext[width=0.60\textwidth, frame=off, align=middle]{% > \vbox{\

Re: [NTG-context] Kerning

2008-11-12 Thread Bart C. Wise
and then stretch it? Here's a sample of what I have without any stretching: \def\Myheader#1#2{% \framedtext[width=0.60\textwidth, frame=off, align=middle]{% \vbox{\headtext{chapter}~#1 \blank #2}}} \def\englishnumbers#1{ \ifcase#1 \or ONE\or TWO\or THREE\or FOUR\or FIVE\f

Re: [NTG-context] Adding custom key/value pairs

2008-04-17 Thread Wolfgang Schuster
ne of the core files and to generate a new format file. > The module does not need to take care of all the formatting requirements: > just provide the interface. For a particular publications, the module for > that publication can modify the \placetitle command to do what they want. >

Re: [NTG-context] Adding custom key/value pairs

2008-04-15 Thread Aditya Mahajan
on can modify the \placetitle command to do what they want. With this, the user documentation can just say that use \setuptitle[title=...,author=..., date=] %and maybe setups={...} So, we will have a consistent user inteferface for all documents. > What should we do with the abstract, d

[NTG-context] trouble with indices

2008-02-17 Thread Jesse Alama
I've noticed that with the most recent ConTeXt release I'm unable to make indices. This example fails: \starttext Hello, this \index{copula}is an index. \completeindex \stoptext The error I get is: chapter : 1 \headtext {index} ! Extra }, or forgotten

[NTG-context] bib module

2008-02-12 Thread Bob Grünberg
--89 \*12ptmmmr* h^^?aufig an-ge-wandt [20]. In die-ser Ar-beit wur-de die $[]$H- un d $[]$H-NMR Festk^^?orperspektroskopie [5.5]) section : 1.1 Synthese section : 1.2 Eigenschaften [6.6] [7.7] title : - \headtext {pubs} (./test.tuo) [8.8] systems : end fi

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
erences] \gotobox{text}[references] \graycolor[text] \grid[options] # \gsaveXMLasdata \hairline \head[references] \headnumber[section] \headtext{text} # \hfilll \hideblocks[names][names] \high{text} # \HL \hl[number] # \hpos # \hspace # \ifconditional # \ifdefined # \iftrialtypesetting # \ifundefin

[NTG-context] Underline the headertext with a thinrule

2007-05-13 Thread Bert Trüger
\thinrule on every odd page, except it is blank or the beginning of a new chapter, and the same with section and pagenumber in the header for every even page, except it is blank or the beginning of a new chapter -- a simple underlined headtext like in many books. Thanks for your help Bert

[NTG-context] Page number on 'chapter' pages

2007-02-01 Thread Confused Scientist
re}] \def\MyChapterText#1#2% {\vbox to 35mm \bgroup{\leftaligned{\vbox{\headtext{chapter} #1\blank#2}}}\vss\egroup} \setupheadtext[chapter=Chapter] \startsetups [chapter:before] \page[left] \noheaderandfooterlines \vbox to 35mm{} \vbox{\blank \startalignment[left,nothyphenated] \noinde

[NTG-context] Index and bookmark problem

2006-12-01 Thread Wim Neimeijer
twoarguments #1#2->#2 l.27 ...\headtext {index}}{2--0-2-0-0-0-0-0--3}{3} ? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] New bib module release

2006-08-04 Thread Taco Hoekwater
[title=\chapter] * The module now uses the expansion of \headtext{pubs}, so that PDF bookmarks should come out alright. * A hook is added for support of repeated author suppression in the publication list: \setuppublicationlist[artauthorcommand=\threeargs] (see the manual for a bit more

Re: [NTG-context] Conflict with chapter definition and header

2006-08-04 Thread Taco Hoekwater
}, after=] \def\MyChapterText#1#2% {\vbox to 35mm {\headtext{chapter}~#1\blank[small]#2\vss}} \startsetups [chapter:before] \page[left] \noheaderandfooterlines \vbox to 35mm{} \vbox{\blank \startalignment[left,nothyphenated] \noindent \setups[chapter:quot

Re: [NTG-context] Conflict with chapter definition and header

2006-08-03 Thread Confused Scientist
after}] \def\MyChapterText#1#2{\vbox{\sc\tfc\headtext{chapter}~#1\blank[small]#2}}\startsetups [chapter:before]  \page[left]  \noheaderandfooterlines  \vbox to 35mm{}  \vbox{\blank  \startalignment[left,nothyphenated]     \noindent \setups[chapter:quote]  \stopalignment}  \resetsetups[quote:text]  \page[

[NTG-context] Conflict with chapter definition and header

2006-07-19 Thread Confused Scientist
  after=\setups{chapter:after}]\def\MyChapterText#1#2{\vbox{\sc\tfc\headtext{chapter}~#1\blank[small]#2}}\startsetups [chapter:before]  \page[left]  \vbox to 35mm{}\vbox{\blank   \noheaderandfooterlines  \startalignment[left,nothyphenated]    \noindent \setups[chapter:quote]  \stopalignment}  \resetse

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

2006-03-20 Thread Thomas A. Schmitz
al-public-lm > interaction : pdftex code inserted > [1.1{/usr/local/share/texmf-dist/fonts/map/dvips/context/original- > empty.map}{/u > sr/local/share/texmf-dist/fonts/map/dvips/context/original-base.map} > {/usr/local > /share/texmf-dist/fonts/map/dvips/context/ec-public-

[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)

  1   2   >