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

2015-03-22 Thread Wolfgang Schuster
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[chapter,chaptertext] \chapter{Knuth

[NTG-context] problem with interaction and TOC

2015-03-21 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \starttext \placelist[chapter] %~ \uppercasestring{context}\to\ascii %~ \chapter{\getvalue{\ascii}} \chapter{ConTeXt} \stoptext ConTeXt complains about an error in the first line. What am I doing

Re: [NTG-context] problem with interaction and TOC

2015-03-21 Thread Hans Hagen
On 3/21/2015 10:49 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupinteraction[state=start] \starttext \placelist[chapter] %~ \uppercasestring{context}\to\ascii %~ \chapter{\getvalue{\ascii}} \chapter{ConTeXt} \stoptext ConTeXt

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

2015-03-15 Thread Gerben Wierda
scrutinize or question.\crlf {\tf Stephen Jay Gould} \stopbuffer \noheaderandfooterlines \start \title[h:toc]{Contents} \setuppagenumber[number=3] \placelist[chapter,chaptertext] \stop \component c_loosely \stopfrontmatter \startbodymatter \component

Re: [NTG-context] Setup for appendices: a bunch of questions

2015-02-06 Thread Mojca Miklavec
to figure out how to include the titles at all.) \setuphead [title] [incrementnumber=list] \placelist [title,chapter,section] [criterium=all,alternative=c] But why is there less space in front of a \title{...} in TOC than in front of a \chapter{…}? You can use

Re: [NTG-context] Setup for appendices: a bunch of questions

2015-02-06 Thread Wolfgang Schuster
to include both chapters and titles. Is this the proper way to go? (It took me a while to figure out how to include the titles at all.) \setuphead [title] [incrementnumber=list] \placelist [title,chapter,section] [criterium=all,alternative=c] But why is there less

Re: [NTG-context] Setup for appendices: a bunch of questions

2015-02-05 Thread Wolfgang Schuster
the titles at all.) \setuphead [title] [incrementnumber=list] \placelist [title,chapter,section] [criterium=all,alternative=c] But why is there less space in front of a \title{...} in TOC than in front of a \chapter{…}? You can use the “margin” key

[NTG-context] Setup for appendices: a bunch of questions

2015-02-04 Thread Mojca Miklavec
] \placelist [title,chapter,section] [criterium=all,alternative=c] But why is there less space in front of a \title{...} in TOC than in front of a \chapter{...}? 2.) How can I define a different width for appendices in TOC (to reserve enough space for the word Appendix)? I use

Re: [NTG-context] TOC with Grey background for pages belonging to last section of every chapter

