Re: [NTG-context] markings and syncing

2015-10-22 Thread Wolfgang Schuster
Thomas A. Schmitz <mailto:thomas.schm...@uni-bonn.de> 22. Oktober 2015 um 13:51 Hi, I'm trying to set up a header: if a page contains only one marking, it should display this, if it has more than one, display the first and last. Here's what I tried, unsuccessfully: \definemarking

Re: [NTG-context] Set PDF TrimBox

2015-08-21 Thread Hans Hagen
(from \setuppapersize), TrimBox is the same as CropBox. If there’s a second paper size (like from \setuppapersize[A4][B4]), TrimBox is the first. At least if there’s marking=on|color|... in \setuplayout, please also set BleedBox, even if we can’t influence the bleed value. Would be nice

[NTG-context] Set PDF TrimBox

2015-08-15 Thread Henning Hraban Ramm
as CropBox. If there’s a second paper size (like from \setuppapersize[A4][B4]), TrimBox is the first. At least if there’s marking=on|color|... in \setuplayout, please also set BleedBox, even if we can’t influence the bleed value. Would be nice if there would be an option to let CropBox be the same

Re: [NTG-context] Accessibility and Tagged PDFs: Bugs and Feature Requests

2015-06-30 Thread Alan BRASLAU
the syntax could be: \externalfigure [cow] [width=10cm,marking={This image shows a beautiful cow}] (conforming to ConTeXt style) Alan ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] how to set PDF TrimBox ?

2015-05-20 Thread Harald Koenig
Hi, how can I set the /TrimBox values in PDF ? right now I use \setuppapersize[A4][B4] with \setuplayout[marking=color,...] and the print shop asks to set the /TrimBox to A4 (which right now is set to B4 paper format). obviously I can change that with pdftk/qpdf/sed

Re: [NTG-context] Bleeding pictures as floats?

2015-05-05 Thread Henning Hraban Ramm
a working minimal example. \definepapersize[a6][width=105mm,height=148mm] \definepapersize[a6o][width=115mm,height=158mm] \setuppapersize[a6][a6o] \setuplayout[ location=middle,marking=on, grid=yes, backspace=12.5mm, width=80mm, topspace=12.5mm, header=0mm

[NTG-context] Some Lua Code solved

2015-01-26 Thread Eric Gerard
,ss] \setupcolor [xwi] \setuppapersize [normal][A4] \setuppapersize [upsidedown][A4] \setuplayout [backspace=16mm, leftmargin=15mm, leftmargindistance=1mm, topspace=10mm, header=0mm, footer=0mm, height=200mm, rightmargin=0mm, width=131mm, location=middle, marking

Re: [NTG-context] Problem with luacode

2015-01-22 Thread Hans Hagen
=1mm,topspace=10mm,header=0mm,footer=0mm,height=200mm,rightmargin=0mm,width=131mm,location=middle,marking=on] \setuppapersize[normal][A4] \definelayer[OngletGauche][x=0mm, y=0mm, width=\paperwidth, height=\paperheight] \setupTABLE[r][1][color=dodgerblue,align={middle,lohi},height=1cm,style

[NTG-context] Problem with luacode

2015-01-20 Thread Eric Gerard
,height=200mm,rightmargin=0mm,width=131mm,location=middle,marking=on] \setuppapersize[normal][A4] \definelayer[OngletGauche][x=0mm, y=0mm, width=\paperwidth, height=\paperheight] \setupTABLE[r][1][color=dodgerblue,align={middle,lohi},height=1cm,style={\sansserif \bfx},framecolor=black

Re: [NTG-context] State of documentation of ConTeXt?

2014-07-15 Thread Yuri Teixeira
with collaboration/feedback, core people should do it. It is important that reviewing and check marking the new edits be done by some authoritative group, so that the community knows what to trust, what should work as documented so that we can report real issues. It is important to label the information

Re: [NTG-context] State of documentation of ConTeXt?

2014-07-15 Thread Hans Hagen
that we know what blanks to fill. And even with collaboration/feedback, core people should do it. It is important that reviewing and check marking the new edits be done by some authoritative group, so that the community knows what to trust, what should work as documented so that we can report real

[NTG-context] dx=1cm with imposition: how to disable right most dx?

2014-06-01 Thread Xan
[location=middle,marking=on,nx=2,ny=4,dy=1cm,dx=1cm] When I run context, the dx distance is added to the right of the rightest page of type carnet. So I have an extra right dx distance that it annyoes me becase in double printing pages, the side above and the side below don't match. How can I

Re: [NTG-context] dx=1cm with imposition: how to disable right most dx?

2014-06-01 Thread Hans Hagen
] \setuplayout[page] \setuplayout[location=middle,marking=on,nx=2,ny=4,dy=1cm,dx=1cm] When I run context, the dx distance is added to the right of the rightest page of type carnet. So I have an extra right dx distance that it annyoes me becase in double printing pages, the side above and the side

