Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-23 Thread T. Kurt Bond
itespace >[medium] > > \setuplist >[chapter,section,subsection,subsubsection] >[before={\blank[nowhite]}, > after={\blank[nowhite]}] > > \setupcolumns >[grid=no] > > \starttext > > \startcolumns > > \completecontent > > \chapter{C

Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-23 Thread Wolfgang Schuster
] \setuplist [chapter,section,subsection,subsubsection] [before={\blank[nowhite]}, after={\blank[nowhite]}] \setupcolumns [grid=no] \starttext \startcolumns \completecontent \chapter{Chapter} \samplefile{knuth} \section{Section} \samplefile{weisman} \subsection{Subsection

Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-23 Thread T. Kurt Bond
,subsubsection] [before={\blank[nowhite]}, after={\blank[nowhite]}] \setupwhitespace [medium] %\showgrid \starttext \startcolumns[n=2] \completecontent \chapter{Chapter} \samplefile{knuth} \section{Section} \samplefile{weisman} \subsection{Subsection} \samplefile{weisman

Re: [NTG-context] LMTX running on macOS Catalina; fuzzy paragraphs; unwanted whitespace

2020-03-22 Thread Wolfgang Schuster
te]}, after={\blank[nowhite]}] \setupwhitespace [medium] %\showgrid \starttext \completecontent \chapter{Chapter} \samplefile{knuth} \section{Section} \samplefile{weisman} \subsection{Subsection} \samplefile{weisman} \subsubsection{Subsubsection} \samplefile{weisman} \stopt

Re: [NTG-context] Accessing raw titles in textcommand in TOC

2020-02-21 Thread alephzorro
formtitle#1% > > {\ctxlua{userdata.mytransform([==[#1]==])}} > > \setuplist[chapter][textcommand=\transformtitle] > > \starttext > > \completecontent > > \startchapter[title={Sample Chapter}] > > \stopchapter > > \stoptext > > When I print the actual

Re: [NTG-context] Accessing raw titles in textcommand in TOC

2020-02-21 Thread alephzorro
rivial transformation that really needs Lua. > > \starttext > > \completecontent > > \startchapter[title={Sample Chapter},list={retpahC elpmaS}] > \stopchapter > > \stoptext > > > I've written simple Lua macros before, but the following approach trying > > to define

Re: [NTG-context] Accessing raw titles in textcommand in TOC

2020-02-21 Thread Wolfgang Schuster
context(title) --this is just fine, but isn't very useful > context(string.reverse(title)) > end > \stopluacode > > \def\transformtitle#1% > {\ctxlua{userdata.mytransform([==[#1]==])}} > > \setuplist[chapter][textcommand=\transformtitle] > > \starttext &

Re: [NTG-context] Accessing raw titles in textcommand in TOC