2015-02-02 Thread Wolfgang Schuster
are in the list for the “content” list. To print additional headers which are defined with \definehead in your document you can either use \placelist[chapter,MYHEADER,section,…] instead of \placecontent or you extend the list for “content” with \setupcombinedlist[content][list={chapter,MYHEADER

Re: [NTG-context] Simple tocs

2015-01-26 Thread Pablo Rodriguez
sections also. [...] Any suggestions? Hi John, I guess that the following might achieve what you want: \starttext \title{Contents}\placelist[chapter] \title{More Contents}\placelist[chapter,section] \dorecurse{5}{\chapter{Chapter} \dorecurse{5}{\section{Section

Re: [NTG-context] Simple tocs

2015-01-26 Thread Hans Hagen
also. Using mkiv I came up with this: \startmakeup \setupcombinedlist[content][list={chapter}] \placelist[content] \stopmakeup \startmakeup \setupcombinedlist[content][list={chapter,section}] \completecontent[content] \stopmakeup \startmakeup \null \stopmakeup I get no results at all, just blank

[NTG-context] Simple tocs

2015-01-25 Thread John Culleton
with this: \startmakeup \setupcombinedlist[content][list={chapter}] \placelist[content] \stopmakeup \startmakeup \setupcombinedlist[content][list={chapter,section}] \completecontent[content] \stopmakeup \startmakeup \null \stopmakeup I get no results at all, just blank pages. Any suggestions? -- John Culleton

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Gerben Wierda
This works, but not completely. I’ve added this to my environments file: \definelist[chaptertext] \setuplist[chaptertext][style=\itx,margin=3em,pagecommand=\gobbleoneargument] and the contents list is created by \title[h:toc]{Contents} \placelist[chapter,chaptertext

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Otared Kavian
, but not completely. I’ve added this to my environments file: \definelist[chaptertext] \setuplist[chaptertext][style=\itx,margin=3em,pagecommand=\gobbleoneargument] and the contents list is created by \title[h:toc]{Contents} \placelist[chapter,chaptertext

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Gerben Wierda
for chaptertext influences the style of chapter G Minimal example: \definelist[chaptertext] \setuplist[chaptertext][style=\itx,margin=3em,pagecommand=\gobbleoneargument] \setuplist[chapter][style=\tfa,before={\blank[big]}] \starttext \placelist[chapter,chaptertext] \chapter{This is a chapter

Re: [NTG-context] small abstracts in table of contents?

2014-11-25 Thread Otared Kavian
[chaptertext][pagecommand=\gobbleoneargument] \define[1]\ChapterAbstract{\writetolist[chaptertext]{}{\start\itx#1\stop}} \starttext \placelist[chapter,chaptertext] \chapter{This is a chapter} \ChapterAbstract{This is a small description of this chapter: \input ward } \input knuth.tex \stoptext

Re: [NTG-context] small abstracts in table of contents?

2014-11-24 Thread Otared Kavian
Hi Gerben, As Wolfgang said, you can use something like this (example given by him some months ago on the mailing list): \definelist[chaptertext] \setuplist[chaptertext][style=\tfx,margin=3em,pagecommand=\gobbleoneargument] \starttext \placelist[chapter,chaptertext] \chapter

Re: [NTG-context] small abstracts in table of contents?

2014-11-24 Thread Hans Hagen
On 11/25/2014 8:18 AM, Otared Kavian wrote: Hi Gerben, As Wolfgang said, you can use something like this (example given by him some months ago on the mailing list): \definelist[chaptertext] \setuplist[chaptertext][style=\tfx,margin=3em,pagecommand=\gobbleoneargument] \starttext \placelist

Re: [NTG-context] enumeration with the Spanish alphabet

2014-11-12 Thread Pablo Rodriguez
] \definestructureconversionset[sectionnumbers] [0,n,a][n] \setupheads[sectionconversionset=sectionnumbers] \setuplist[section][alternative=d] \starttext \placelist[section][criterium=all] \dorecurse{20}{\section{section}} \es\setupheadnumber[section][0] \dorecurse

Re: [NTG-context] bug in TOC generation

2014-11-08 Thread Pablo Rodriguez
: \definedescription[definition] \starttext \title{Sumario}\placelist[part,chapter][crierium=all] \chapter{Prólogo} \definition{Definition}\footnote{Footnote.}. \stoptext Definition and footnote are now part of the TOC. Could you fix this? Many thanks for your help again, Pablo

[NTG-context] still buggy TOC generation

2014-11-08 Thread Pablo Rodriguez
Hans, many thanks for the fix in latest beta from 2014.11.08 15:07. I still experience a bug that it wasn’t there before beta from 2014.11.06 14:55. Here you have the sample: \startsetups[placelist:section] \start \setupinterlinespace[line=2.8ex] \placelist[section][alternative=d

[NTG-context] bug in TOC generation

2014-11-06 Thread Pablo Rodriguez
Dear list, using latest beta from 2014.11.06 14:55, TOC is missing from this sample: \starttext \title{Sumario}\placelist[part,chapter] \startfrontmatter \chapter{Prólogo} \part{Introducción} \chapter{\ConTeXt\ y la tipografía digital} \stopfrontmatter \stoptext I think this is a bug. Many

Re: [NTG-context] bug in TOC generation

2014-11-06 Thread Hans Hagen
On 11/6/2014 6:24 PM, Pablo Rodriguez wrote: Dear list, using latest beta from 2014.11.06 14:55, TOC is missing from this sample: \starttext \title{Sumario}\placelist[part,chapter] \startfrontmatter \chapter{Prólogo} \part{Introducción} \chapter{\ConTeXt\ y la tipografía digital

Re: [NTG-context] bug in TOC generation

2014-11-06 Thread Hans Hagen
On 11/6/2014 6:24 PM, Pablo Rodriguez wrote: Dear list, using latest beta from 2014.11.06 14:55, TOC is missing from this sample: \starttext \title{Sumario}\placelist[part,chapter] \startfrontmatter \chapter{Prólogo} \part{Introducción} \chapter{\ConTeXt\ y la tipografía digital

[NTG-context] new mechanism

2014-10-14 Thread Hans Hagen
Hi, As we needed it for a project, I made this: \showinjector \setinjector[register][3][\column] \setinjector[list][2][{\blank[3*big]}] \starttext \placelist[section][criterium=text] \blank[3*big] \placeregister[index][criterium=text] \page \startsection[title=Alpha

Re: [NTG-context] \writetolist in mkiv

2014-10-13 Thread Jano Kula
}{% \startchapter[title=Chapter] \placelist[section][criterium=chapter] \startsection[title=Section] \placelist[subsection][criterium=section] \ManualSubsection{\recurselevel-1} \ManualSubsection{\recurselevel-2} \stopsection \startsection[title=Section] \placelist[subsection][criterium=section

Re: [NTG-context] \writetolist in mkiv

2014-10-12 Thread Wolfgang Schuster
-command, what you’re looking for is \placelist[chapter][criterium=local]. Wolfgang ___ 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] \writetolist in mkiv

2014-10-12 Thread Jano Kula
(criterium=local) in the same argument of a setup-command, what you’re looking for is \placelist[chapter][criterium=local]. Wolfgang Thanks, got it: \placelist[section][criterium=local] places the list of sections included in the chapter. Still, how to do the same with subsections manually

Re: [NTG-context] \writetolist in mkiv

2014-10-12 Thread Wolfgang Schuster
,criterium=local] % local TOC OK You can’t put a keyword (chapter) and a assignment (criterium=local) in the same argument of a setup-command, what you’re looking for is \placelist[chapter][criterium=local]. Wolfgang Thanks, got it: \placelist[section][criterium=local] places the list

Re: [NTG-context] Chapter precis

2014-08-28 Thread Wolfgang Schuster
a limit for the width of the list entry. \definelist[chaptertext] %\setuplist [chaptertext][maxwidth=8cm] \starttext \placelist[chapter,chaptertext] \chapter{This is a chapter} \writetolist[chaptertext]{}{\input ward } \stoptext Wolfgang

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
the maxwidth key to set a limit for the width of the list entry. \definelist[chaptertext] %\setuplist [chaptertext][maxwidth=8cm] \starttext \placelist[chapter,chaptertext] \chapter{This is a chapter} \writetolist[chaptertext]{}{\input ward } \stoptext Wolfgang

Re: [NTG-context] Chapter precis

2014-08-28 Thread Wolfgang Schuster
without maxwidth indented on the right? When you enable the pagenumber context puts some space between the number and the text. \definelist[chaptertext] \setuplist [chaptertext][margin=2em,pagecommand=\gobbleoneargument] %\setuplist [chaptertext][margin=2em,pagenumber=no] \starttext \placelist

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
indented on the right? When you enable the pagenumber context puts some space between the number and the text. \definelist[chaptertext] \setuplist [chaptertext][margin=2em,pagecommand=\gobbleoneargument] %\setuplist [chaptertext][margin=2em,pagenumber=no] \starttext \placelist[chapter,chaptertext

Re: [NTG-context] ToC depth (and headers) per section block

2014-07-05 Thread Hans Hagen
to do this? \definehead[silentsection][section] \starttext \placelist[chapter,section] \chapter{first} \section{first} \chapter{first} \silentsection{first} \stoptext If instead I want one depth for all body matter parts and a different depth for the appendices

Re: [NTG-context] ToC depth (and headers) per section block

2014-07-05 Thread Rik Kabel
, it does not get set. Is this the best way to do this? \definehead[silentsection][section] \starttext \placelist[chapter,section] \chapter{first} \section{first} \chapter{first} \silentsection{first} \stoptext Yes, that is just what I do now, except that I use

Re: [NTG-context] standard setup values for titles in heads and lists?

2014-06-05 Thread Pablo Rodriguez
configuration values for any sectioning command. The file strc-lst.mkvi contains the code for \setuplist and \placelist command but the default settings for chapter, section etc. entries are set in strc-def.mkiv. Many thanks for your reply, Wolfgang. This is exactly what I was looking for. Pablo

Re: [NTG-context] standard setup values for titles in heads and lists?

2014-06-04 Thread Wolfgang Schuster
command. The file strc-lst.mkvi contains the code for \setuplist and \placelist command but the default settings for chapter, section etc. entries are set in strc-def.mkiv. Wolfgang ___ If your question is of interest

Re: [NTG-context] page reference to figure fails when figure location is none

2014-04-06 Thread Hans Hagen
] {} {\hbox{\pagereference[workaroundref-2]\externalfigure[cow.pdf]}} See \at{page}[workaroundref-1] or \at{page}[regularref-1] See \at{page}[workaroundref-2] or \at{page}[regularref-2] \blank \placelist[figure][criterium=text] \stoptext

Re: [NTG-context] \placefigure and title bug in latest beta

2014-04-06 Thread Otared Kavian
Hi, I can confirm this… This is probably due to the new features Hans added today. Also, the new feature \placelist[figure][criterium=text] places indeed the list of the figures, but the names of the figures, or rather their captions are all indicated by the word « list ». Best

Re: [NTG-context] Problems with XML and table of contents

2014-03-27 Thread Hans Hagen
xml:demo:b \start \bf \xmlflush{#1} \stop \stopxmlsetups \starttext \placelist[Fitxa][criterium=all] \page \xmlprocessfile{demo}{./x.xml}{} \stoptext ?xml version='1.0' standalone='yes' encoding=UTF-8? d tnormal bbold/b/t tsome more/t /d

Re: [NTG-context] proposal about link borders

2014-03-23 Thread Hans Hagen
] \enabledirectives[destinations.log] \enabledirectives[references.border] % \enabledirectives[references.border=darkgray] % \enabledirectives[references.border=darkyellow] \starttext \placelist[chapter] \chapter{one} \chapter{two} \stoptext So, no key in a setup but a backend

Re: [NTG-context] Dynamic headings query heading information

2014-02-07 Thread Wolfgang Schuster
][title,subject,subsubject,subsubsubject] \setuphead[chapter][color=red] \setuphead[section][color=green] \setuphead[subsection][color=blue] \define\PlaceList {\startsectionlevel[extra][title=List] % \stopsectionlevel} \starttext \startsectionlevel[title=Chapter 1] \PlaceList

[NTG-context] Bookmarks with the specified label on

2014-02-06 Thread Lei WANG
I have specified the headnumber of chapter to be the Number chpt. By using \setuplist and \placelist with the attributes label=yes, I could get a content with the label as what I want. But the headnumber of chapter label on bookmarks is still using Number intead of the Number chpt. What should

Re: [NTG-context] Unnumbered chapters before the ToC

2014-01-15 Thread Wolfgang Schuster
][chapter] \setuphead [prechapter][number=no,incrementnumber=list] \starttext \prechapter{Unnumbered chapter} \title{Contents} \placelist[prechapter,chapter] \chapter{Numbered chapter} \stoptext Wolfgang ___ If your

Re: [NTG-context] Unnumbered chapters before the ToC

2014-01-15 Thread Robert Blackstone
, in the FrontMatter before the ToC, but still mentioned in the ToC? \definehead[prechapter][chapter] \setuphead [prechapter][number=no,incrementnumber=list] \starttext \prechapter{Unnumbered chapter} \title{Contents} \placelist[prechapter,chapter] \chapter{Numbered chapter} \stoptext

Re: [NTG-context] XML and ConTeXt - no XML text showing up in output

2014-01-06 Thread Hans Hagen
\xmlsetsetup{demo}{document|section|p}{xml:demo:*} add content|title \stopxmlsetups \xmlregisterdocumentsetup{demo}{xml:demo:base} \startxmlsetups xml:demo:document \title{Contents} \placelist[chapter] \page \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:demo:section \chapter{\xmlfirst

[NTG-context] XML and ConTeXt - no XML text showing up in output

2013-12-27 Thread Steve Anderson
xml:demo:document \title{Contents} \placelist[chapter] \page \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:demo:section \chapter{\xmlfirst{#1}{/title}} \xmlfirst{#1}{/content} \stopxmlsetups \startxmlsetups xml:demo:p \xmlflush{#1}\endgraf \stopxmlsetups \xmlprocessfile{demo}{demo.xml

Re: [NTG-context] Different counters for titles

2013-09-03 Thread Hans Hagen
a lot going on with section heading so having a copy of the same is non trivial as one should decide what gets copied (think of all kind of references). Here's a cheat: \starttext \placelist[chapter][criterium=all] \startchapter[ownnumber=1,title=chap 1] \startsection[title=sec 1]\input

Re: [NTG-context] Get rid of LuaTeX warning on duplicate destination identifier

2013-08-29 Thread Hans Hagen
{\overview}{\currentlistentrynumber}}% \stopcurrentlistentrywrapper \listalternativeparameter\c!after} {}% \stopsetups \unexpanded\def\placeoverviewpage {\startstandardmakeup[\c!align=\v!middle] \placelist [\overviewsection] [\c!criterium=\v!all, \c

Re: [NTG-context] Hidden sections

2013-08-23 Thread Wolfgang Schuster
#Flushing_section_head_data_without_typesetting_them_in_the_text seems to not work for me. Thanks for help. \definehead[test][section] \setuphead [test] [placehead=empty, before=, after=] \setupheadertexts[test] \starttext \showframe \placelist[test] \test{Knuth} \dorecurse{10}{\input knuth\par

Re: [NTG-context] Supressing a heading from the table of contents

2013-04-28 Thread lance.c.lar...@gmail.com
. Also how do you set the last heading level included in the table of contents. I think I came across this, but am having trouble finding it again. You can use \placelist where list only the headings which should appear, e.g. \placelist[chapter,section] or you change the list

Re: [NTG-context] Supressing a heading from the table of contents

2013-04-27 Thread Wolfgang Schuster
heading level included in the table of contents. I think I came across this, but am having trouble finding it again. You can use \placelist where list only the headings which should appear, e.g. \placelist[chapter,section] or you change the list for the \completecontent. \setupcombinedlist

Re: [NTG-context] typesetting TOC

2013-04-17 Thread Meer, H. van der
the Content header but is empty otherwise. \startfrontmatter \completelist[content][criterium=chapter] \stopfrontmatter I tried various possibilities from the reference manual, like \placelist[section][criterium=chapter]. But either this doesn't work (anymore?) or I am doing something very stupid

Re: [NTG-context] select TOC elements

2013-04-16 Thread Wolfgang Schuster
help me out. The syntax description is wrong, \placecontent has only one optional argument which expects a assignment, e.g. alternative=a. To place only TOC entry for certain headings you have to use \placelist, e.g. \placelist[section]. \starttext \chapter{One} \placelist[section] \section{First

[NTG-context] typesetting TOC

2013-04-16 Thread Meer, H. van der
manual, like \placelist[section][criterium=chapter]. But either this doesn't work (anymore?) or I am doing something very stupid. But these call do nothing. It seems so simple: use the \complete.. mechanism (because this wraps the TOC nicely) to typeset a selection from the TOC using the criterium

Re: [NTG-context] float combinations

2013-04-14 Thread Robert Blackstone
. \startplacefigure[location=here,reference=fifth,title=fifth,group=alpha,groupsuffix=.c] \externalfigure[dummy][height=2cm] \stopplacefigure Last line: \in[first] / \in[second] / \in[third] / \in[fourth] / \in[fifth]. \page \placelist[figure] \stoptext (beware: it's groupsuffix

[NTG-context] float combinations

2013-04-13 Thread Robert Blackstone
][MediumCow1]{{\bf b}. A larger cow.} {\externalfigure[MediumCow]} And here comes a mill. \placefigure[here][Mill1]{A mill.} {\externalfigure[Mill]} \page {\bf List of Figures} \placelist[figure] \completecontent \stoptext % This way a and b

Re: [NTG-context] float combinations

2013-04-13 Thread Hans Hagen
] \externalfigure[dummy][height=2cm] \stopplacefigure Last line: \in[first] / \in[second] / \in[third] / \in[fourth] / \in[fifth]. \page \placelist[figure] \stoptext (beware: it's groupsuffix, and not suffix as that will add another one not tracked in the lists) Hans

Re: [NTG-context] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Wolfgang Schuster
number errors (in the toc). Use \placelist[chapter,intro,section,…] to flush a list with your intro heading or extend \completecontent with \intro: \definecombinedlist[content][chapter,intro,section,…] Wolfgang

Re: [NTG-context] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Alan BRASLAU
, as does \setuphead [title] [incrementnumber=yes,number=no] trying coupling=no gives missing number errors (in the toc). Use \placelist[chapter,intro,section,…] to flush a list with your intro heading or extend \completecontent with \intro: \definecombinedlist[content

Re: [NTG-context] Unnumbered chapters (title), numbered appendices

2013-04-09 Thread Wolfgang Schuster
[intro] [number=no] will increment the chapter number, as does \setuphead [title] [incrementnumber=yes,number=no] trying coupling=no gives missing number errors (in the toc). Use \placelist[chapter,intro,section,…] to flush a list with your intro heading or extend \completecontent

Re: [NTG-context] How to use module simpleslides' SideToc

2013-01-09 Thread Sietse Brouwer
topic (in the topic list) % I like white, because it attaches the current topic to the % main area; but perhaps you prefer pale yellow? % \definecolor[colCurrentTopic][r=1,g=1,b=0.7] % pale yellow \definecolor[colCurrentTopic][r=1,g=1,b=1] % white % When \placelist[MyTopics] is called, it calls

Re: [NTG-context] How to use module simpleslides' SideToc

2013-01-08 Thread Thomas A. Schmitz
, command=\FancyEntry] \setuptexttexts[margin][\vbox{\placelist[MyTopics]}][] \starttext \Topic[First] First Topic \page \Topic[Second] Second Topic \stoptext The problem is that the \doifelse always evaluates to false, even when \MyMark is defined and equal to the topic; I hope

Re: [NTG-context] How to use module simpleslides' SideToc

2013-01-08 Thread 土卜皿
=no, alternative=command, command=\FancyEntry] \setuptexttexts[margin][\vbox{\placelist[MyTopics]}][] \starttext \Topic[First] First Topic \page \Topic[Second] Second Topic \stoptext but I can not get the right pdf, please check the attachment! context version: 2013.01.08 01:19 LuaTeX

Re: [NTG-context] empty TOC

2013-01-07 Thread Hans Hagen
{criterium=all} \blank \placelist[chapter][criterium=all] \blank \type{criterium=frontmatter:all} \blank \placelist[chapter][criterium=frontpart:all] \blank \type{criterium=bodymatter:all} \blank \placelist[chapter][criterium=bodypart:all] \chapter{Intro

[NTG-context] Desperate help needed: Formular numbering and List of Formulas

2012-12-16 Thread Zenlima
=no] \setupsubformulas[conversion=romannumerals] \starttext \title{List of formulas} \placelist[formula][criterium=all,alternative=c] \framed{not ok} \chapter{Chapter One} \chapter{Chapter Two} \subject{math - formula} Expected formular number: (1): \placenamedformula[one]{Der einfache Test

[NTG-context] no table of content

2012-11-15 Thread plink
Using ConTeXt ver: 2012.11.14 11:37 MKIV, the following does not produce a table of content, in fact, it doesn't produce a *.tuc file at all: \setuppapersize[A5][A4,landscape] \setuparranging[2SIDE] \starttext \placelist \startchapter[title=chapter] \input knuth \stopchapter \stoptext

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Wolfgang Schuster
. \setupheadertexts [\setups{headlist}] \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=f, criterium=all]} \stopsetups \setupinteraction [state=start, color=lightgray, contrastcolor=darkgreen] \starttext \startchapter

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Marco Patzer
2012-11-08 Wolfgang Schuster: Hi Wolfgang! \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=highlight, criterium=all]} \stopsetups \definelistalternative [highlight] [renderingsetup=list:highlight] I like the flexibility

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Hans Hagen
On 11/8/2012 11:06 AM, Marco Patzer wrote: 2012-11-08 Wolfgang Schuster: Hi Wolfgang! \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=highlight, criterium=all]} \stopsetups \definelistalternative [highlight] [renderingsetup

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Hans Hagen
On 11/8/2012 12:06 PM, Hans Hagen wrote: On 11/8/2012 11:06 AM, Marco Patzer wrote: 2012-11-08 Wolfgang Schuster: Hi Wolfgang! \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=highlight, criterium=all]} \stopsetups \definelistalternative

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Marco Patzer
2012-11-08 Wolfgang Schuster: \setupheadertexts [\setups{headlist}] \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=highlight, criterium=all]} \stopsetups \definelistalternative [highlight] [renderingsetup=list:highlight] Why

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Marco Patzer
] [background=layer:chapter] \setupbackgrounds [page] [background=layer:chapter, setups=setups:headlayer] \setlayer [layer:chapter] {\placelist [chapter] [alternative=f, criterium=all]}%% works %% {\placelist [chapter] [alternative=highlight, criterium=all]} %% fails

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Wolfgang Schuster
Am 08.11.2012 um 22:37 schrieb Marco Patzer home...@lavabit.com: 2012-11-08 Wolfgang Schuster: \setupheadertexts [\setups{headlist}] \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=highlight, criterium=all]} \stopsetups

Re: [NTG-context] Highlight current chapter in list

2012-11-08 Thread Hans Hagen
On 11/8/2012 10:48 PM, Wolfgang Schuster wrote: Am 08.11.2012 um 22:37 schrieb Marco Patzer home...@lavabit.com: 2012-11-08 Wolfgang Schuster: \setupheadertexts [\setups{headlist}] \startsetups [headlist] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=highlight

[NTG-context] Highlight current chapter in list

2012-11-07 Thread Marco Patzer
] \framed[align=normal, frame=off] {\placelist [chapter] [alternative=f, criterium=all]} \stopsetups \setupinteraction [state=start, color=lightgray, contrastcolor=darkgreen] \starttext \startchapter [title=alpha] \stopchapter \startchapter [title=beta

[NTG-context] something about the placelist

2012-10-24 Thread feng
hi! I am a newer. I am studying the context. I think the context is very good. I had study the latex in past years. I have a question: there is a null string line above the \placelist, I don't want it. who can help me? \framed[background=frame_mp,frame=on,align=middle,width

Re: [NTG-context] something about the placelist

2012-10-24 Thread Hans Hagen
On 24-10-2012 09:53, feng wrote: hi! I am a newer. I am studying the context. I think the context is very good. I had study the latex in past years. I have a question: there is a null string line above the \placelist, I don't want it. who can help me? \framed[background=frame_mp

[NTG-context] Fwd: Re: something about the placelist

2012-10-24 Thread Hans Hagen
Original Message Subject: Re: [NTG-context] something about the placelist Date: Wed, 24 Oct 2012 10:43:00 +0200 From: Hans Hagen pra...@wxs.nl To: feng fengi...@gmail.com On 24-10-2012 10:23, feng wrote: 在 Wed, 24 Oct 2012 16:03:53 +0800,Hans Hagen pra...@wxs..nl 写道: sorry

Re: [NTG-context] Fwd: Re: something about the placelist

2012-10-24 Thread feng
] something about the placelist Date: Wed, 24 Oct 2012 10:43:00 +0200 From: Hans Hagen pra...@wxs.nl To: feng fengi...@gmail.com On 24-10-2012 10:23, feng wrote: 在 Wed, 24 Oct 2012 16:03:53 +0800,Hans Hagen pra...@wxs..nl 写道: sorry, there is still a null string line.But I find

[NTG-context] Some odd behaviour I noticed in MkIV with respect to enumerations

2012-10-23 Thread Shane Peelar
to do: \placelist[enumeration:listname] for example. I was able to do \placelist[blah], however. After scouring this mailing list and consulting the source code, I haven't been able to find anything that would give me this functionality in MkIV. Was this intentional, or is there another way

Re: [NTG-context] Some odd behaviour I noticed in MkIV with respect to enumerations

2012-10-23 Thread Wolfgang Schuster
. In MkIV, I noticed that this functionality doesn't work, or at least not in the same way. I was not able to do: \placelist[enumeration:listname] for example. I was able to do \placelist[blah], however. After scouring this mailing list and consulting the source code, I haven't been able

Re: [NTG-context] ntg-context Digest, Vol 100, Issue 63

2012-10-23 Thread Shane Peelar
not in the same way. I was not able to do: \placelist[enumeration:listname] for example. I was able to do \placelist[blah], however. After scouring this mailing list and consulting the source code, I haven't been able to find anything that would give me this functionality in MkIV

Re: [NTG-context] Some odd behaviour I noticed in MkIV with respect to enumerations

2012-10-23 Thread Wolfgang Schuster
, headstyle=bold, numberconversionset=testconversion, numberseparatorset=testseparator] \starttext \placelist[test] \starttest[title={Knuth}] \input knuth \stoptest \startsubtest[title={Zapf}] \input zapf \stopsubtest \stoptext Wolfgang