Re: [NTG-context] dx=1cm with imposition: how to disable right most dx?

2014-06-01 Thread Xan
[carnet][A4] \setuppaper [] \setuplayout[page] [topspace=0.02cm, backspace=0.02cm, header=0.02cm,margin=0.02cm,width=middle,footer=0.02cm,height=fit] \setuplayout[page] \setuplayout[location=middle,marking=on,nx=2,ny=4,dy=1cm,dx=1cm] When I run context, the dx

Re: [NTG-context] basic question on imposition

2014-05-16 Thread Pablo Rodriguez
, footer=0pt, grid=no, marking=off] \starttext \insertpages[document.pdf][width=0pt] \stoptext It works perfectly, but I would like to achieve the same effect, only imposing 4 pages on each side of the paper (8 pages per sheet). Replacing the first two lines

[NTG-context] basic question on imposition

2014-05-14 Thread Pablo Rodriguez
=middle, height=middle, location=middle, header=0pt, footer=0pt, grid=no, marking=off] \starttext \insertpages[document.pdf][width=0pt] \stoptext It works perfectly, but I would like to achieve the same effect, only imposing 4 pages on each

Re: [NTG-context] basic question on imposition

2014-05-14 Thread Willi Egger
, header=0pt, footer=0pt, grid=no, marking=off] \starttext \insertpages[document.pdf][width=0pt] \stoptext It works perfectly, but I would like to achieve the same effect, only imposing 4 pages on each side of the paper (8 pages per sheet). Replacing the first

[NTG-context] Markings do not appear inside section block environments

2014-04-25 Thread Maggyero
\startbodymatter \marking[M]{Cool} Hello world! \stopbodymatter marks become nodes and these are bound to lines Thank you Hans. ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Markings do not appear inside section block environments

2014-04-24 Thread Hans Hagen
On 4/23/2014 5:50 PM, Maggyero wrote: Is there a solution? \definemarking[M] \marking[M]{Cool} \setupheadertexts[{Marking: \getmarking[M]}][{Marking: \getmarking[M]}] \starttext \startbodymatter Hello world! \stopbodymatter \stoptext \startbodymatter \marking[M]{Cool} Hello world

[NTG-context] Markings do not appear inside section block environments

2014-04-23 Thread Maggyero
Is there a solution? \definemarking[M] \marking[M]{Cool} \setupheadertexts[{Marking: \getmarking[M]}][{Marking: \getmarking[M]}] \starttext \startbodymatter Hello world! \stopbodymatter \stoptext ___ If your

[NTG-context] Markings do not appear inside section block environments

