Re: [NTG-context] Simpleslides presentation: list of topics

2016-09-15 Thread Otared Kavian
{% \SlideTitle{#1} \unexpanded\define\TopicTitle{#1} \writetolist[ListOfTopics]{}{#1} } \define\Slide{\SlideTitle{\TopicTitle}} \define[1]\placeListOfTopics{% \SlideTitle{#1} \startalignment[middle] \completelist[ListOfTopics

Re: [NTG-context] placelist not working in latest beta

2016-03-21 Thread Hans Hagen
\doTopic[#1]{% \gdef\MyMark{#1}% \writetolist[MyTopics][location=none]{#1}{}} \define[3]\FancyEntry{% \doifelse{\rawstructurelistfirst}{\MyMark}% {\quad\color[red]{#1}\quad} {\quad #1\quad}} \setuplist[MyTopics] [pagenumber=no, alternative=command

[NTG-context] placelist not working in latest beta

2016-03-21 Thread Schmitz Thomas A.
=all] \def\MyMark{} \def\Topic% {\dosingleargument\doTopic} \def\doTopic[#1]{% \gdef\MyMark{#1}% \writetolist[MyTopics][location=none]{#1}{}} \define[3]\FancyEntry{% \doifelse{\rawstructurelistfirst}{\MyMark}% {\quad\color[red]{#1}\quad} {\quad #1\quad}} \setuplist[MyTopics

Re: [NTG-context] \writetolist command...

2016-03-04 Thread Willi Egger
Hans, thank you for your tip! Willi > On 4 mrt. 2016, at 12:08, Hans Hagen <pra...@wxs.nl> wrote: > > On 3/4/2016 5:37 AM, Willi Egger wrote: >> Hi all, >> >> I need to write to a list, however it appears that the second argument from >> \writeto

Re: [NTG-context] \writetolist command...

2016-03-04 Thread Hans Hagen
On 3/4/2016 5:37 AM, Willi Egger wrote: Hi all, I need to write to a list, however it appears that the second argument from \writetolist[name]{number}{ext} does not end up in the list. — What do I miss? \starttext \startsubject[title=Contents] \placelist[section

[NTG-context] \writetolist command...

2016-03-03 Thread Willi Egger
Hi all, I need to write to a list, however it appears that the second argument from \writetolist[name]{number}{ext} does not end up in the list. — What do I miss? \starttext \startsubject[title=Contents] \placelist[section][criterium=all] \stopsubject

Re: [NTG-context] horizontal list of sections/topics?

2016-02-12 Thread Alan BRASLAU
[pagenumber=no,alternative=command,command=\FancyEntry,interaction=all] \setupinteraction [state=start,color=,contrastcolor=] \def\MarkPage{0} \def\MyMark{} \def\Topic{\dosingleargument\doTopic} \def\doTopic[#1]{\def\MyMark{#1}\writetolist[MyTopics]{}{#1}} \define[3]\FancyEntry { \framed[wi

Re: [NTG-context] Regression with \doboundtext in \writetolist

2015-10-11 Thread Hans Hagen
{\dimexpr\textwidth-\IDWidth+1cm} \definelist[OList] \setuplist [OList][criterium=all,alternative=c,pagecommand=\gobbleoneargument] \starttexdefinition OLister #ID#String {\writetolist[OList]{}{\hbox{\simplealignedbox{\IDWidth}{left}{#ID\quad} {\doboundtext{#String}{\STWidth

Re: [NTG-context] Regression with \doboundtext in \writetolist

2015-10-11 Thread Wolfgang Schuster
String {\writetolist[OList]{}{\hbox{\simplealignedbox{\IDWidth}{left}{#ID\quad} {\doboundtext{#String}{\STWidth}{…} \stoptexdefinition \starttext \OLister1{Some list testing text xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx} \OListe

Re: [NTG-context] Regression with \doboundtext in \writetolist

2015-10-11 Thread Rik
On 2015-10-11 12:56, Wolfgang Schuster wrote: Is \limitatetext a option for you because unlike \doboundtext the command is unexpandable? \starttext \doboundtext {Thus, I came to the conclusion that the designer of a new system ...}{.5\textwidth}{...} \limitatetext{Thus, I came to the

Re: [NTG-context] Regression with \doboundtext in \writetolist

2015-10-11 Thread Rik Kabel
{99}\to\IDWidth\relax \def\STWidth{\dimexpr\textwidth-\IDWidth+1cm} \definelist[OList] \setuplist [OList][criterium=all,alternative=c,pagecommand=\gobbleoneargument] \starttexdefinition OLister #ID#String {\writetolist[OList]{}{\hbox{\simplealignedbox{\IDWidth}{left}{#ID\quad

Re: [NTG-context] Regression with \doboundtext in \writetolist

2015-10-11 Thread Wolfgang Schuster
Rik 11. Oktober 2015 um 21:20 On 2015-10-11 12:56, Wolfgang Schuster wrote: Is it an option of which I am aware, yes. Do I desire to use it, no. Will I use it? Perhaps, if \doboundtext cannot be repaired. The resulting page with \limitatetext has large rivers of white on

Re: [NTG-context] Regression with \doboundtext in \writetolist

2015-10-11 Thread Rik Kabel
On 2015-10-11 15:41, Wolfgang Schuster wrote: Rik 11. Oktober 2015 um 21:20 On 2015-10-11 12:56, Wolfgang Schuster wrote: Is it an option of which I am aware, yes. Do I desire to use it, no. Will I use it? Perhaps, if \doboundtext cannot be repaired. The resulting page

[NTG-context] Regression with \doboundtext in \writetolist

2015-10-10 Thread Rik Kabel
} \definelist[OList] \setuplist [OList][criterium=all,alternative=c,pagecommand=\gobbleoneargument] \starttexdefinition OLister #ID#String {\writetolist[OList]{}{\hbox{\simplealignedbox{\IDWidth}{left}{#ID\quad} {\doboundtext{#String}{\STWidth}{…} \stoptexdefinition \starttext

[NTG-context] Questions on registers, and on processors used with registers

2015-10-04 Thread Rik Kabel
, 2.) in the first braced argument to writetolist. \definelist[Reprints][criterium=all] \starttext \section{Sec 1} \writetolist[Reprints]{1.}{List entry A} \subsection{Subsec 1} \writebetweenlist[Reprints]{\hrule} \writetolist[Reprints]{2.}{List entr

Re: [NTG-context] chapter only in bookmarks (not in text or in TOC)

2015-07-06 Thread Hans Hagen
it as a bookmark. How should I define \hiddentitle to get that? something \setupinteraction[state=start] \placebookmarks[chapter,hiddentitle] \definehead[hiddentitle][chapter] \starttext \completecontent \writetolist[hiddentitle]{!!}{xxx} aa\page aa \chapter{Foreword} aa

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Otared Kavian
with a graphic, ideally a one page pdf file. I have tried workarounds with \startstandardmakeup,\writetolist, \definemarking etc. but the whole thing is getting too complicated. I just want to overlay a the entire page with a graphic yet have the real content of the page still available for TOC

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Robin.Kirkham
heads, TOC etc. Is there a way that I can overlay the entire chapter first page with a graphic, ideally a one page pdf file. I have tried workarounds with \startstandardmakeup,\writetolist, \definemarking etc. but the whole thing is getting too complicated. I just want to overlay

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread John Culleton
: - \startstandardmakeup[doublesided=no] \vskip -0.15in \hskip -0.7in \hbox{\externalfigure[chaphead2.pdf][width=\paperwidth, height=\paperheight]} \stopstandardmakeup \writetolist[chapter]{2}{Chapter 2: Understanding the Food Industry

Re: [NTG-context] overlay or layer for chapter head.

2015-04-02 Thread Wolfgang Schuster
\writetolist[chapter]{2}{Chapter 2: Understanding the Food Industry}% This works but I want a less fiddly-more reliable method. \setupexternalfigures[location=default] \definelayer[chaptertext][width=\paperwidth,height=\paperheight] \define[2

[NTG-context] overlay or layer for chapter head.

2015-04-01 Thread John Culleton
tried workarounds with \startstandardmakeup,\writetolist, \definemarking etc. but the whole thing is getting too complicated. I just want to overlay a the entire page with a graphic yet have the real content of the page still available for TOC, running head, indexing terms etc. Any suggestions

Re: [NTG-context] overlay or layer for chapter head.

2015-04-01 Thread Idris Samawi Hamid ادريس سماوي حامد
that fancy page but still have the \chapter statement for running heads, TOC etc. Is there a way that I can overlay the entire chapter first page with a graphic, ideally a one page pdf file. I have tried workarounds with \startstandardmakeup,\writetolist, \definemarking etc. but the whole thing

Re: [NTG-context] overlay or layer for chapter head.

2015-04-01 Thread Alan BRASLAU
statement for running heads, TOC etc. Is there a way that I can overlay the entire chapter first page with a graphic, ideally a one page pdf file. I have tried workarounds with \startstandardmakeup,\writetolist, \definemarking etc. but the whole thing is getting too complicated. I just want

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

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

2015-03-20 Thread Gerben Wierda
with MkII and MkIV and the MkIV behaviour need to be corrected. The space after \chapter comes from your \writetolist entry and you can correct this with the \GotoPar command at the end of the entry as shown below. begin example \showgrid \setuphead[chapter][before={\blank[force,2

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

2015-03-16 Thread Gerben Wierda
and the first paragraph. How can I influence this? The different space before the \chapter is caused by the “fixed” keyword for \blank which produce different result with MkII and MkIV and the MkIV behaviour need to be corrected. The space after \chapter comes from your \writetolist entry

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

2015-03-15 Thread Gerben Wierda
][margin=1.3em,pagecommand=\gobbleoneargument] \define[1]\ChapterAbstract{\writetolist[chaptertext]{}{\start\itx#1\stop}} \stopenvironment = test.tex mkii \showgrid \startcomponent c_loosely \product prd_book \project

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

2015-03-15 Thread Wolfgang Schuster
the \chapter is caused by the “fixed” keyword for \blank which produce different result with MkII and MkIV and the MkIV behaviour need to be corrected. The space after \chapter comes from your \writetolist entry and you can correct this with the \GotoPar command at the end of the entry as shown

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

2014-11-25 Thread Gerben Wierda
] %\completecontent[level=chapter] The %-outcommented was the original list. In the chapter file, it now says \chapter[h:foo]{Foo} \writetolist[chaptertext]{}{\input tufte} The effect of this is that every chapter name in the list is typeset as \itx, not just the summary chaptertext. The chapter

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

2014-11-25 Thread Otared Kavian
] %\completecontent[level=chapter] The %-outcommented was the original list. In the chapter file, it now says \chapter[h:foo]{Foo} \writetolist[chaptertext]{}{\input tufte} The effect of this is that every chapter name in the list is typeset as \itx, not just the summary chaptertext. The chapter numbers

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

2014-11-25 Thread Gerben Wierda
} \writetolist[chaptertext]{}{This is a small description of this chapter: \input ward } \input knuth.tex \chapter{This is a chapter} \writetolist[chaptertext]{}{This is a small description of this chapter: \input ward } \input knuth.tex \chapter{This is a chapter} \writetolist[chaptertext

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 Wolfgang Schuster
or \writetolist commands for this. 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/mailman/listinfo/ntg-context webpage : http

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

2014-11-24 Thread Otared Kavian
{This is a chapter} \writetolist[chaptertext]{}{This is a small description of this chapter: \input ward } \input knuth.tex \stoptext Best regards: OK On 25 Nov 2014, at 00:41, Gerben Wierda gerben.wie...@rna.nl wrote: I have a standard ToC, but what I’d like to have is that each chapter item (I don’t go

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

2014-11-24 Thread Hans Hagen
[chapter,chaptertext] \chapter{This is a chapter} \writetolist[chaptertext]{}{This is a small description of this chapter: \input ward } \input knuth.tex \stoptext The mkiv way: \starttext \unexpanded\def\ShowSummary#1#2#3% {\inleftmargin{#1}\structurelistuservariable{summary}\blank

Re: [NTG-context] \writetolist in mkiv

2014-10-13 Thread Jano Kula
Thank you, Wolfgang, here is the working example for the structure manual ;) % \writetolist local table of contents example \def\ManualSubsection#1{\blank% {\bf Manual Subsection #1}\par% \writetolist[subsection]{}{Manual Subsection #1}% \input tufte\relax} \starttext \dorecurse{3

[NTG-context] \writetolist in mkiv

2014-10-12 Thread Jano Kula
Hello to everybody! Minimal story - How to insert local TOC of manually created subsections after the section starts? % start minimal example \def\ManualSubsection#1{\blank% {\bf Manual Subsection #1}\par% \writetolist[subsection]{whatever}{Manual Subsection #1}% \input tufte

Re: [NTG-context] \writetolist in mkiv

2014-10-12 Thread Wolfgang Schuster
% \writetolist[subsection]{whatever}{Manual Subsection #1}% \input tufte\relax} \starttext \dorecurse{3}{% \startchapter[title=Chapter] \placecontent[chapter,criterium=local] % local TOC OK You can’t put a keyword (chapter) and a assignment (criterium=local) in the same argument of a setup

Re: [NTG-context] \writetolist in mkiv

2014-10-12 Thread Jano Kula
\ManualSubsection#1{\blank% {\bf Manual Subsection #1}\par% \writetolist[subsection]{whatever}{Manual Subsection #1}% \input tufte\relax} \starttext \dorecurse{3}{% \startchapter[title=Chapter] \placecontent[chapter,criterium=local] % local TOC OK You can’t put a keyword (chapter) and a assignment

Re: [NTG-context] \writetolist in mkiv

2014-10-12 Thread Wolfgang Schuster
subsections after the section starts? % start minimal example \def\ManualSubsection#1{\blank% {\bf Manual Subsection #1}\par% \writetolist[subsection]{whatever}{Manual Subsection #1}% \input tufte\relax} \starttext \dorecurse{3}{% \startchapter[title=Chapter] \placecontent[chapter

Re: [NTG-context] Chapter precis

2014-08-30 Thread Alan BRASLAU
this text in the table of contents as suggested in this thread. I thought about adding before={\startbuffer[precis]}, after={\stopbuffer\getbuffer[precis]\writetolist[chapter]{}{\getbuffer[precis]}} to the \definestartstop but this does not seem to work. I did not try further. Perhaps someone has

Re: [NTG-context] Chapter precis

2014-08-28 Thread Wolfgang Schuster
{This is a chapter} \writetolist[chapter]{}{This is a summary of the chapter with \tex{writetolist}.} \writebetweenlist[chapter][location=here]{This is a summary of the chapter with \tex{writebetweenlist}.} \chapter{This is another chapter} \stoptext Wolfgang

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
to tell without a example which demonstrates the error because the following works for me. \starttext \completecontent \chapter{This is a chapter} \writetolist[chapter]{}{This is a summary of the chapter with \tex{writetolist}.} \writebetweenlist[chapter][location=here]{This is a summary

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
with \writebetweenlist[chapter]{XYZ} or with \weitetolist[chapter]{XYZ} But both produce only a fatal error. What’s wrong here? Hard to tell without a example which demonstrates the error because the following works for me. \starttext \completecontent \chapter{This is a chapter} \writetolist[chapter

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
Yes. I did. Before and now. But I think, writebetweenlist is not what I’m looking for. I try now with \writetolist[section] and to give the section list the desired format. That seems not easy, because the text now runs on the whole line, this means also in the region, where the page numbers

Re: [NTG-context] Chapter precis

2014-08-28 Thread Wolfgang Schuster
Am 28.08.2014 um 17:46 schrieb Werner Hintze w.hin...@posteo.eu: Yes. I did. Before and now. But I think, writebetweenlist is not what I’m looking for. I try now with \writetolist[section] and to give the section list the desired format. That seems not easy, because the text now runs

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
, Wolfgang Schuster wrote: Am 28.08.2014 um 17:46 schrieb Werner Hintze w.hin...@posteo.eu: Yes. I did. Before and now. But I think, writebetweenlist is not what I’m looking for. I try now with \writetolist[section] and to give the section list the desired format. That seems not easy, because

Re: [NTG-context] Chapter precis

2014-08-28 Thread Wolfgang Schuster
[chapter,chaptertext] \chapter{This is a chapter} \writetolist[chaptertext]{}{\input ward } \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

Re: [NTG-context] Chapter precis

2014-08-28 Thread Werner Hintze
] \chapter{This is a chapter} \writetolist[chaptertext]{}{\input ward } \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

[NTG-context] writetolist doesn't include sectionnumber in mkiv?

2014-02-15 Thread Sanjoy Mahajan
With MkIV, I'm having trouble getting \writetolist to include sectionnumbers. Or at least, I cannot get the typeset list to include the sectionnumbers (but maybe writetolist sent in the information). Here's a minimal example, which is almost exactly the example from the wiki at http

[NTG-context] Bug in the latest beta

2013-04-15 Thread Jannik Voges
Hello ConTeXt-Users, I have found a bug, when using \writetolist: \starttext \writetolist[chapter]{}{test} \stoptext That gives an error, but changing the list to a not predefined list doesn't. For example \definelist[chapter1] \starttext \writetolist[chapter1]{}{test} \stoptext

Re: [NTG-context] Bug in the latest beta

2013-04-15 Thread Wolfgang Schuster
Am 14.04.2013 um 12:42 schrieb Jannik Voges researchj...@icloud.com: Hello ConTeXt-Users, I have found a bug, when using \writetolist: \starttext \writetolist[chapter]{}{test} \stoptext That gives an error, but changing the list to a not predefined list doesn't. For example

Re: [NTG-context] Bug in the latest beta

2013-04-15 Thread Jannik Voges
Hello, today I updated the beta and the error is gone. Thanks for the fix or sorry, if that error was caused by a corrupt installation. Jannik Am 14.04.2013 um 12:42 schrieb Jannik Voges researchj...@icloud.com: Hello ConTeXt-Users, I have found a bug, when using \writetolist

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

2013-01-09 Thread Sietse Brouwer
\MyMark{} % \Topic takes one optional argument: #1, the topic name. \def\Topic% {\dosingleargument\doTopic} \def\doTopic[#1]{% % let it be known that we are in section #1 (used by \FancyTopic) \def\MyMark{#1}% % let topic #1 appear in the TOC (well, the MyTopics list) \writetolist[MyTopics

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

2013-01-08 Thread Thomas A. Schmitz
]} {\color[blue]{#1 = \MyMark}\blank[medium]} } \definelist[MyTopics][criterium=all] \def\MyMark{} \def\Topic% {\dosingleargument\doTopic} \def\doTopic[#1]{% \def\MyMark{#1}% \writetolist[MyTopics]{#1}{}% } \setuplist[MyTopics] [pagenumber=no, alternative=command

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

2013-01-08 Thread 土卜皿
= \MyMark}} {\color[blue]{#1 = \MyMark}} \blank[medium] } \definelist[MyTopics][criterium=all] \def\MyMark{} \def\Topic% {\dosingleargument\doTopic} \def\doTopic[#1]{% \def\MyMark{#1}% \writetolist[MyTopics]{#1}{}% } \setuplist[MyTopics] [pagenumber

[NTG-context] two bugs in the latest beta of context mkiv

2012-12-03 Thread Jannik Voges
. \starttext \chapter{A Chapter} \section{A Section} \subsection{A Subsection} \chapter{Another Chapter} \subsection{Another Subsection} \stoptext In my attempt to circumvent this problem I tried to write my own table of contents (the number in the headlines were easy to fix) with \writetolist

[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] \setuphead and \startchapter request

2012-03-19 Thread Alan BRASLAU
, but \starttitle does not, by design, add an entry to the TOC, nor a bookmark. And \starttitle [title={Conclusions}] \writetolist[chapter]{}{Conclusions}% works \bookmark{Conclusions}% Does not work! is less elegant than \startchapter [number=no,incrementnumber=no,title={Conclusions}] (but does have

Re: [NTG-context] Bug in \setuplist

2012-03-15 Thread Willi Egger
. Properties fitting them for domestication. Bees never attack when filled with honey, 26. As you can see there are only chapter numbers given. All other entries in the TOC are not even headings in the text (!). So I will have to set these texts up with \writetolist. The texts in the TOC never match

Re: [NTG-context] Bug in \setuplist

2012-03-15 Thread Willi Egger
can see there are only chapter numbers given. All other entries in the TOC are not even headings in the text (!). So I will have to set these texts up with \writetolist. The texts in the TOC never match any text and are only indications on the subject dealt with on the given page. -- I seems

Re: [NTG-context] Problem with \writebetweenlist

2012-02-26 Thread Hans Hagen
\unexpanded\def\writebetweenlist{\dodoubleempty \strc_lists_write_between} \unexpanded\def\writedatatolist {\dotripleargument\strc_lists_write_data_to} \unexpanded\def\writetolist {\dodoubleempty \strc_lists_write_to} \def\strc_lists_write_between[#tag]% {\begingroup \edef\currentlist{#tag

[NTG-context] Unnumbered chapter in table of contents?

2012-02-15 Thread Alasdair McAndrew
] and \writetolist[content]{}{Answers to Exercises} but these don't seem to work. Thanks, Alasdair -- Blog: http://amca01.wordpress.com Web: http://sites.google.com/site/amca01/ Facebook: http://www.facebook.com/alasdair.mcandrew

Re: [NTG-context] Unnumbered chapter in table of contents?

2012-02-15 Thread Otared Kavian
on the exercises; just the title. How can I easily achieve all of this? I've tried with \title[Answers to Exercises] and \writetolist[content]{}{Answers to Exercises} but these don't seem to work. Thanks, Alasdair -- Blog: http://amca01.wordpress.com Web: http://sites.google.com

Re: [NTG-context] Pagereferences to more than one page

2012-01-02 Thread luigi scarso
= document.jan.multiple_references_stored or {} \stopluacode \def\WriteToList{% \startluacode local f=io.open('multiref.tuc','r') if f==nil then f=io.open('multiref.tuc','w') f:write(local multiple_references= multiple_references or {}\n) f:write(multiple_references={\n) for k,v in pairs(document.jan.multiple_references) do

[NTG-context] \placelist and \writetolist

2011-12-13 Thread Marco Pessotto
Hello! I can't understand what I'm doing wrong here: % \setuplist[mylist] [alternative=c, width=0mm, style=\tfx, criterium=all] \starttext \placelist[mylist] \page[yes] \input knuth \writetolist[mylist]{}{Item} \stoptext

Re: [NTG-context] \placelist and \writetolist

2011-12-13 Thread Wolfgang Schuster
knuth \writetolist[mylist]{}{Item} \stoptext % The document compiles fine with version 2011.05.18 22:2, but it fails miserably with the latest (2011.11.29 23:11) Replace \setuplist with \definelist, before you use a list you should create it. Wolfgang

Re: [NTG-context] \placelist and \writetolist

2011-12-13 Thread Marco Pessotto
Wolfgang Schuster schuster.wolfg...@googlemail.com writes: Replace \setuplist with \definelist, before you use a list you should create it. I knew I was missing something obvious... Thanks a lot, it works. Best wishes -- Marco

Re: [NTG-context] [NTG-conte​xt] Suppress the citation number counts in the list of figures?

2011-05-19 Thread seasoul
]%sample.bib in the wiki \setuppublications[sorttype=cite] \setuppublications[alternative=num,criterium=cite] \setuppublications[numbering=yes] % Show reference numbers in the generated list. \starttext \startfrontmatter % List of figures \title{List of Figures} \writetolist[Title

[NTG-context] [NTG-conte​xt] Suppress the citation number counts in the list of figures?

2011-05-17 Thread seasoul
% List of figures \title{List of Figures} \writetolist[Title] {} {List of Figures} \writebetweenlist [Title] {\blank} \placelist[figure][criterium=all] \stopfrontmatter \startbodymatter This is the first place for citation\cite[hh2010

Re: [NTG-context] [NTG-conte​xt] How to retreive the bibentry number and use it somewhere?

2011-05-09 Thread seasoul
\startfrontmatter % List of figures \title{List of Figures} \writetolist[Title] {} {List of Figures} \writebetweenlist [Title] {\blank} \placelist[figure][criterium=all] \stopfrontmatter \startbodymatter This is the first place for citation\cite

[NTG-context] \writetolist spurious space in the first line hereafter

2011-03-17 Thread Willi Egger
Hi all, I detected that after issuing \writetolist, that there is a unwanted space in the first line after this command. This occurs when indenting is on and off. Please refer to the attached minimal example. I am using ConTeXt 2011.02.25 22:03, LuaTEX beta-0.65.0-2010121316 Kind regards

Re: [NTG-context] \writetolist spurious space in the first line hereafter

2011-03-17 Thread Wolfgang Schuster
Am 17.03.2011 um 11:32 schrieb Willi Egger: Hi all, I detected that after issuing \writetolist, that there is a unwanted space in the first line after this command. This occurs when indenting is on and off. Add a comment after the last brace, i.e. \writetolist[…]{}{…}% and write

Re: [NTG-context] \writetolist spurious space in the first line hereafter

2011-03-17 Thread Willi Egger
Hello Wolfgang! thank you so much for this answer. Thanks to regular expressions it is now solved throughout the whole book. Willi On 17 Mar 2011, at 11:47, Wolfgang Schuster wrote: Am 17.03.2011 um 11:32 schrieb Willi Egger: Hi all, I detected that after issuing \writetolist

Re: [NTG-context] How to avoid that \writetolist becomes a page-breaker

2010-12-15 Thread Hans Hagen
On 14-12-2010 10:32, Marco Pessotto wrote: \subject{\bf My title!} \dontleavehmode \writetolist[myrandompart]{}{It's a test} works. The question if is this the right thing to do, still remains, though it's quite ok as long as you realize that it introduces 'something' in the text stream, so

Re: [NTG-context] How to avoid that \writetolist becomes a page-breaker

2010-12-15 Thread Hans Hagen
On 14-12-2010 9:00, Marco Pessotto wrote: \doneleavehmode \writetolist[myrandompart]{It's a test} \input knuth i.e. just bind the write to some text - Hans Hagen | PRAGMA ADE

Re: [NTG-context] How to avoid that \writetolist becomes a page-breaker

2010-12-15 Thread Marco Pessotto
Hans Hagen pra...@wxs.nl writes: On 14-12-2010 9:00, Marco Pessotto wrote: \doneleavehmode \writetolist[myrandompart]{It's a test} \input knuth i.e. just bind the write to some text Thanks for your answer. I'm on my way to the wiki :-) -- Marco

[NTG-context] \do(single|double|etc)empty behaviour

2010-12-15 Thread Marco Pessotto
[center]% \dosingleempty\doTalPart} \def\doTalPart[#1]#2{% \iffirstargument debug: I have the optional arg \bfc#1\blank[2*big] \writetolist[talpart]{}{{#1. }#2} \else debug: I don't have any arg \blank[2*big] \writetolist[talpart]{}{#2} \fi \bfd#2

Re: [NTG-context] \do(single|double|etc)empty behaviour

2010-12-15 Thread Wolfgang Schuster
is \doifsomethingelse. \def\talpart {\dosingleempty\dotalpart} \def\dotalpart[#1]#2% {\page[right] \blank[force,2*big] \startalignment[center] \doifsomethingelse{#1} {{\bfc#1}\writetolist[talpart]{}{#1. #2}} {\writetolist[talpart]{}{#2}}% \blank[2*big] {\bfd#2} \stopalignment

Re: [NTG-context] \do(single|double|etc)empty behaviour

2010-12-15 Thread Marco Pessotto
to check for content of the optional argument is \doifsomethingelse. \def\talpart {\dosingleempty\dotalpart} \def\dotalpart[#1]#2% {\page[right] \blank[force,2*big] \startalignment[center] \doifsomethingelse{#1} {{\bfc#1}\writetolist[talpart]{}{#1. #2}} {\writetolist

Re: [NTG-context] writebetweenlist regression (mkiv)

2010-12-14 Thread Marco Pessotto
[testlist][order=all] \page \input tufte \writetolist [testlist] {1} {One} \writebetweenlist[testlist] {\blackrule[color=red,width=\hsize]} \writebetweenlist[testlist][location=here]{\blackrule[color=blue,width=\hsize]} \writetolist [testlist

Re: [NTG-context] writebetweenlist regression (mkiv)

2010-12-14 Thread Steffen Wolfrum
[testlist][order=command] \subject{all} \placelist[testlist][order=all] \page \input tufte \writetolist [testlist] {1} {One} \writebetweenlist[testlist] {\blackrule[color=red,width=\hsize]} \writebetweenlist[testlist][location=here]{\blackrule[color=blue,width

[NTG-context] How to avoid that \writetolist becomes a page-breaker

2010-12-14 Thread Marco Pessotto
Probably due to my abuse of \writetolist, I noticed that inserting \writetolist right after \subject makes TeX to think that it can break the page there without problems. See the following minimal example: %===cut here= \definelist[myrandompart] \starttext \dorecurse

Re: [NTG-context] How to avoid that \writetolist becomes a page-breaker

2010-12-14 Thread Marco Pessotto
Marco Pessotto melmo...@gmail.com writes: Probably due to my abuse of \writetolist, I noticed that inserting \writetolist right after \subject makes TeX to think that it can break the page there without problems. See the following minimal example: %===cut here

Re: [NTG-context] writebetweenlist regression (mkiv)

2010-12-13 Thread Hans Hagen
location is needed with the inbetween method. Maybe additional mechanisms show up some day. \subject{normal} \placelist[testlist] \subject{command} \placelist[testlist][order=command] \subject{all} \placelist[testlist][order=all] \page \input tufte \writetolist

Re: [NTG-context] compound titles, lists and headers

2010-09-26 Thread Tomas Bures
Dear all, I found this useful, but still I'm wondering, how shall I extend the \KomplexTitel to put current chapter number to the \writetolist command? Thank you. Best regards, Tomas On 17.2.2003 0:31, Hans Hagen wrote: better make a dedicated list: \definelist [mylist] and configure

Re: [NTG-context] compound titles, lists and headers

2010-09-26 Thread Wolfgang Schuster
Am 26.09.2010 um 17:54 schrieb Tomas Bures: Dear all, I found this useful, but still I'm wondering, how shall I extend the \KomplexTitel to put current chapter number to the \writetolist command? I wouldn’t use this method anymore because with \startchapter etc. you have a even more

Re: [NTG-context] compound titles, lists and headers

2010-09-26 Thread Tomas Bures
Bures: Dear all, I found this useful, but still I'm wondering, how shall I extend the \KomplexTitel to put current chapter number to the \writetolist command? I wouldn’t use this method anymore because with \startchapter etc. you have a even more powerful mechanism without such tricks, see also

Re: [NTG-context] Bugs in current beta

2010-08-11 Thread Hans Hagen
On 10-8-2010 11:44, Andreas Harder wrote: \starttext \input tufte \writetolist[test]{.1}{test} \input tufte \stoptext There shouldn't be a whitespace between the paragraphs, should there? this is a side effect of the fact that the write becomes a node which is needed because we need

Re: [NTG-context] Bugs in current beta

2010-08-10 Thread Andreas Harder
sequence. l.19 \defineoutputstream[\v!left] One more: \definelist[test] \starttext \input tufte \writetolist[test]{.1}{test} \input tufte \stoptext There shouldn't be a whitespace between the paragraphs, should there? Greeting Andreas

[NTG-context] 2 sets of footnotes?

2010-08-05 Thread Martin Althoff
} \writetolist[SideNote]{1 }{Rand 63} Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat\writetolist[AuthorComment]{a}{YYY ZZZ} nulla pariatur. \footnote{Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et

Re: [NTG-context] problem with publication lists in mkiv

2010-07-22 Thread Thomas A. Schmitz
OK, I'm replying to my own question to add one further detail: I have now found a minimal example that demonstrates the error with \writetolist: if you process the following file with mkiv, a spurious vertical space is added before the first line of text; everything works as expected in mkii

Re: [NTG-context] problem with publication lists in mkiv

2010-07-22 Thread Hans Hagen
On 22-7-2010 12:58, Thomas A. Schmitz wrote: OK, I'm replying to my own question to add one further detail: I have now found a minimal example that demonstrates the error with \writetolist: if you process the following file with mkiv, a spurious vertical space is added before the first line

Re: [NTG-context] problem with publication lists in mkiv

2010-07-22 Thread Thomas A. Schmitz
On Jul 22, 2010, at 4:38 PM, Hans Hagen wrote: On 22-7-2010 12:58, Thomas A. Schmitz wrote: OK, I'm replying to my own question to add one further detail: I have now found a minimal example that demonstrates the error with \writetolist: if you process the following file with mkiv

Re: [NTG-context] problem with publication lists in mkiv

2010-07-22 Thread Hans Hagen
On 22-7-2010 4:57, Thomas A. Schmitz wrote: On Jul 22, 2010, at 4:38 PM, Hans Hagen wrote: On 22-7-2010 12:58, Thomas A. Schmitz wrote: OK, I'm replying to my own question to add one further detail: I have now found a minimal example that demonstrates the error with \writetolist: if you

[NTG-context] problem with publication lists in mkiv

2010-07-15 Thread Thomas A. Schmitz
Hi all, since a few betas ago, I'm experiencing the problem that some commands add unwanted vertical space in mkiv. I think this is the case with \writetolist, but I need to prepare an example for that. I have prepared an example for publication lists: the following code produces the expected

[NTG-context] writetolist causes mystery blank

2010-07-08 Thread Michael Murphy
Hi all, I'm having a but of a problem using writetolist. In principle, I want to insert something into the table of contents, but I don't want to disturb the flow of the text. Unfortunately, the following code seems to generate a blank at the top of the page: \showframe \showmakeup

Re: [NTG-context] writetolist causes mystery blank

2010-07-08 Thread Hans Hagen
On 8-7-2010 7:33, Michael Murphy wrote: Hi all, I'm having a but of a problem using writetolist. In principle, I want to insert something into the table of contents, but I don't want to disturb the flow of the text. Unfortunately, the following code seems to generate a blank at the top

Re: [NTG-context] writetolist causes mystery blank

2010-07-08 Thread Michael Murphy
I'm having a but of a problem using writetolist. In principle, I want to insert something into the table of contents, but I don't want to disturb the flow of the text. Unfortunately, the following code seems to generate a blank at the top of the page: mkii or mkiv or both? It looks like

Re: [NTG-context] \writetolist fails in footnotes when interaction is on

2010-06-22 Thread Hans Hagen
On 21-6-2010 7:11, Michael Saunders wrote: \setupinteraction[state=start,color=,contrastcolor=,option=fit] \definelabel[demonum][text=,before=,after=,way=bytext] \definelist[demos] \setuplist[demos][interaction=all,alternative=b,after=] \starttext \footnote{\writetolist[demos]{\nextdemonum

  1   2   3   >