Re: [NTG-context] ntg-context Digest, Vol 100, Issue 65

2012-10-23 Thread Shane Peelar
][teststyle-number] \defineenumeration [test] [text=Test, headstyle=bold, numberconversionset=testconversion, numberseparatorset=testseparator] \starttext \placelist[test] \starttest[title={Knuth}] \input knuth \stoptest \startsubtest[title={Zapf}] \input zapf

Re: [NTG-context] Draft version of document

2012-08-07 Thread Hans Hagen
}}% \hbox to 2em{#1\hss}% #2\hfill \hbox to 2em{\hss#3}% \blank} \setuplist[figure][alternative=command,command=\FigureListEntry] \placelist[figure] \stoptext Of course, the 'command' is not that nice looking but that's for others to improve. (In a similar fashion one can associate

Re: [NTG-context] A Lorem ipsum module?

2012-07-19 Thread Sietse Brouwer
-visual.mkiv#l234 \unexpanded\def\ipsumthesis {\setupsystem[random=1234] \title{\ipsum[alternative=lines, n=1]} % the first line from the sample text \placelist[chapter,section] \dorecurse{3} {\chapter{\ipsum[alternative=lines, n=random]} % random sentence from the sample text

[NTG-context] Need help

2012-07-18 Thread Shiv Shankar Dayal
=normal, continue=no, page=right, style=\tfc, before={\blank[2*big]}, after={\blank[2*big]}, command=\HeadTitle] I want a local TOC after each chapter title. If I manually put \placelist[section][criterium=chapter] immediately after \chapter command then it does not work. Please help. -- Best