2014-04-21 Thread Maggyero
Hello, The following lines do display the markings: \definemarking[M] \marking[M]{Cool} \setupheadertexts[{Marking: \getmarking[M]}][{Marking: \getmarking[M]}] \starttext Hello world! \stoptext but if I use a section block environment they do not: \definemarking[M] \marking[M]{Cool

Re: [NTG-context] Multiple bibliographies (bib-module, mkiv)

2014-04-07 Thread Robert Blackstone
flexibility. You can then generate the sectioned bibliography with: ++ \input(Your setups, including those for your Bibliography setup) \starttext \startchapter[bookmark=,label=,list=,marking=,reference=Bibliography,title={Bibliography} \section{Primary sources

Re: [NTG-context] Multiple bibliographies (bib-module, mkiv)

2014-04-07 Thread Peng Zhang
bibliography with: ++ \input(Your setups, including those for your Bibliography setup) \starttext \startchapter[bookmark=,label=,list=,marking=,reference=Bibliography,title={Bibliography} \section{Primary sources} \input ps.bbl \input ps-nocite.tex \placepublications

[NTG-context] mirrored leftmarginwidth in enumerations

2014-03-30 Thread Sanjoy Mahajan
the leftmarginwidth, as appropriate for an odd or an even page? Here is the example: \setuplayout[marking=on,location=middle, backspace=1.25in, leftmargindistance=0.125in, leftmargin=0.625in, width=4.75in, rightmargindistance=0.25in, rightmargin=0.25in, ] \setuppagenumbering[alternative

Re: [NTG-context] mirrored leftmarginwidth in enumerations

2014-03-30 Thread Wolfgang Schuster
? Or is my hack okay, but ConTeXt should be updated to interpret leftmarginwidth to mean the leftmarginwidth, as appropriate for an odd or an even page? Here is the example: \setuplayout[marking=on,location=middle, backspace=1.25in, leftmargindistance=0.125in, leftmargin=0.625in, width

[NTG-context] confusion about expansion

2014-03-12 Thread Lars Huttar
it to happen only once, when \CurrentUser is defined. Here is my complete working example: \def\CurrentUser{\cldcontext{os.resultofwhoami}} \def\Markname { Compiled \date by \CurrentUser \LUATEX +\ConTeXt\ \contextversion. } \setuplayout[location=middle,marking=on] \definelayer[cropmark][state

Re: [NTG-context] confusion about expansion

2014-03-12 Thread Wolfgang Schuster
{\CurrentUser} \LUATEX +\ConTeXt\ \contextversion.} \setuplayout[location=middle,marking=on] \definelayer[cropmark][state=repeat,width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=cropmark] \setlayer[cropmark][preset=lefttop,x=3cm,y=1.5\lineheight]{\Markname} \starttext Foo

Re: [NTG-context] confusion about expansion

2014-03-12 Thread Lars Huttar
\CurrentUser{\cldcontext{os.resultofwhoami}} \def\Markname{Compiled \date by \detokenize\expandafter{\CurrentUser} \LUATEX +\ConTeXt\ \contextversion.} \setuplayout[location=middle,marking=on] \definelayer[cropmark][state=repeat,width=\paperwidth,height=\paperheight] \setupbackgrounds[page

Re: [NTG-context] What’s wrong with \nomarking{\crlf}?

2014-03-07 Thread Henning Hraban Ramm
different texts for the heading, list entry, bookmarks and header. \startchapter [title=…, list=…, bookmark=…, marking=…] Thank you, I forgot. But usually I only need a line break in the body, but not in the ToC, so duokication is a bit redundant ;-) Grüßlinge, Hraban --- http

Re: [NTG-context] What’s wrong with \nomarking{\crlf}?

2014-03-06 Thread Wolfgang Schuster
can set different texts for the heading, list entry, bookmarks and header. \startchapter [title=…, list=…, bookmark=…, marking=…] Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] getting text outside cropmarks to work

2014-02-07 Thread Lars Huttar
? \setuppapersize[A4][A3] \setuplayout[location=middle,marking=on] \setupbodyfont[modern] \definelayer[cropmark][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=cropmark] \setlayer[cropmark][preset=middlebottom,y=-\lineheight]{Bottom Text} \setlayer[cropmark][preset

Re: [NTG-context] getting text outside cropmarks to work

2014-02-07 Thread Wolfgang Schuster
of using a layer to place a running footer outside the crop marks? \setuppapersize[A4][A3] \setuplayout[location=middle,marking=on] \setupbodyfont[modern] \definelayer[cropmark][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=cropmark] \setlayer[cropmark

Re: [NTG-context] getting text outside cropmarks to work

2014-02-06 Thread Wolfgang Schuster
\setuplayout[marking=text] %\setuplayout[marking=on] \starttext \input knuth \stoptext Code like this used to work for us in mkii. Redefining internal commands isn’t a good solution, what you can do is to use a layer to place your texts. Thanks for your reply. When you

Re: [NTG-context] getting text outside cropmarks to work

2014-02-06 Thread Lars Huttar
? \setuppapersize[A4][A3] \setuplayout[location=middle,marking=on] \setupbodyfont[modern] \definelayer[cropmark][width=\paperwidth,height=\paperheight] \setupbackgrounds[page][background=cropmark] \setlayer[cropmark][preset=middlebottom,y=-\lineheight]{Bottom Text} \setlayer[cropmark][preset

[NTG-context] getting text outside cropmarks to work

2014-02-05 Thread Lars Huttar
\pagecutmarklength {.5cm} \let\pagecutmarktoptext \TopText \let\pagecutmarkbottomtext \BottomText \setuplayout[marking=text] %\setuplayout[marking=on] \starttext \input knuth \stoptext Code like this used to work for us in mkii. I tried it with both marking=text and marking

Re: [NTG-context] getting text outside cropmarks to work

2014-02-05 Thread Wolfgang Schuster
} \def\BottomText { Bottom Text } \def\pagecutmarksymbol {\the\realpageno} \def\pagecutmarklength {.5cm} \let\pagecutmarktoptext \TopText \let\pagecutmarkbottomtext \BottomText \setuplayout[marking=text] %\setuplayout[marking=on] \starttext \input knuth \stoptext Code like

Re: [NTG-context] getting text outside cropmarks to work

2014-02-05 Thread Lars Huttar
2013 CD): \def\TopText { Top Text } \def\BottomText { Bottom Text } \def\pagecutmarksymbol {\the\realpageno} \def\pagecutmarklength {.5cm} \let\pagecutmarktoptext \TopText \let\pagecutmarkbottomtext \BottomText \setuplayout[marking=text] %\setuplayout[marking=on] \starttext

[NTG-context] \startnarrower[left, right] \completecontent[pageboundaries={0.1.1.5}] \stopnarrower

2014-01-22 Thread Rudolf Bahr
,height=80mm,width=242mm,footer=5mm,header=8mm,margin=18mm] \setuplayout [location=middle, marking=on, margindistance=3mm] \setuppagenumbering[alternative=singlesided, location={footer, margin}, style=bold, command=\midaligned] \setupheader

[NTG-context] ! Missing = inserted for \ifnum.

2014-01-01 Thread Fabrice
\setuppapersize[A4] 2 \setuplayout [backspace=0cm,width=middle, 3 topspace=1cm,height=middle, 4 location=middle,marking=on] 5 \setuppagenumbering[location=] 6 \loadtypescriptfile[mathdesign] 7 \setupbodyfont[charter] 8 \setupexternalfigures[location={local,global

Re: [NTG-context] bug: \getmarking with mixedcolumns

2013-11-26 Thread Lars Huttar
]) \stopsetups \setupheadertexts [\setups{myheader}][] [][\setups{myheader}] \def\anothersection#1% {\par \dontleavehmode \marking[country]{#1}% \start\bf #1 \endgraf\stop \quad test \par} \starttext \startmixedcolumns[distance=5mm, balance=yes

Re: [NTG-context] bug: \getmarking with mixedcolumns

2013-11-22 Thread Hans Hagen
}][] [][\setups{myheader}] \def\anothersection#1% {\par \dontleavehmode \marking[country]{#1}% \start\bf #1 \endgraf\stop \quad test \par} \starttext \startmixedcolumns[distance=5mm, balance=yes] \anothersection{Brazil} %\anothersection{Suriname

Re: [NTG-context] bug: \getmarking with mixedcolumns

2013-11-22 Thread Lars Huttar
]) \stopsetups \setupheadertexts [\setups{myheader}][] [][\setups{myheader}] \def\anothersection#1% {\par \dontleavehmode \marking[country]{#1}% \start\bf #1 \endgraf\stop \quad test \par} \starttext \startmixedcolumns[distance=5mm, balance=yes

[NTG-context] bug: \getmarking with mixedcolumns

2013-11-21 Thread Lars Huttar
[country][first] - L: \getmarking[country][last] \hfill T: \getmarking[country][top] - B: \getmarking[country][bottom] \stopsetups \setupheadertexts[\setups{myheader}][][][\setups{myheader}] \def\anothersection#1{ \marking[country]{#1} {\bfb #1 \endgraf} \dorecurse{1}{\input knuth \endgraf

Re: [NTG-context] EPUB woes

2013-11-20 Thread Keith J. Schultz
point. While XML is one approach and using XML-Styles and DocBook I could even do without ConTeXt completely. Yet, from a general user standpoint this way of marking up ebooks is tedious. XML has become the standard for storing all kinds of data. A a storage format

Re: [NTG-context] announcement and call

2013-11-15 Thread Keith J. Schultz
the layout/typesetting of the critical edition later. A package for marking up the editions directly. \defineeditionslayout[name][…] \setupeditionslayout[name][…]{…} \defineedition[name

Re: [NTG-context] Breaks in TOC

2013-10-07 Thread H. Özoguz
other title, as in the text, like it is possible for the header by the key marking). (No matter, if that makes sense, or not). Thanks. Huseyin ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Breaks in TOC

2013-10-07 Thread Wolfgang Schuster
. Or more generally: How to change the title in the TOC (maybe a complete other title, as in the text, like it is possible for the header by the key marking). (No matter, if that makes sense, or not). http://www.ntg.nl/pipermail/ntg-context/2013/072485.html Wolfgang

[NTG-context] Breaks in TOC

2013-10-01 Thread H. Özoguz
Überschrift, die auf jeden Fall irgendeine Art von Formatierung benötigt}, label={Eine sehr, sehr lange Überschrift,\\die auf jeden Fall irgendeine Art von Formatierung benötigt}, marking={Eine sehr, sehr lange Überschrift,\\die auf jeden Fall irgendeine Art von Formatierung benötigt}] \stoptext