2020-02-21 Thread Hans Hagen
On 2/21/2020 2:34 PM, alephzorro wrote: Hello, I would like to display titles differently in TOC than they appear in text. For example, MyChapter1 -> 1retpahCyM. Basically any highly non-trivial transformation that really needs Lua. \starttext \completecontent \startchapter[ti

[NTG-context] Accessing raw titles in textcommand in TOC

2020-02-21 Thread alephzorro
tle#1% {\ctxlua{userdata.mytransform([==[#1]==])}} \setuplist[chapter][textcommand=\transformtitle] \starttext \completecontent \startchapter[title={Sample Chapter}] \stopchapter \stoptext When I print the actual title that is passed to mytransform, all I get is \currentlistentrytitle an

Re: [NTG-context] fancy chapter setup

2020-01-12 Thread Henning Hraban Ramm
ad[chapter][ page=yes, before={\directsetup{FancyChapter}}, ] \setuppagenumbering[alternative=doublesided] \starttext \completecontent \startchapter[title={My Normal Text}] \input knuth \stopchapter \def\PreImg{Real} \startbuffer[Quote] I thought that was real. \stopbuffer \startchapter[title

Re: [NTG-context] fancy chapter setup

2020-01-12 Thread Henning Hraban Ramm
apter][ page=yes, before={\directsetup{FancyChapter}}, ] \setuppagenumbering[alternative=doublesided] \starttext \completecontent \startchapter[title={My Normal Text}] \input knuth \stopchapter \startchapter[title={My Fancy Story}] [subtitle={\quotation{I thought that was real.}}] \input

Re: [NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Wolfgang Schuster
. \setuphead   [section]   [number=no] \setuphead   [subsection]   [number=yes,    sectionsegments=subsection,    conversion=g] \setupbodyfont[dejavu] \starttext \completecontent \chapter{yay} \section{wow} \subsection{Text} \stoptext Wolfgang Jairo A. del Rio schrieb am 06.10.2019 um 23:29: I

[NTG-context] Unexpected behavior of subsection labels

2019-10-06 Thread Jairo A. del Rio
[section] \hfill \llap{\userpagenumber} \stopsetups \startsetups[text left] \rlap{\userpagenumber} \hfill \sc \getmarking[chapter] \hfill \llap{} \stopsetups \startfrontmatter Hello \completecontent \stopfrontmatter \startbodymatter \startchapter[title=yay] \startsection[title=wow] \startsubsection[title

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-09 Thread Thangalin
That's another intriguing approach, Andrés, thank you. The approach faces some hurdles. First, the template file (main.tex) is written in ConTeXt, so it never sees the YAML variables, nor can it be used to interpret pandoc's conditional expressions. Second, moving the \completecontent macro out

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-08 Thread Andres Conrado
You can do it on the template... you can use a yaml variable to determine if the toc should be printed or not. Like so: yaml file: --- toc: true ... template file: %%% $if(toc)$ \completecontent $endif$ %%% Andrés Conrado Montoya http://chiquitico.org El lun., 8 jul. 2019 a las 2:52

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-08 Thread Thangalin
Thanks again for the great ideas. The downside is that it comes with a lot of extra ConTeXt setup code. My understanding is that the toc parameter to pandoc only works when creating a standalone document. I think \def\completecontent\empty is a bit more expressive of intent than \def

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-07 Thread Aditya Mahajan
On Sun, 7 Jul 2019, Thangalin wrote: Thank you Aditya. The main.tex file is meant to be reusable for different document styles. By removing \completecontent altogether from the main template, it would preclude a different document from reusing the main.tex template with a table of contents

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-07 Thread Thangalin
Thank you Aditya. The main.tex file is meant to be reusable for different document styles. By removing \completecontent altogether from the main template, it would preclude a different document from reusing the main.tex template with a table of contents. I'd like the template to be "reu

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-07 Thread Aditya Mahajan
from a reusable document template. I would have preferred using setups, rather than redefining the \completecontent macro, but didn't see an obvious way to do so. Why not simply omit \compltecontent from the pandoc template? Aditya

[NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-06 Thread Thangalin
have preferred using setups, rather than redefining the \completecontent macro, but didn't see an obvious way to do so. Thoughts? ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] section to have different conversion in body part and appendices

2019-05-22 Thread Procházka Lukáš Ing .
Hello, that's it - thanks! The following code seems to be even more minimal & working: \definestructureconversionset[appendix:sectionnumbers][,,A,] \setupheads[sectionconversionset=sectionnumbers] \starttext \completecontent \startbodymatter \part{Part} \chapter{

Re: [NTG-context] Manipulating the pagenumber in the TOC

2019-04-21 Thread Wolfgang Schuster
scape] \setupuserpagenumber[numberconversion=dwarsligger] \setuppagenumbering[location=none] \setupheadertexts [\doifoddpageelse{}{\prefixedpagenumber}] \setupfootertexts [\doifoddpageelse{\prefixedpagenumber}{}] \usemodule [visual] \starttext \completecontent \dorecurse{10}   {\chapter{\fakewo

Re: [NTG-context] Omitting part number in chapter numbers

2019-02-20 Thread Wolfgang Schuster
list [part]   [number=yes,] \setuphead [chapter]   [number=yes,] \setuplist [chapter]   [number=yes,] \starttext \completecontent \startpart[title={Part1}] \startchapter[title={Chapter3}] \input knuth \stopchapter \startchapter[title={Chapter2}] \input tufte \stopchapter \stoppart \start

[NTG-context] Omitting part number in chapter numbers

2019-02-19 Thread Simon Collier
[number=yes,] \setuplist [chapter] [number=yes,] \starttext \completecontent \startpart[title={Part1}] \startchapter[title={Chapter3}] \input knuth \stopchapter \startchapter[title={Chapter2}] \input tufte \stopchapter \stoppart \startpart[title={Part2}] \startchapter[title={Chapter3}] \i

Re: [NTG-context] local ToC after each chapter title

2019-01-10 Thread Otared Kavian
le leads to a "TeX capacity exceeded" error: > > \setupcombinedlist[content][% > list={chapter,section},] > > \setuplist[chapter][ > before=, > after={\placecombinedlist[content][criterium=local]},] > > \starttext > > \completecontent > > \chapter{One} > > \

[NTG-context] local ToC after each chapter title

2019-01-10 Thread Henning Hraban Ramm
[ before=, after={\placecombinedlist[content][criterium=local]},] \starttext \completecontent \chapter{One} \section{Knuth} \input knuth \section{Tufte} \input tufte \chapter{Two} \section{Tufte 2} \input tufte \chapter{Three} \section{Zapf} \input zapf \stoptext (MkIV, version 2018.12.19 19:22)

Re: [NTG-context] Completecontent has problems with chapter, in table

2018-12-03 Thread Wolfgang Schuster
Huseyin Özoguz schrieb am 03.12.18 um 10:13: You should keep a copy of your current installation for your existing books. When you use the installation from the ConTeXt garden you can have multiple installations without problems. Thank you, so thats the way to go for us. (Sorry for my late

Re: [NTG-context] Completecontent has problems with chapter, in table

2018-12-03 Thread Huseyin Özoguz
You should keep a copy of your current installation for your existing books. When you use the installation from the ConTeXt garden you can have multiple installations without problems. Thank you, so thats the way to go for us. (Sorry for my late reply.) Where exactly should the image appear

Re: [NTG-context] Completecontent has problems with chapter in table

2018-11-24 Thread Wolfgang Schuster
Huseyin Özoguz schrieb am 23.11.18 um 09:13: Hi Wolfgang, thank you. I work currently with version 2015.04.15 01:44 Can I safely update without any major changes, so all my projects (hundrets of books, working in a publishing house) can be compiled as usual? Maybe my issue of the chapter in

Re: [NTG-context] Completecontent has problems with chapter, in table

2018-11-23 Thread Huseyin Özoguz
How can I adjust the vertical position of the actual title relative to the image? I have this: \define[2]\uber{% \setuphead[chapter][before={},alternative=middle, numbercommand={\externalfigure[historische_spuren/wappen/#1.jpg][height=2cm]}] \chapter{#2} } But the title is now below the

Re: [NTG-context] Completecontent has problems with chapter in table

2018-11-23 Thread Huseyin Özoguz
work. But btw (@Wolfgang), I updated to the newst beta, and still this min-example does not compile correctly: \starttext \completecontent[criterium=all] \chapter{crags} {\bTABLE \bTR\bTD \chapter{whatevers} \eTD \eTR \eTABLE} \chapter{goaxasoff} \completecontent[criterium=previous

Re: [NTG-context] Completecontent has problems with chapter in table

2018-11-23 Thread Verlag Eslamica
work. But btw (@Wolfgang), I updated to the newst beta, and still this min-example does not compile correctly: \starttext \completecontent[criterium=all] \chapter{crags} {\bTABLE \bTR\bTD \chapter{whatevers} \eTD \eTR \eTABLE} \chapter{goaxasoff} \completecontent[criterium=previous

Re: [NTG-context] Completecontent has problems with chapter in table

2018-11-23 Thread Procházka Lukáš Ing .
the framedtext environment which doesn’t lead to a wrong chapter number. Wolfgang Huseyin Özoguz schrieb am 22.11.18 um 14:37: Hello together, I have this min-example: \starttext \completecontent[criterium=all] \chapter{craigs} {\bTABLE \bTR\bTD \chapter{whatever} \eTD \eTR \eTABLE} \chapter{gooff

Re: [NTG-context] Completecontent has problems with chapter in table

2018-11-23 Thread Huseyin Özoguz
environment which doesn’t lead to a wrong chapter number. Wolfgang Huseyin Özoguz schrieb am 22.11.18 um 14:37: Hello together, I have this min-example: \starttext \completecontent[criterium=all] \chapter{craigs} {\bTABLE \bTR\bTD \chapter{whatever} \eTD \eTR \eTABLE} \chapter{gooff

Re: [NTG-context] Completecontent has problems with chapter in table

2018-11-22 Thread Wolfgang Schuster
environment which doesn’t lead to a wrong chapter number. Wolfgang Huseyin Özoguz schrieb am 22.11.18 um 14:37: Hello together, I have this min-example: \starttext \completecontent[criterium=all] \chapter{craigs} {\bTABLE \bTR\bTD \chapter{whatever} \eTD \eTR \eTABLE} \chapter{gooff

[NTG-context] Completecontent has problems with chapter in table

2018-11-22 Thread Huseyin Özoguz
Hello together, I have this min-example: \starttext \completecontent[criterium=all] \chapter{craigs} {\bTABLE \bTR\bTD \chapter{whatever} \eTD \eTR \eTABLE} \chapter{gooff} \completecontent[criterium=previous] \stoptext As you see, the \completecontent[criterium=previous] works fine

Re: [NTG-context] Table of contents setup

2018-08-30 Thread Wolfgang Schuster
command. \setuplist   [chapter,section,subsection]   [alternative=c] \setuplist   [chapter]   [textstyle=\tfa] \setuplist   [subsection]   [textstyle=\tfx] \definefiller   [willi]   [method=global,    width=1em] \setuplistalternative   [c]   [filler=willi] \starttext \completecontent

[NTG-context] unwanted page break in contents

2018-08-26 Thread Jeong Dal
}] \setuplist[section][width=10mm, style=,textcommand={\ss }] \showframe \startfrontmatter \completecontent \page[empty] \stopfrontmatter \startbodymatter \dorecurse{9} {\chapter{Ch \recurselevel} \dorecurse{8} {\section{Section \recurselevel}} } \stopbodymatter

Re: [NTG-context] title of index

2018-07-19 Thread Hans van der Meer
Try \placeindex or \placeregister[index] and your own section heading. This > is analagous to \completecontent and \placecontent. dr. Hans van der Meer ___ If your question is of interest to others as well,

Re: [NTG-context] title of index

2018-07-19 Thread Rik Kabel
Wiki. dr. Hans van der Meer Try \placeindex or \placeregister[index] and your own section heading. This is analagous to \completecontent and \placecontent. ___ If your question is of interest to others as well, please

[NTG-context] links don’t work with focus=standard

2018-04-15 Thread Pablo Rodriguez
Hans, I’m afraid that links with "focus=standard" are broken after beta from 2018.04.13 14:53. \setupinteraction[state=start, focus=standard] \starttext \completecontent \chapter{Chapter} a\footnote{footnote} \stoptext I think that all links that worked f

[NTG-context] tex error Argument of \titlecmd has an extra }

2018-03-06 Thread ????????
l] \startstandardmakeup \midaligned{\CruxFramed{\ssd OpenStack}} \vfil \stopstandardmakeup \stopBG \startfrontmatter \setuplayout[reset] \setuppagenumbering[conversion=romannumerals] \setuppagenumber[number=1] \completecontent %\completelistoffigures %\completelistof

Re: [NTG-context] How to control the placement of a button

2018-01-26 Thread Hans Hagen
[right] \startbut[content]$\leftarrow$ \stopbut % this button is too high on the page \vfill \startbut[index] $\rightarrow$ \stopbut % this button should be a little bit lower \stopinteractionmenu \starttext \completecontent \showframe \dorecurse{4} {\chapter

[NTG-context] How to control the placement of a button

2018-01-25 Thread Otared Kavian
$ \stopbut % this button is too high on the page \vfill \startbut[index] $\rightarrow$ \stopbut % this button should be a little bit lower \stopinteractionmenu \starttext \completecontent \showframe \dorecurse{4} {\chapter{Chapter #1}\index{chapter #1} \input knuth \index

Re: [NTG-context] \setuplist with numbercommand renders wrongly

2017-12-11 Thread Henri
If you want to format the TOC line you have to use command=... together with alternative=command. \define[3]\ChapterNumber{\line{Chapter #1: #2\hfill#3}} \setuplist   [section]   [alternative=command,    command=\ChapterNumber] \starttext \completecontent \startsection[title={blabla

[NTG-context] \setuplist with numbercommand renders wrongly

2017-12-10 Thread SteamedFish
]\ChapterNumber{chapter #1:\space\space\space\space\space\space #2} \setuplist[section][numbercommand=\ChapterNumber] \starttext \completecontent \section{blabla} blabla \section{blabla} blabla \section{blabla} blabla \stoptext I use ConTeXt standalone with Mac OS X mtx-context | ConTeXt Process

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

2017-12-06 Thread Wolfgang Schuster
blue \userpagenumber } \hfill } \17>>1 #1,->\syst_setups {#1} \syst_helpers_do_process_comma_item \syst_helpers_do_process_comma_list ...rgument #1, ]\relax \global \advance \... \ignor

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

2017-12-06 Thread Wim Neimeijer
hfill } \17>>1 #1,->\syst_setups {#1} \syst_helpers_do_process_comma_item \syst_helpers_do_process_comma_list ...rgument #1, ]\relax \global \advance \... \ignorecrlf \setups {texta} {}{}{} \secondoftwo

Re: [NTG-context] Is this a bug in header marking?

2017-10-17 Thread Rik
    \doifelsebuffer{SectionEpigraph}     {\getbuffer[SectionEpigraph] \resetbuffer[SectionEpigraph]}     {\donothing}     \page[yes,header,footer,right] \stopsetups \starttext     \completecontent     \startfrontmatter     \startchapter[title

Re: [NTG-context] Remove header after ToC

2017-10-17 Thread N. Raghavendra
At 2017-10-17T16:58:22+02:00, Tomas Hala wrote: > Add the following \if command: > > \startfrontmatter > \completecontent > \ifodd\pageno\page[empty]\else\setupheadertexts[chapter][pagenumber]\fi > \stopfrontmatter Thanks, that should work. However, searching through set

Re: [NTG-context] Remove header after ToC

2017-10-17 Thread Tomas Hala
Add the following \if command: \startfrontmatter \completecontent \ifodd\pageno\page[empty]\else\setupheadertexts[chapter][pagenumber]\fi \stopfrontmatter Best wishes, Tomas Tue, Oct 17, 2017 ve 07:17:34PM +0530 N. Raghavendra napsal(a): # At 2017-10-17T12:34:06+02:00, Tomas Hala

Re: [NTG-context] Remove header after ToC

2017-10-17 Thread N. Raghavendra
ToC. I think what is required is a command \foo which implements the following pseudocode: if the current page is even numbered ; then \page [empty] else do nothing endif Then, I can use \startfrontmatter \completecontent \foo \

Re: [NTG-context] Remove header after ToC

2017-10-17 Thread Tomas Hala
=empty ] \startfrontmatter \completecontent \page[empty] \stopfrontmatter \startbodymatter \startchapter [title=A chapter] ... %% Tue, Oct 17, 2017 ve 03:37:21PM +0530 N. Raghavendra napsal(a): # Any help is appreciated! Do let me know if some more information is # needed

Re: [NTG-context] Remove header after ToC

2017-10-17 Thread N. Raghavendra
> \setupheadertexts > [{\getmarking[section]}] > [\pagenumber] > [\pagenumber] > [{Chapter \getmarking[chapternumber].\ \getmarking[chapter]}] > > \setuphead > [chapter] > [page={yes,header,footer,right}, >header=empty] > > \startfrontmatter >

[NTG-context] Is this a bug in header marking?

2017-10-15 Thread Rik Kabel
    \completecontent     \startfrontmatter     \startchapter[title=Preface]     \startparagraph     \input ward     \stopparagraph     \stopchapter     \stopfrontmatter     \startbodymatter     \startchapter[title=Chapter First

Re: [NTG-context] Suppress chapter title marking on blank page after chapter

2017-10-14 Thread Rik Kabel
be ignored. But checking the source for /completecontent/ provides no useful information. Indeed, when I use /title/ instead of /chapter/, as done in strc-lis.mkvi, page 2 gets the marking as well! Actually, \completecontent uses \title, not \chapter. Just in case it might help, Pablo

Re: [NTG-context] Suppress chapter title marking on blank page after chapter

2017-10-14 Thread Pablo Rodriguez
tle) in headers. > But checking the source for /completecontent/ provides no useful > information. Indeed, when I use /title/ instead of /chapter/, as done > in strc-lis.mkvi, page 2 gets the marking as well! Actually, \completecontent uses \title, not \chapter. Just in case it mig

[NTG-context] Suppress chapter title marking on blank page after chapter

2017-10-14 Thread Rik Kabel
chapter does not exhibit this problem (page 2). But checking the source for /completecontent/ provides no useful information. Indeed, when I use /title/ instead of /chapter/, as done in strc-lis.mkvi, page 2 gets the marking as well! \setuppagenumbering [alternative=doublesided,location

[NTG-context] Problem with WinEdt

2017-09-19 Thread Ursula Hermann
File \NC \structureuservariable{file} \NC\NR \stoptabulate \stopframed} \setuphead[chapter][command=\ChapterHeadCommand] \starttext \completecontent \startchapter[title=Knuth example][file=knuth.tex] \input knuth \stopchapter \startchapter[title=Zapf example][file

Re: [NTG-context] sectionconversionset not working for table of contents

2017-09-18 Thread Pablo Rodriguez
onversionset [sectionnumbers] [I,N,KR,a,m] [N] \definestructureconversionset [appendix:sectionnumbers] [O,A,R,r,KA] [R] \setupheads[sectionconversionset=sectionnumbers] \starttext \startfrontmatter \completecontent \sto

[NTG-context] context sensitive highlight styles

2017-08-16 Thread Henning Hraban Ramm
=yes,style={\ss\bfc}] \setuphead[section][page=no,style={\ss\bfa}] \definehighlight[emph][style=\it] \starttext \completecontent \startchapter[title={My book \emph{\ConTeXt\ for Runaways}}] \startsection[title={Knuth, \emph{the professor}}] \input knuth \stopsection \stopchapter \stoptext

Re: [NTG-context] Couple of questions

2017-07-28 Thread Gerion Entrup
> \setuphead[chapter][command=\MyChapter, style={\switchtobodyfont[24pt,ss]}, > > header=empty, page=mychapterpagebreak] > > \setupheadtext[chapter=Chapter, content=Table of Contents] > > > > \starttext > > \completecontent > > \page[yes] > >

Re: [NTG-context] Couple of questions

2017-07-28 Thread Pablo Rodriguez
\setupheadtext[chapter=Chapter, content=Table of Contents] > > \starttext > \completecontent > \page[yes] > > \startchapter[title=foo] > > \stoptext > ``` > How can I prevent the printing of "Chapter" in the table of contents and > bibliography? Hi Gerion,

[NTG-context] Couple of questions

2017-07-27 Thread Gerion Entrup
[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 \page[yes

Re: [NTG-context] LineSpacing Issue in Arabic Fonts

2017-02-20 Thread Ibn Saeed
> > > \setuphead[chapter][ > > header=empty, > > alternative=middle, > > page=right, > > grid=max, > > number=no, > > numbercommand=\groupedcommand{}{\blank[2*big]}, > > after={\blank[2*medium]}, > > ] > > > > > > > > > > \st

Re: [NTG-context] LineSpacing Issue in Arabic Fonts

2017-02-19 Thread Otared Kavian
lesided=no, > headerstate=none] > > \startalignment[middle] > \blank[11*small] > {\switchtobodyfont[62pt] فتح القوي المتين}\par > \blank[7*small] > {\switchtobodyfont[24pt] في شرح الأربعين وتتمَّة الخمسين}\par > {\switchtobodyfont[18pt] النووي وابن رجب} > \vfill > &

[NTG-context] LineSpacing Issue in Arabic Fonts

2017-02-19 Thread Ibn Saeed
*small] {\switchtobodyfont[24pt] في شرح الأربعين وتتمَّة الخمسين}\par {\switchtobodyfont[18pt] النووي وابن رجب} \vfill {\TextSmall تأليف}\par {\TextSmall عبد المحسن بن حمد العباد البدر} \stopalignment \stopstandardmakeup \completecontent \stopfrontmatter \startbodymatter

[NTG-context] interlinespace for \setuplist

2016-12-06 Thread Pablo Rodriguez
\setuplist[section][style=\scb, setups=interlinesp:section] \setuplist[subsection] [style=\itx, alternative=d, pagenumber=no, headnumber=no, setups=interlinesp:subsection] \starttext \completecontent \section{Zweites Hauptstück. Von der Deduction der reinen

[NTG-context] interline space for \setuplist[alternative=d]

2016-11-02 Thread Pablo Rodriguez
, setups=lsect] \starttext \completecontent \dorecurse{5}{\chapter{Knuth}\input knuth \dorecurse{8}{\section{Zapf}\input zapf}} \stoptext I cannot set the interline space for \setuplist[section]. Wolfgang kindly provided me with a workaround: \setuppapersize[A6

Re: [NTG-context] Wrong bookmark for TOC

2016-09-04 Thread Henri Menke
Cheers, Henri >> \setupinteraction[state=start] >> \placebookmarks[chapter,title][force=yes] >> \starttext >> \completecontent >> \stoptext > Wolfgang > > > ___ > If your que

Re: [NTG-context] Wrong numeration of titles

2016-07-24 Thread Hans Hagen
,section,subsection] \setuphead [section] [placehead=hidden] \setuphead [subsection] [placehead=yes] \starttext \completecontent \dorecurse{10}{\expanded{ \chapter{Chapter} \dorecurse{3}{\expanded{ \section{Section} \dorecurse{3}{\expanded{ \subsection{Subsection} }} \stoptext use \setuphead

[NTG-context] Wrong numeration of titles

2016-07-24 Thread Marcus Vinicius Mesquita
] \setuphead [subsection] [placehead=yes] \starttext \completecontent \dorecurse{10}{\expanded{ \chapter{Chapter} \dorecurse{3}{\expanded{ \section{Section} \dorecurse{3}{\expanded{ \subsection{Subsection} }} \stoptext MWE.tex Description: TeX document MWE.pdf Description: Adobe PDF document

Re: [NTG-context] TOC in bookmarks

2016-07-11 Thread Wolfgang Schuster
shows 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
in the bookmarks using > mkiv? > > > \setupinteraction[state=start] > > \placebookmarks[title,chapter][force=yes] > > \starttext > > % Variant 1, shows the text which is set with > \setupheadtext[][content=...] > \completecontent > > % Variant 2, you can se

Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers

2016-07-01 Thread Ursula Hermann
\stoptext \definestructureconversionset [frontpart:pagenumber] [5] [numbers] \setupmakeup [standard] [pagestate=start, style=bigbodyfont, align=middle] \starttext \startfrontmatter \completecontent \stopfrontmatter \startbodymatter \startchapter [title=First chapter] \s

[NTG-context] listalternative and filler throws error

2016-05-05 Thread Marco Patzer
]}] \starttext \completecontent \chapter{Foo} \stoptext Has the interface changed in the mean time or is it a bug? Marco ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] issue with bookmark for sections

2016-04-21 Thread Pablo Rodriguez
, pagenumber=no, style=\itxx] \par \stop \stopsetups \setuplist [chapter] [after=\directsetup{placelist:section}] \starttext \completecontent \dorecurse{5}{\chapter{Chapter \Romannumerals{\recurselevel}} \dorecurse{10}{\section{Section}\input zapf\par

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
> >>> bbb bar buch bühne section3 >>> >>> What am I doing in the wrong way? >> \setuplist[chapter][pagestyle={\feature[=][tabularnumbers]}] >> >> \definefontfeature[default][default][onum=yes] >> >> \setupbodyfont[pagella] >> >> \starttext

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Willi Egger
>> What am I doing in the wrong way? > \setuplist[chapter][pagestyle={\feature[=][tabularnumbers]}] > > \definefontfeature[default][default][onum=yes] > > \setupbodyfont[pagella] > > \starttext > > \setcounter[userpage][100] > > \completecontent >

Re: [NTG-context] adding font feature tnum in the TOC

2016-03-29 Thread Wolfgang Schuster
hapter][pagestyle={\feature[=][tabularnumbers]}] \definefontfeature[default][default][onum=yes] \setupbodyfont[pagella] \starttext \setcounter[userpage][100] \completecontent \dorecurse{20}{\expanded{\chapter{Chapter \recurselevel}}} \st

Re: [NTG-context] Table of Contents

2016-03-10 Thread Pablo Rodriguez
owing advice from Pablo I’ve swapped over to generating XHTML and > using the XML mapping ability to generate ConTeXt and the PDF. Using > this route the TOC looks the same but it’s no longer there in the > outline panel. > > What do I need in addition to > \completecontent >

[NTG-context] Table of Contents

2016-03-10 Thread Aidan Nichol
to generate ConTeXt and the PDF. Using this route the TOC looks the same but it’s no longer there in the outline panel. What do I need in addition to \completecontent to get this feature to work? Aidan ___ If your

Re: [NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-22 Thread Hans Hagen
=bytext, location=text] \starttext \completecontent \chapter{Main issue} Simple steps to reproduce the issue with notes: \startitemize[n] \item Open the file and keep browsing it fit to width. \item Click on link for note 24 (on next page). \item Change view

[NTG-context] two issues with interactive hyperlinks (please comment)

2016-02-21 Thread Pablo Rodriguez
\completecontent \chapter{Main issue} Simple steps to reproduce the issue with notes: \startitemize[n] \item Open the file and keep browsing it fit to width. \item Click on link for note 24 (on next page). \item Change view to fit to width. \item Search for note 24 in footnotes

Re: [NTG-context] bug with numbering in bookmarks?

2016-02-11 Thread Jan U. Hasecke
ndard] > > \enabledirectives > [references.border] > > \placebookmarks > [part,chapter] > [part,chapter] > \definestructureconversionset[sectionnumbers] > [0,a][n] > \setupheads[sectionconversionset=sectionnumbers] > \star

Re: [NTG-context] bug with numbering in bookmarks?

2016-02-11 Thread Hans Hagen
] \placebookmarks [part,chapter] [part,chapter] \definestructureconversionset[sectionnumbers] [0,a][n] \setupheads[sectionconversionset=sectionnumbers] \starttext \completecontent \dorecurse{35}{\chapter{Chapter \recurselevel}} \stoptext

[NTG-context] bug with numbering in bookmarks?

2016-02-11 Thread Pablo Rodriguez
,chapter] \definestructureconversionset[sectionnumbers] [0,a][n] \setupheads[sectionconversionset=sectionnumbers] \starttext \completecontent \dorecurse{35}{\chapter{Chapter \recurselevel}} \stoptext Chapter ñ (number 15) is fine in both the text title and the table

Re: [NTG-context] tex error in curent beta

2015-10-26 Thread Wolfgang Schuster
in=2cm, numbercommand=\ChapterListNumbercommand] \starttext \startfrontmatter \completecontent \chapter{Preface} \stopfrontmatter \startbodymatter \chapter{Introduction} \chapter{Workflow} \chapter{Input} \chapter{Output} \stopbodymatter \startbackmatter \chapter{Index} \stopback

Re: [NTG-context] tex error in curent beta

2015-10-26 Thread Jan Tosovsky
}} > > \setuplist > [chapter] > [distance=0cm, >width=0cm, >margin=2cm, >numbercommand=\ChapterListNumbercommand] > > \starttext > > \startfrontmatter > \completecontent > \chapter{Preface} > \stopfrontmatter > > \startbodymatter &g

[NTG-context] table of contents

2015-09-28 Thread Meer, Hans van der
I would like to restrict the tableofcontents to chapters only, leaving the sections etc. out. \completecontent does not seem the right command here. I am sure it is simple, but I don't see it. How to accomplish? Hans van der Meer

Re: [NTG-context] table of contents

2015-09-28 Thread Wolfgang Schuster
Meer, Hans van der <mailto:h.vanderm...@uva.nl> 28. September 2015 um 14:27 I would like to restrict the tableofcontents to chapters only, leaving the sections etc. out. \completecontent does not seem the right command here. I am sure it is simple, but I don't see it. How to accomplish?

Re: [NTG-context] \writebetweenllst not working for frontmatter material?

2015-08-24 Thread Wolfgang Schuster
. \starttext \startfrontmatter \completecontent \chapter{Frontpart} \writebetweenlist[chapter][location=here]{\thinrule} \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \stoptext Wolfgang

Re: [NTG-context] \writebetweenllst not working for frontmatter material?

2015-08-24 Thread robheus
), when this doesn’t help send a minimal example. \starttext \startfrontmatter \completecontent \chapter{Frontpart} \writebetweenlist[chapter][location=here]{\thinrule} \stopfrontmatter \startbodymatter \chapter{Bodypart} \stopbodymatter \stoptext Wolfgang

Re: [NTG-context] Register customization for backmatter page numbers

2015-08-01 Thread Pablo Rodriguez
] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setuppagenumber[number=1] \stopsectionblockenvironment \starttext \completecontent \startbodymatter \dorecurse{5}{\chapter{Chapter}\recurselevel\index{bar

[NTG-context] Solved, was Re: Register customization for backmatter page numbers

2015-08-01 Thread Rik Kabel
] \startsectionblockenvironment[bodypart] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setuppagenumber[number=1] \stopsectionblockenvironment \starttext \completecontent \startbodymatter \dorecurse{5

Re: [NTG-context] Solved, was Re: Register customization for backmatter page numbers

2015-08-01 Thread Rik Kabel
, prefix=yes, prefixset=chapter] \startsectionblockenvironment[bodypart] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setuppagenumber[number=1] \stopsectionblockenvironment \starttext \completecontent

Re: [NTG-context] links for notes

2015-07-29 Thread Hans Hagen
the same kind of interactive links as the rest of the links in the PDF document. Here is the minial sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \dorecurse{10}{\chapter{Chapter 1} a\footnote{b}} \stoptext Could this be implemented

Re: [NTG-context] links for notes

2015-07-29 Thread Pablo Rodriguez
On 07/29/2015 01:17 PM, Hans Hagen wrote: [...] you have to be more explicit Sorry for the cryptic message, Hans. Yesterday I was in a hurry. This sample shows the issue: \setupinteraction[state=start, focus=standard] \starttext \completecontent \dorecurse{10}{\chapter

[NTG-context] links for notes

2015-07-28 Thread Pablo Rodriguez
of the links in the PDF document. Here is the minial sample: \setupinteraction[state=start, focus=standard] \starttext \completecontent \dorecurse{10}{\chapter{Chapter 1} a\footnote{b}} \stoptext Could this be implemented? Otherwise, interactive notes will be problematic

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

2015-07-24 Thread Hans Hagen
On 7/6/2015 9:10 PM, Pablo Rodriguez wrote: On 07/06/2015 05:56 PM, Hans Hagen wrote: [...] \setupinteraction[state=start] \placebookmarks[chapter,hiddentitle] \definehead[hiddentitle][chapter] \setuphead[hiddentitle][incrementnumber=list] \starttext \completecontent \hiddentitle

<    1   2   3   4   5   6   7   8   9   >