[NTG-context] Table of Contents Section Numbering

2012-07-10 Thread Malte Harder
Dear all, I'm quite new to ConTeXt and I'm just trying to set up a template for my first project. I'm using MkIV and the ConTeXt Standalone nightlies. I've encountered the problem that I was not able to create a table of contents (neither \placelist,\placecontents, with setuplist or without

Re: [NTG-context] Table of Contents Section Numbering

2012-07-10 Thread Henning Hraban Ramm
\placelist,\placecontents, with setuplist or without worked). I do not get any error, but there is also no list generated. I think, I tried every hint I found on this list. It’s a bug in the current beta (or the syntax changed, I don’t think so...) Wait for the next one. Greetlings, Hraban

Re: [NTG-context] table of contents

2012-07-09 Thread Wolfgang Schuster
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] \starttext \completecontent … \stoptext Wolfgang

Re: [NTG-context] table of contents

2012-07-09 Thread Wolfgang Schuster
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] \starttext \completecontent … \stoptext There two additional ways

[NTG-context] \footnote numbering starting with 3 [Was: ConTeXt MKIV 2012.05.22 and \footnote]

2012-05-28 Thread Marco Pessotto
Ok, here we are: \starttext \placelist[chapter,section] hello\footnote{ciao} \chapter{Hello\footnote{weird!}} \section{Hello\footnote{another fn}} hello\footnote{ciao} \stoptext The first footnote will start at 3 by itself. There is some weird interference between the placelist