Re: [NTG-context] Feedback wanted on a ConTeXt tutorial

2013-09-29 Thread Mari Voipio
markup. I'd say this approach is too complicated for somebody who just wants to do documents on ConTeXt (more typing, too, and we people are lazy). However, I was thinking about trashing both \bf and \it and just talking about \em for marking emphasis. I think the big manual includes information

Re: [NTG-context] Some questions about the letter module

2013-07-17 Thread Wolfgang Schuster
paper, omit, etc.) You can disable the marks with \setupletteroptions[marking=no], the position can be changed with \setupletterlayer[topmark][y=7cm] and \setupletterlayer[topmark][y=14cm]. I have consulted http://wiki.contextgarden.net/Letter but there are many things I don't understand

Re: [NTG-context] Some questions about the letter module

2013-07-17 Thread Michael Ash
-letter-size paper, omit, etc.) You can disable the marks with \setupletteroptions[marking=no], the position can be changed with \setupletterlayer[topmark][y=7cm] and \setupletterlayer[topmark][y=14cm]. I have consulted http://wiki.contextgarden.net/Letter but there are many things I don't

[NTG-context] Documenting \startchapter etc.

2013-06-20 Thread Gareth Jones
give the pages a quick look over to make sure I’m not misleading people with false information, and maybe add any parameters that I’ve missed (or don’t know the meaning of like ‘label’ and ‘marking’). Cheers, and thanks for ConTeXt – so far I like it a lot better than LaTeX or any other system I’ve

Re: [NTG-context] Documenting \startchapter etc.

2013-06-20 Thread Hans Hagen
appreciate it if someone more knowledgeable could give the pages a quick look over to make sure I’m not misleading people with false information, and maybe add any parameters that I’ve missed (or don’t know the meaning of like ‘label’ and ‘marking’). Cheers, and thanks for ConTeXt – so far I like it a lot

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-06-18 Thread Hans Hagen
=doublesided, marking=on, backspace=43mm, leftmargin=18mm, leftmargindistance=4mm, rightmargin=35mm, rightmargindistance=4mm, rightedgewidth=6mm, topspace=12mm, header=15mm, footer=15mm, height=179mm, width=115mm ] \starttext \startplacefigure[location=force, title={First dummy

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-06-17 Thread Malte Stien
[ location=doublesided, marking=on, backspace=43mm, leftmargin=18mm, leftmargindistance=4mm, rightmargin=35mm, rightmargindistance=4mm, rightedgewidth=6mm, topspace=12mm, header=15mm, footer=15mm, height=179mm, width=115mm ] \starttext \startplacefigure[location=force, title={First

[NTG-context] [***SPAM***] Re: Understanding the imposing-mechanism

2013-05-25 Thread H. Özoguz
][sheet] \setuplayout [page] [location=middle,marking=on] \setuplayout [page] \setuppaper[nx=13,ny=4] \setuparranging [XY] \starttext \showframe \dorecurse{100}{\centerbox{\definedfont[Sans sa 5]\pagenumber}\page} \stoptext Wolfgang Thanks Wolfgang, that works. Next question

Re: [NTG-context] [***SPAM***] Re: Understanding the imposing-mechanism

2013-05-25 Thread Sietse Brouwer
] \setuplayout [page] [location=middle,marking=on] \setuplayout [page] \setuppaper[nx=13,ny=4] \setuparranging [XY] \starttext \showframe \dorecurse{100}{\centerbox{\definedfont[Sans sa 5]\pagenumber}\page} \stoptext Wolfgang Thanks Wolfgang, that works. Next question

Re: [NTG-context] [***SPAM***] Re: Understanding the imposing-mechanism

2013-05-25 Thread Wolfgang Schuster
] \definepapersize [sheet] [width=660mm,height=330mm] \setuppapersize [card][sheet] \setuplayout [page] [location=middle,marking=on] \setuplayout [page] \setuppaper[nx=13,ny=4] \setuparranging [XY] \starttext \showframe \dorecurse{100}{\centerbox{\definedfont[Sans sa 5]\pagenumber}\page

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-05-24 Thread Malte Stien
caption (it's providing some explanation with respect to some labels in the figure). I have tried the following based on some other post on the mailing list: \definepapersize[eightsquare][width=8in, height=8in] \setuppapersize[eightsquare] \setuplayout[ location=doublesided, marking

[NTG-context] Understanding the imposing-mechanism

2013-05-24 Thread H. Özoguz
=middle, marking=on] \setuparranging [XY] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \setuppagenumbering[] \starttext \insertpages [eslami_karten.pdf][] \stoptext Thanks for help. Huseyin

Re: [NTG-context] Understanding the imposing-mechanism

2013-05-24 Thread Wolfgang Schuster
] \setuppaper[sheet][bigsheet] \setuppaper[nx=13, ny=4] \setuplayout[page][location=middle, marking=on] \setuparranging [XY] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \setuppagenumbering

[NTG-context] Grid typesetting: aligning section to top of textarea

2013-05-13 Thread Sietse Brouwer
\showstruts %% Example text \starttext \subject{The hoard of the gibbelins} The Gibbelins eat, as is well known, nothing less good than man. \startsubject[ title={How Nyth would have worked his art upon the gnoles}, marking=How Nuth would have worked his art, ] Despite

Re: [NTG-context] Chapter title in headertexts only

2013-05-05 Thread Piotr Kopszak
[][\setups{a}][][]\ \startsetups[a] \expanded{\fetchmark[a][first]} \stopsetups \definemarking[a] \starttext \chapter{my chapter} \marking[a]{my chapter} \input knuth \stoptext Any other ideas? \setuphead[chapter][placehead=empty] \setupheadertexts[][chapter][][] \starttext \chapter{my

Re: [NTG-context] Chapter title in headertexts only

2013-05-02 Thread Piotr Kopszak
OK, found a sufficiant solution \setuphead[chapter][placehead=no] \setupheadertexts[][\setups{a}][][]\ \startsetups[a] \expanded{\fetchmark[a][first]} \stopsetups \definemarking[a] \starttext \chapter{my chapter} \marking[a]{my chapter} \input knuth \stoptext Any other ideas? Piotr 2013/5

Re: [NTG-context] Chapter title in headertexts only

2013-05-02 Thread Wolfgang Schuster
} \marking[a]{my chapter} \input knuth \stoptext Any other ideas? \setuphead[chapter][placehead=empty] \setupheadertexts[][chapter][][] \starttext \chapter{my chapter} \input knuth \stoptext Wolfgang ___ If your

[NTG-context] Vertically Aligning inmargin Text to Figure

2013-04-29 Thread Malte Stien
[eightsquare][width=8in, height=8in] \setuppapersize[eightsquare] \setuplayout[ location=doublesided, marking=on, backspace=43mm, leftmargin=18mm, leftmargindistance=4mm, rightmargin=35mm, rightmargindistance=4mm, rightedgewidth=6mm, topspace=12mm, header=15mm, footer=15mm, height

Re: [NTG-context] Vertically Aligning inmargin Text to Figure

2013-04-29 Thread Wolfgang Schuster
on some other post on the mailing list: \definepapersize[eightsquare][width=8in, height=8in] \setuppapersize[eightsquare] \setuplayout[ location=doublesided, marking=on, backspace=43mm, leftmargin=18mm, leftmargindistance=4mm, rightmargin=35mm, rightmargindistance=4mm

[NTG-context] codefolding with Kate or Kwrite

2013-04-28 Thread Jan Heinen
... marking all the code and let kwrite/kate do the job to indent. Regards Janis ___ 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

[NTG-context] [***SPAM***] Underlay a text with color

2013-04-18 Thread H. Özoguz
Marco Thanks Marco, but I was not precise enough: I want this underlied gray in the header for the chapter-marking. The direct attempt below fails: \definetextbackground [marker] [background=color, backgroundcolor=gray, frame=off] \setupheadertexts[][ {\marker{\getmarking[section

Re: [NTG-context] [***SPAM***] Underlay a text with color

2013-04-18 Thread Marco Patzer
On 2013–04–18 H. Özoguz wrote: Thanks Marco, but I was not precise enough: I want this underlied gray in the header for the chapter-marking. The direct attempt below fails: \definetextbackground [marker] [background=color, backgroundcolor=gray, frame=off] \setupheadertexts

Re: [NTG-context] endnotemarkers

2013-04-17 Thread Meer, H. van der
A minor point perhaps on this textcommand= \groupedcommand for the marking of the notes in the text. I tried this but now the marking is not typeset as a superscript. Hans van der Meer On 17 Apr 2013, at 9:28 PM, Hans Hagen pra...@wxs.nl wrote: On 4/17/2013 8:27 PM, Wolfgang Schuster

Re: [NTG-context] endnotemarkers

2013-04-17 Thread Wolfgang Schuster
Am 17.04.2013 um 21:35 schrieb Meer, H. van der h.vanderm...@uva.nl: A minor point perhaps on this textcommand= \groupedcommand for the marking of the notes in the text. I tried this but now the marking is not typeset as a superscript. \defineprocessor[footnote][left={[},right

Re: [NTG-context] header variations how?

2013-04-16 Thread Aditya Mahajan
and \nolist as undefined macros! Both in \chapter{} as in \startchapter[title={}] form. What can be hapening here? They are no longer needed. The new syntax is: \startchapter[title=..., marking=..., list=..., bookmark=...] \stopchapter so you can explicitly set whawt needs to go

[NTG-context] Problem with getmarking and setupheadertexts

2013-04-03 Thread H. Özoguz
Hi together, what is wrong with the following shortexample? \setupheadertexts [] [{\cap\getmarking[chapter]}] [][] \starttext \startchapter[ title={Long long long title, it is indeed}, marking = {Shorter Title}, ] \stopchapter \stoptext

Re: [NTG-context] Problem with getmarking and setupheadertexts

2013-04-03 Thread Philipp Gesang
}, marking = {Shorter Title}, ^ marking={Shorter Title}, Spaces are significant! Regards Philipp ] \stopchapter \stoptext The getmarking in setupheadertexts seems to be ignored, why? Maybe marking is the wrong attribute? Thanks, Huseyin

Re: [NTG-context] \setuphead [bodypartlabel=]

2013-03-27 Thread Willi Egger
\startchapter[title=Chapter in list] \stopchapter \stoptext On Mar 26, 2013, at 8:10 PM, Wolfgang Schuster wrote: Am 26.03.2013 um 19:54 schrieb Alan BRASLAU alan.bras...@cea.fr: All of this does not take care of handling NOchapter in marking, bookmarks, contents, etc. Consider: \setupheadertexts

[NTG-context] \setupheadertexts [section]

2013-03-26 Thread Alan BRASLAU
Hello, \setupheadertexts [chapter] will center the current chapter title (or abbreviated version using marking=) in the running page headers. However, how can one also put unnumbered chapter-level titles (\starttitle\stoptitle) in the running headers? \setupheadertexts [chapter,title] seems

Re: [NTG-context] \setupheadertexts [section]

2013-03-26 Thread Otared Kavian
chapter). Best regards: OK On 26 mars 2013, at 11:37, Alan BRASLAU alan.bras...@cea.fr wrote: Hello, \setupheadertexts [chapter] will center the current chapter title (or abbreviated version using marking=) in the running page headers. However, how can one also put unnumbered chapter-level

[NTG-context] \setuphead [bodypartlabel=]

2013-03-26 Thread Alan BRASLAU
\setuplabeltext [chapter=Chapter ] enables a label in chapter headings. Sometimes, one wants to have an unnumbered chapter-level structure that otherwise appears in the table of contents, bookmarks, marking, etc. without having to make many special definitions. One suggests: \definehead

Re: [NTG-context] \setuphead [bodypartlabel=]

2013-03-26 Thread Wolfgang Schuster
Am 26.03.2013 um 19:15 schrieb Alan BRASLAU alan.bras...@cea.fr: \setuplabeltext [chapter=Chapter ] enables a label in chapter headings. Sometimes, one wants to have an unnumbered chapter-level structure that otherwise appears in the table of contents, bookmarks, marking, etc. without

Re: [NTG-context] \setuphead [bodypartlabel=]

2013-03-26 Thread Alan BRASLAU
-level structure that otherwise appears in the table of contents, bookmarks, marking, etc. without having to make many special definitions. One suggests: \definehead [NOchapter] [chapter] \setuphead [NOchapter] [incrementnumber=no,number=no,bodypartlabel=] \starttext \startNOchapter

Re: [NTG-context] \setuphead [bodypartlabel=]

2013-03-26 Thread Wolfgang Schuster
Am 26.03.2013 um 19:54 schrieb Alan BRASLAU alan.bras...@cea.fr: All of this does not take care of handling NOchapter in marking, bookmarks, contents, etc. Consider: \setupheadertexts [chapter] \placebookmarks [chapter,section] [chapter] \definecombinedlist [content] [chapter,section

Re: [NTG-context] upto current

2013-03-19 Thread Aditya Mahajan
, marking styles not working, wrong font scaling, etc.) and I had to struggle to get everything to work correctly. Most of these bugs were fixed in the latest beta. But if I were a new user, I would not have the patience to download and test the latest beta when a supposedly stable release has serious

Re: [NTG-context] upto current

2013-03-19 Thread Hans Hagen
in ConTeXt TL (multi-column footnotes not working, marking styles not working, wrong font scaling, etc.) and I had to struggle to get everything to work correctly. Most of these bugs were fixed in the latest beta. But if I were a new user, I would not have the patience to download and test the latest beta

Re: [NTG-context] Creating a folded meander book - imposition problem

2013-01-26 Thread Wolfgang Schuster
{#1}103\arrangedpageA \poparrangedpages \fi} \definepapersize[small][width=6cm,height=6cm] \definepapersize[big][width=30cm,height=30cm] \setuppapersize[small][big] \setuppagenumbering[location=] \setuparranging[MEANDER] \setuplayout [location=middle, marking=on] \starttext

Re: [NTG-context] Centered multiline chapter title

2012-12-18 Thread Wolfgang Schuster
break, but the title is left-aligned... Could anybody tell me, how to make properly the chapter setup according to above described rules? You can use the “list” and “marking” keys to set separate entries for the header and TOC. \setuphead [chapter] [after={\blank[fixed,2*line]}, header

Re: [NTG-context] Line break in header

2012-11-27 Thread Wolfgang Schuster
[][\headerframed{\getmarking[section]}] [][] A better solution is to provide a shorter text with the “marking” key from \startsection. Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] Line break in header

2012-11-27 Thread luigi scarso
line break not possible.} \dorecurse{100}{\input knuth } \stoptext There is a macro to make a shortert title, but a shorter text with the “marking” key from \startsection is better, of course ___ If your question

Re: [NTG-context] Line break in header

2012-11-27 Thread Wolfgang Schuster
][frame=off,width=.45\textwidth,align=normal,offset=0pt,location=bottom] \setupheadertexts [][\headerframed{\getmarking[section]}] [][] There is a macro to make a shortert title, but a shorter text with the “marking” key from \startsection is better, of course No need for a macro, it’s available

[NTG-context] Line break in header

2012-11-27 Thread H. Özoguz
Am 27.11.2012 10:36, schrieb ntg-context-requ...@ntg.nl: A better solution is to provide a shorter text with the ?marking? key from \startsection. Thanks Wolfgang and Luigi, I did not know that, that is of course the easiest and best solution

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

2012-11-08 Thread Wolfgang Schuster
[title=alpha] \stopchapter \startchapter [title=beta] \page\input knuth \stopchapter \startchapter [title=gamma] \stopchapter \stoptext You can use the marking mechanism to get the title of the current chapter. The problem for the solution below

Re: [NTG-context] \chapter{} vs \startchapter..\stopchapter

2012-11-08 Thread Marco Patzer
, is there anything that lists the keys for \startchapter somewhere? Keys that I know about: \startchapter[ label=..., title=..., marking=..., list=..., bookmark=..., reference=... ] \stopchapter You can also add an additional pair of brackets with custom

Re: [NTG-context] \copypages[][n=...] not working

2012-10-28 Thread Hans Hagen
t2.pdf pages are inserted. Any command option changed? Fix needed? \def\page_selectors_copy[#filename][#settings][#figuresettings]% {\bgroup \getfiguredimensions[#filename]% \setupcurrentwithpages[\c!marking=\v!off,\c!offset=\zeropoint,\c!n=\noffigurepages,#settings]% \global

Re: [NTG-context] \copypages[][n=...] not working

2012-10-28 Thread Procházka Lukáš
]% \setupcurrentwithpages[\c!marking=\v!off,\c!offset=\zeropoint,\c!n=\noffigurepages,#settings]% \global\c_page_selectors_n\directwithpagesparameter\c!n\relax ___ If your question is of interest to others as well, please

Re: [NTG-context] How to put a \placefigure with no caption?

2012-10-15 Thread Wolfgang Schuster
]{caption}{content} == \startplacefigure[location=location,reference=reference,title=title] % marking=…,bookmark=…,list=… content \stopplacefigure Wolfgang ___ If your question is of interest to others as well, please add

Re: [NTG-context] Header-Footer-Layout

2012-10-09 Thread Arne Runge
[frontpart:pagenumber][romannumerals][] and if I comment this line, I get ! Missing number, treated as zero. and if I comment \setcounter[userpage][1] then - page 4 has a header line, which I don't like - page 7 or 11 has not the marking Knuth respectively Zapf - useless page 13 at the end of the document I

[NTG-context] Chapters without chapter number

2012-10-04 Thread Pavel Hanák
behaviour of marking. So I tried: \setuphead [chapter] [header=empty, sectionnumber=no ] but id didn't work either. So I ended by: \def\MyChapterTitle#1#2{#2}% \setuphead [chapter] [header=empty, command=\MyChapterTitle, ] \setupheadertexts[{\getmarking[chapternumber

Re: [NTG-context] Chapters without chapter number

2012-10-04 Thread Wolfgang Schuster
. It looks like setting number=no in \setuphead definition breaks my expected behaviour of marking. So I tried: \setuphead [chapter] [header=empty, sectionnumber=no ] but id didn't work either. So I ended by: \def\MyChapterTitle#1#2{#2}% \setuphead [chapter] [header=empty

[NTG-context] t-letter: marking=no not disabling folding marks

2012-08-29 Thread Paul Menzel
}, toaddress={Musterstrarße \\9 Musterstadt}] \setupletterstyle [marking=no] \setupletter [marking=no] \startletter [opening={Sehr geehrte Damen und Herren,}, subject={Musterbetreff}, closing={Freundliche Grüße

Re: [NTG-context] [solved] t-letter: marking=no not disabling folding marks

2012-08-29 Thread Paul Menzel
\\9 Musterstadt}] \setupletter [toname={Jane Mustermann}, toaddress={Musterstrarße \\9 Musterstadt}] \setupletterstyle [marking=no] \setupletter [marking=no] Looking at `letter-imp-dinb.mkiv` [1] I finally

<    1   2   3   4   5   6   7   >