Re: [NTG-context] \footnote numbering starting with 3 [Was: ConTeXt MKIV 2012.05.22 and \footnote]

2012-05-28 Thread Wolfgang Schuster
Am 28.05.2012 um 19:36 schrieb Marco Pessotto: Ok, here we are: \starttext \placelist[chapter,section] hello\footnote{ciao} \chapter{Hello\footnote{weird!}} \section{Hello\footnote{another fn}} hello\footnote{ciao} \stoptext The first footnote will start at 3 by itself

Re: [NTG-context] \footnote numbering starting with 3

2012-05-28 Thread Marco Pessotto
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: Am 28.05.2012 um 19:36 schrieb Marco Pessotto: Ok, here we are: \starttext \placelist[chapter,section] hello\footnote{ciao} \chapter{Hello\footnote{weird!}} \section{Hello\footnote{another fn}} hello\footnote{ciao

[NTG-context] How to typeset recipe symbol for a doctor's prescription pad

2012-05-28 Thread yuji sakai
To: ntg-context@ntg.nl Subject: Re: [NTG-context] \footnote numbering starting with 3 Message-ID: 87zk8sjed7@universe.krase.net Content-Type: text/plain; charset=us-ascii Wolfgang Schuster writes: Am 28.05.2012 um 19:36 schrieb Marco Pessotto: Ok, here we are: \starttext \placelist[chapter

Re: [NTG-context] setup table of contents

2012-05-17 Thread Henning Hraban Ramm
Am 2012-05-16 um 22:41 schrieb Henning Hraban Ramm: Hi again, seems like it’s impossible to setup the level for combined lists anymore. (MkIV, latest beta). While \placelist[part,chapter] works, I didn’t find a way to \setupcombinedlist[content] just down to chapter level, not deeper

[NTG-context] setup table of contents

2012-05-17 Thread Henning Hraban Ramm
Hi again, seems like it’s impossible to setup the level for combined lists anymore. (MkIV, latest beta). While \placelist[part,chapter] works, I didn’t find a way to \setupcombinedlist[content] just down to chapter level, not deeper. The level key is gone in MkIV, and part,chapter

[NTG-context] Lists and alternative=command

2012-05-17 Thread Rogers, Michael K
] [alternative=command,command=\MyListEntry] \starttext \writetolist[MyList]{First}{Second} \placelist[MyList] \stoptext It generates the following error three times, once per argument in \MyListEntry, I suppose. ConTeXt ver: 2012.05.14 16:00 MKIV fmt: 2012.5.16 int: english/english

Re: [NTG-context] Dump table of contents

2012-04-09 Thread Kip Warner
On Mon, 2012-04-09 at 00:08 -0400, Aditya Mahajan wrote: \def\loaddatafile#1% {\ctxlua { job.initialize(#1.tuc,#1.tua) }}% \loaddatafile{full-book} %with the .tex extension \starttext \placelist[chapter] \stoptext Thanks Aditya, but I tried doing that. ConTeXt

<    1   2   3   4   5   6   7   >