Re: [NTG-context] Troubles with presentations

2015-10-14 Thread Otared Kavian
--- > > \usemodule[pre-original] > \usemodule[rsteps] > \usemodule[pre-60] > > \setuppapersize[S6][S6] > \setuppagenumbering[state=stop] > \setuptolerance[verytolerant,stretch] > \setupinteractionscreen[option=max] > \setupinteraction[state=start,colo

[NTG-context] Troubles with presentations

2015-10-06 Thread Tomas Hala
st minimal example: \usemodule[pre-original] \usemodule[rsteps] \usemodule[pre-60] \setuppapersize[S6][S6] \setuppagenumbering[state=stop] \setuptolerance[verytolerant,stretch] \setupinteractionscreen[option=max] \setupinteraction[state=start,color=middlered] \useURL [ga

Re: [NTG-context] \emptylines non-functional

2015-09-08 Thread Hans Hagen
On 9/8/2015 10:49 PM, Rik wrote: \setuppapersize[A5] \startcolumns[n=3] With non-empty lines\crlf asdf\crlf asdf\crlf asdf\crlf asdf \column With\tex{emptylines[2]} \emptylines[2] asdf\crlf asdf \column With\tex{blank[2*big]} \blank[2*big

[NTG-context] \emptylines non-functional

2015-09-08 Thread Rik
\emptylines is not producing empty lines. Here is the example from the wiki <http://wiki.contextgarden.net/Command/emptylines>: \setuppapersize[A5] \startcolumns[n=3] With non-empty lines\crlf asdf\crlf asdf\crlf asdf\crlf asdf \column With\tex{emptyl

Re: [NTG-context] Finalizing my book

2015-09-06 Thread Wolfgang Schuster
ntykwa] [default] \setupbodyfont[antykwa] \setuplines[option=packed,inbetween={\blank[line,preference]}] \setuppapersize[A6] \showframe \starttext \subsection{Co mě tak láká?} \startlines A ty se ptáš, co mě tak láka, na tobě? Odpoveď máš tady i když v snivé podobě Dostal jsem ochutnat z poháru š

Re: [NTG-context] Set PDF TrimBox

2015-08-23 Thread Henning Hraban Ramm
': \showframe \setuplayout [location=middle, width=middle, height=middle, cropoffset=auto, trimoffset=1bp, bleedoffset=2bp, artoffset=2bp] \starttext \definepapersize[TestA][width=100bp,height=200bp] \definepapersize[TestB][width=150bp,height=250bp] \setuppapersize[TestA

Re: [NTG-context] xmlconcat

2015-08-23 Thread Hans Hagen
: \xmlconcat{#1}{test/command(xmltest:test)}{yyy} does typeset the nodes but not the text from the third argument. It might be the correct behaviour but it confuses me. Any comments or enlightment? Thamks in advance. Hans van der Meer Minimal example: \setuppapersize[A6][A6] \startxmlsetups

[NTG-context] xmlconcat

2015-08-22 Thread Meer, H. van der
} does typeset the nodes but not the text from the third argument. It might be the correct behaviour but it confuses me. Any comments or enlightment? Thamks in advance. Hans van der Meer Minimal example: \setuppapersize[A6][A6] \startxmlsetups xmltest:setups \xmlsetsetup{\xmldocument}{root|test

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] creating multirow curly brace in tables to symbolize row span

2015-08-20 Thread Henry House
, or a different approach to achieve my goal? Complete test document: \enableregime[utf]\setuppapersize[letter][letter] \usetypescript[serif,sans,mono][hanging][normal] \setupalign[hanging] \usetypescript[modern-base][texnansi] \setupbodyfont[reset] \setupbodyfont[modern] \definetypeface[boldmath][mm

[NTG-context] Set PDF TrimBox

2015-08-15 Thread Henning Hraban Ramm
Hi Hans, in May Harald König asked about setting the TrimBox value in PDFs and provided even a patch for lpdf-mis.lua; you promised to look into that, see http://article.gmane.org/gmane.comp.tex.context/91544/ If there’s only one paper size (from \setuppapersize), TrimBox is the same

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-02 Thread tala...@fastmail.fm
Thank you very much for this, Idris. It works nicely in the sample file you sent. But it goes off again once you add \setupdirections[bidi=global]. Consider the following: == \setuppapersize[A6] \definefontfamily[mainface][serif][ALMFixed][% features=arabic, range=arabic

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 02 Aug 2015 03:24:12 -0600, tala...@fastmail.fm tala...@fastmail.fm wrote: Thanks for that, Wolfgang. I can only hope that, as the culprit is known, it can be apprehended! Talal, here is a barbarous workaround using \thinrule: == \setuppapersize[A6] \starttext

Re: [NTG-context] Arabic/Hindi numerals in layout structures (headers, page numbers, etc.)

2015-08-02 Thread tala...@fastmail.fm
, if I manually type such numbers into the body of my text, they appear correctly. MWE below. Best wishes, Talal = \setuppapersize[A6] \mainlanguage[arabic] \definefontfamily[mainface][serif][ALMFixed][features=arabic,range=arabic,] \setupbodyfont [mainface,10pt] \starttext

[NTG-context] Arabic/Hindi numerals in layout structures (headers, page numbers, etc.)

2015-08-02 Thread tala...@fastmail.fm
of my text, they appear correctly. MWE below. Best wishes, Talal = \setuppapersize[A6] \mainlanguage[arabic] \definefontfamily[mainface][serif][ALMFixed][features=arabic,range=arabic,] \setupbodyfont [mainface,10pt] \starttext \showframe \righttoleft %\setupdirections[bidi=global,method=two

Re: [NTG-context] Arabic/Hindi numerals in layout structures (headers, page numbers, etc.)

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
= \setuppapersize[A6] \mainlanguage[arabic] \definefontfamily[mainface][serif][ALMFixed][features=arabic,range=arabic,] \setupbodyfont [mainface,10pt] \starttext \showframe \righttoleft %\setupdirections[bidi=global,method=two] \section{section one} \startlinenumbering \input ward

Re: [NTG-context] Arabic/Hindi numerals in layout structures (headers, page numbers, etc.)

2015-08-02 Thread tala...@fastmail.fm
-stopsection is now standard (\section is still there, but...) Mind you, if I manually type such numbers into the body of my text, they appear correctly. MWE below. Best wishes, Talal = \setuppapersize[A6] \mainlanguage[arabic] \definefontfamily[mainface][serif][ALMFixed][features

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

2015-08-01 Thread Pablo Rodriguez
Hi Rik, sorry for top-posting, but I’m not sure whether I understand your request. I wonder whether the following sample points in the right direction: \setuppapersize[A6] \setuppagenumber[way=bypart, prefix=yes, prefixset=chapter] \startsectionblockenvironment[bodypart

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-01 Thread Idris Samawi Hamid ادريس سماوي حامد
mechanism. Example of the problem attached. On 30 Jul 2015, at 16:30, tala...@fastmail.fm wrote: There seems to be some limitation (or bug) in right-to-left (r2l) alignment, when used alongside linenumbering. Consider the following: \setuppapersize[A6] \starttext \showframe \section

Re: [NTG-context] r2l alignment and linenumbering conflict?

2015-08-01 Thread tala...@fastmail.fm
2015, at 16:30, tala...@fastmail.fm wrote:There seems to be some limitation (or bug) in right-to-left (r2l) alignment, when used alongside linenumbering. Consider the following:\setuppapersize[A6]\starttext \showframe\section{Incorrect}\startlinenumbering\startalignment[r2l]Lorem ipsum dolor sit

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

2015-08-01 Thread Rik Kabel
On 2015-08-01 13:54, Pablo Rodriguez wrote: Hi Rik, sorry for top-posting, but I’m not sure whether I understand your request. I wonder whether the following sample points in the right direction: \setuppapersize[A6] \setuppagenumber[way=bypart, prefix=yes, prefixset=chapter

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

2015-08-01 Thread Rik Kabel
On 2015-08-01 14:42, Rik Kabel wrote: On 2015-08-01 13:54, Pablo Rodriguez wrote: Hi Rik, sorry for top-posting, but I’m not sure whether I understand your request. I wonder whether the following sample points in the right direction: \setuppapersize[A6] \setuppagenumber[way=bypart

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread tala...@fastmail.fm
, but the notes paragraph is built l2r: \setuppapersize[A6] \starttext \showframe \definenote[afootnote][rule={on,right}, paragraph=yes] \definenotation[afootnote][align=r2l] \startalignment[r2l] Testing.\afootnote{This is footnote one.} Testing testing.\afootnote

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread Pablo Rodriguez
the below? Many thanks. I wonder whether there is a bug somewhere in notes, because you may have r2l notations, but the notes paragraph is built l2r: \setuppapersize[A6] \starttext \showframe \definenote[afootnote][rule={on,right}, paragraph=yes] \definenotation[afootnote][align=r2l

[NTG-context] r2l alignment and linenumbering conflict?

2015-07-30 Thread tala...@fastmail.fm
There seems to be some limitation (or bug) in right-to-left (r2l) alignment, when used alongside linenumbering. Consider the following: \setuppapersize[A6] \starttext \showframe \section{Incorrect} \startlinenumbering \startalignment[r2l] Lorem ipsum dolor sit amet, consectetur

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread Pablo Rodriguez
On 07/30/2015 03:00 PM, tala...@fastmail.fm wrote: I wonder whether anyone might have any thoughts about the below? Many thanks. I wonder whether there is a bug somewhere in notes, because you may have r2l notations, but the notes paragraph is built l2r: \setuppapersize[A6] \starttext

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread Idris Samawi Hamid ادريس سماوي حامد
: \setuppapersize[A6] \starttext \showframe \definenote[afootnote][rule={on,right}, paragraph=yes] \definenotation[afootnote][align=r2l] \startalignment[r2l] Testing.\afootnote{This is footnote one.} Testing testing.\afootnote{This is footnote two.} Testing testing testing.\afootnote{This is footnote

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread tala...@fastmail.fm
, but the notes paragraph is built l2r: \setuppapersize[A6] \starttext \showframe \definenote[afootnote][rule={on,right}, paragraph=yes] \definenotation[afootnote][align=r2l] \startalignment[r2l] Testing.\afootnote{This is footnote one.} Testing testing.\afootnote{This is footnote two.} Testing

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread tala...@fastmail.fm
Schuster schuster.wolfg...@gmail.com wrote: Pablo Rodriguez mailto:oi...@gmx.es30. Juli 2015 16:26 I wonder whether there is a bug somewhere in notes, because you may have r2l notations, but the notes paragraph is built l2r: \setuppapersize[A6] \starttext \showframe

[NTG-context] Small problems with my columns

2015-07-30 Thread Fabrice Couvreur
Hi, In the code below, how to make the line hyphenation is in the first column and not in the second. Thank You. Fabrice \setupcolors[state=start] \definemixedcolumns [mycolumn] [ n=2, separator=rule, rulecolor=gray, rulethickness=1pt, balance=yes, ] \setuppapersize[A4

Re: [NTG-context] footnotes when using RtL (Arabic)

2015-07-30 Thread Wolfgang Schuster
Pablo Rodriguez mailto:oi...@gmx.es 30. Juli 2015 16:26 I wonder whether there is a bug somewhere in notes, because you may have r2l notations, but the notes paragraph is built l2r: \setuppapersize[A6] \starttext \showframe \definenote[afootnote][rule={on,right}, paragraph=yes] \definenotation

Re: [NTG-context] Small problems with my columns

2015-07-30 Thread Pablo Rodriguez
. Pablo \setupcolors[state=start] \definemixedcolumns [mycolumn] [ n=2, separator=rule, rulecolor=gray, rulethickness=1pt, balance=yes, ] \setuppapersize[A4][A4] \setuplayout[ backspace=15mm, width=middle, topspace=15mm

[NTG-context] Problem with definelabel and footnotes

2015-07-27 Thread Rik Kabel
to what I have with definelabel. Is this a bug in the footnote typesetting, or a problem with my expectations? \setuppapersize[A6] \definelabel [Qi][text=,alternative=inright,headcolor=red] \definenote[pagenote] \setupnotation [pagenote][way=bypage,numberconversion=set 2

[NTG-context] issue with hyphenation in linenotes

2015-07-23 Thread Pablo Rodriguez
Dear list (especially Hans, Thomas or Luigi), some time ago I reported (http://www.ntg.nl/pipermail/ntg-context/2013/076021.html) a bug with not hyphenated code in linenotes. Now I have an updated sample that seems to fix it: \setuppapersize[A8] \starttext \startlinenumbering

[NTG-context] Setup footnotes mark placement

2015-06-05 Thread Michał Goliński
Dear list, in the following file: \setupinteraction[ state=start, focus=standard ] \definepapersize[kindle][width=90mm,height=117mm] \setuppapersize[kindle][kindle] \setuplayout[ backspace=2mm, topspace=2mm, header=0mm, footer=0mm, width=86mm, height=113mm ] \starttext

Re: [NTG-context] Setup footnotes mark placement

2015-06-05 Thread Pablo Rodriguez
guess \setupnotation[footnote][alternative=serried] may do what you want. Complete sample: \setupinteraction[ state=start, focus=standard ] \definepapersize[kindle][width=90mm,height=117mm] \setuppapersize[kindle][kindle] \setuplayout[ backspace=2mm

Re: [NTG-context] LuaTeX finds font, mtxrun --fonts does not list it?

2015-05-29 Thread Sandra Snan
this exchange. \setuppapersize[A4, portrait][A4, portrait] There is no “portrait” keyword for the \setuppapersize and you can also drop this line because ConTeXt uses A4 as default paper size. I was working from a template for A7 landscape that's why this was still in there. But a lot

Re: [NTG-context] LuaTeX finds font, mtxrun --fonts does not list it?

2015-05-28 Thread Wolfgang Schuster
=quality] Don’t load the simplefonts module because you don’t need it when you use the \definefontfamily command. \setuppagenumbering[location=] \enableregime [utf-8] You can drop this line because ConTeXt uses UTF-8 as default encoding. \setuppapersize[A4, portrait][A4, portrait

Re: [NTG-context] LuaTeX finds font, mtxrun --fonts does not list it?

2015-05-28 Thread Sandra Snan
a name? Here is the full file. $body$ is filled in by pandoc. Sandra % interface output=luatex \usemodule[simplefonts][protrusion=quality,expansion=quality] \setupsimplefonts[expansion=quality,protrusion=quality] \setuppagenumbering[location=] \enableregime [utf-8] \setuppapersize[A4, portrait][A4

Re: [NTG-context] arranging pages

2015-05-24 Thread Otared Kavian
besides one another on an A4 page like this: -- | | | | | | | | | |1| 2 | | | | | | | -- but using: \setuppapersize[A5][A4,landscape

Re: [NTG-context] arranging pages

2015-05-24 Thread dr. Hans van der Meer
this: -- | | | | | | | | | |1| 2 | | | | | | | -- but using: \setuppapersize[A5][A4,landscape] \setuparranging[2UP] I get this instead

[NTG-context] arranging pages

2015-05-24 Thread Meer, H. van der
Trying to put 2 pages in A5 format besides one another on an A4 page like this: -- | | | | | | | | | |1| 2 | | | | | | | -- but using: \setuppapersize[A5

Re: [NTG-context] arranging pages

2015-05-24 Thread Otared Kavian
Hi again, Sorry I didn’t notice that you used \setuparranging[2UP] Actually what you want to do may be: begin arranging-up-or-side.tex \setuppapersize[A5][A4,landscape] \setuplayout[location=middle] \setuparranging[2SIDE] %\setuparranging[2UP] —— Compare with the above

Re: [NTG-context] arranging pages

2015-05-24 Thread Meer, H. van der
be: begin arranging-up-or-side.tex \setuppapersize[A5][A4,landscape] \setuplayout[location=middle] \setuparranging[2SIDE] %\setuparranging[2UP] —— Compare with the above \setuppagenumbering[alternative={singlesided,doublesided}] \starttext \dorecurse{20}{\input knuth\par} \stoptext begin

Re: [NTG-context] how to set PDF TrimBox ?

2015-05-20 Thread Hans Hagen
On 5/21/2015 12:55 AM, Harald Koenig wrote: On May 20, Harald Koenig wrote: Hi, how can I set the /TrimBox values in PDF ? right now I use \setuppapersize[A4][B4] looking at the current context code I can't (without changing context). all boxes are set to identical values:-( for my

[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] external figure sizing

2015-05-09 Thread Hans Hagen
\textwidth\vsize.25\textheight\dorecurse{4}{\externalfigure[dummy][quarter] \page \setuppapersize[A4,landscape] \setuplayout[middle] \vbox{\dorecurse{4}{\hbox{\hsize.25\textwidth\vsize.25\textheight\dorecurse{4}{\externalfigure[dummy][quarter] \stoptext

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] caption alignment with floats in the margin

2015-04-27 Thread Brian R. Landy
? Thanks, Brian \setuppapersize[letter,portrait][letter,portrait] \setupcaption[figure][location=top,align={flushleft}] \showframe \starttext \setuplayout[backspace=2.75in,leftmargin=2.25in,rightmargin=0.5in,cutspace=0.5in,location=middle,width=middle,margindistance=0.00in] \placefigure[inleft

[NTG-context] widows and orphans in lines

2015-04-25 Thread Pablo Rodriguez
Hans, I wonder whether this is the right time to implement widows and orphans in lines. Sample file: \setuppapersize[A10] \setuppagenumbering[location=] \starttext \startlines a line a line a line a line a line a line a line a line a line

Re: [NTG-context] vertical spacing and makeups

2015-04-19 Thread Wolfgang Schuster
by \setupwhitespace before your text in the makeup environment. Note that this happens only when you have skip before the text (e.g. with the default top=\vss setting) at the begin of the environment. The following low level example demonstrates this: \setuppapersize[A6] \starttext

[NTG-context] vertical spacing and makeups

2015-04-18 Thread Pablo Rodriguez
Dear list, I have the following sample: \showgrid \setupinteraction[option=max] \setuppapersize[S6] \setuppagenumbering[location=] \setupbodyfont[100pt] \setupwhitespace[big] \startsetups[setups:slides] \setupwhitespace[big] \stopsetups \setupmakeup

Re: [NTG-context] vertical spacing and makeups

2015-04-18 Thread Pablo Rodriguez
that this happens only when you have skip before the text (e.g. with the default top=\vss setting) at the begin of the environment. The following low level example demonstrates this: \setuppapersize[A6] \starttext \dontleavehmode \ruledvbox to 3cm{\hsize=4cm text} \ruledvbox to 3cm

Re: [NTG-context] vertical spacing and makeups

2015-04-18 Thread Wolfgang Schuster
Am 18.04.2015 um 18:43 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \showgrid \setupinteraction[option=max] \setuppapersize[S6] \setuppagenumbering[location=] \setupbodyfont[100pt] \setupwhitespace[big] \startsetups

[NTG-context] line numbers position

2015-04-16 Thread Pablo Rodriguez
Dear list, I have the following sample: \mainlanguage[es] \setuppapersize[A7] \setuppagenumbering[location=,] \starttext \startlinenumbering \input cervantes-es \stoplinenumbering \stoptext Compiled with latest beta, line numbers are partly off the page: http

Re: [NTG-context] line numbers position

2015-04-16 Thread Hans Hagen
On 4/16/2015 7:14 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \mainlanguage[es] \setuppapersize[A7] \setuppagenumbering[location=,] \starttext \startlinenumbering \input cervantes-es \stoplinenumbering \stoptext Compiled

[NTG-context] imposition not working in latest beta

2015-04-16 Thread Pablo Rodriguez
Hans, I’m afraid that imposition is not working with latest beta. Either the command (it crashes): context --extra=arrange --printformat=2UP --paperformat=A4*A3,landscape a.pdf Or the following sample has no text in output: \setuppapersize [A5][A4,landscape] \setuparranging [2UP

[NTG-context] Caption location with vertical \startplacefigure

2015-04-16 Thread Rik Kabel
and earlier versions, so it does not appear to be a regression.) \showframe \setuppapersize[A4][A3,landscape] \useMPlibrary[dum] %% Enable the first set of three for wider picture margins, %% and the second set of three for standard picture margins \def\FullWidth{\the\dimexpr

Re: [NTG-context] alphabetically ordered notes

2015-04-08 Thread Hans Hagen
On 4/5/2015 8:32 PM, Pablo Rodriguez wrote: Hans, as you told me to remind you latter, here you have the proposal for alphabetically ordered footnotes: \setuplanguage[en][patterns={en,agr}] \setuppapersize[A7] \setupbodyfont[dejavu, 12pt] \definenote[dict] \setupnote

[NTG-context] alphabetically ordered notes

2015-04-05 Thread Pablo Rodriguez
Hans, as you told me to remind you latter, here you have the proposal for alphabetically ordered footnotes: \setuplanguage[en][patterns={en,agr}] \setuppapersize[A7] \setupbodyfont[dejavu, 12pt] \definenote[dict] \setupnote[dict][n=2,rule=off, split=strict, inbetween

[NTG-context] extra space in footnotes (XML)

2015-03-28 Thread Pablo Rodriguez
']}{xml:autolink} \xmlsetsetup{\xmldocument}{a[@class='footnoteBack']}{} \xmlsetsetup{\xmldocument}{a[text()='↩']}{} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \setuppapersize[A8] \xmlflush{#1} \stopxmlsetups \startxmlsetups xml:p \xmldoifnotselfempty {#1

Re: [NTG-context] footnotes broken in latest beta?

2015-03-28 Thread Pablo Rodriguez
2015.03.25 22:13. But I will provide a minimal sample later. Since you are changing so many things in notes, I wonder whether this is the right time to ask for a feature. Just in case it were, I would suggest the following: \setuplanguage[en][patterns={en,agr}] \setuppapersize[A5

Re: [NTG-context] \appendtoks and structuring commands

2015-03-25 Thread Hans Hagen
, it doesn't seem to work. Here is a minimal (not) working example: % env.tex \startenvironment env \setuppapersize[A5] \appendtoks Title page \to \everystarttext \stopenvironment % prj.tex \startproject prj \environment env \stopproject

[NTG-context] \appendtoks and structuring commands

2015-03-24 Thread Sam Ḥilluc
(not) working example: % env.tex \startenvironment env \setuppapersize[A5] \appendtoks Title page \to \everystarttext \stopenvironment % prj.tex \startproject prj \environment env \stopproject % prd.tex \startproduct prd \project prj \starttext

[NTG-context] issue with \definebreakpoint

2015-03-22 Thread Pablo Rodriguez
Dear list, for a document I’m writing, I have the following sample: \setuppapersize[A6] \definebreakpoint [compound] [–]% en-dash \setbreakpoints[compound] \starttext I hyphenate pseudo–classes and pseudo–elements in a justified paragraph. \startalign[middle] But not when centered: pseudo

Re: [NTG-context] issue with \definebreakpoint

2015-03-22 Thread Wolfgang Schuster
Am 22.03.2015 um 13:33 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, for a document I’m writing, I have the following sample: \setuppapersize[A6] \definebreakpoint [compound] [–]% en-dash \setbreakpoints[compound] \starttext I hyphenate pseudo–classes and pseudo–elements

[NTG-context] define macros only visible in a definestartstop-block that have arguments?

2015-03-20 Thread Norbert Melzer
Hi! I have trouble to define macros which are only visible inside a block defined using `\definestartstop`: ```tex \setuppapersize[A6] \definestartstop[Foo][before={Foo}] \definestartstop[Bar][before={\bgroup\define\Foo{Foo}},after={\egroup}] %\definestartstop[Baz][before={\bgroup\define[1]\Foo

Re: [NTG-context] define macros only visible in a definestartstop-block that have arguments?

2015-03-20 Thread Norbert Melzer
/2015 12:05 PM, Norbert Melzer wrote: Hi! I have trouble to define macros which are only visible inside a block defined using `\definestartstop`: ```tex \setuppapersize[A6] \definestartstop[Foo][before={Foo}] \definestartstop[Bar][before={\bgroup\define\Foo{Foo}},after={\egroup

Re: [NTG-context] define macros only visible in a definestartstop-block that have arguments?

2015-03-20 Thread Hans Hagen
On 3/20/2015 12:05 PM, Norbert Melzer wrote: Hi! I have trouble to define macros which are only visible inside a block defined using `\definestartstop`: ```tex \setuppapersize[A6] \definestartstop[Foo][before={Foo}] \definestartstop[Bar][before={\bgroup\define\Foo{Foo}},after={\egroup

[NTG-context] Different output with \blank[force, ...] in MkII and MkIV

2015-03-16 Thread Wolfgang Schuster
on the second page is smaller than a complete line. begin example \setuppapersize[A7][A7] \showgrid \starttext \blank[force,line] text \page text \blank[force,line] text \stoptext end example Kind regards, Wolfgang blank-mkii.pdf Description: Adobe PDF document blank-mkiv.pdf

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

2015-03-15 Thread Gerben Wierda
, after=\stoppacked] % \def\SSCONTEXT {Con\kern-.15em\TeX t} % % \definepapersize[smallpaperback][width=5in,height=8in] \setuppapersize[smallpaperback][smallpaperback] \setuplayout[location=doublesided] \setuppagenumbering[alternative=doublesided] \setupsectionblock[frontpart][page=no] \setupsectionblock

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Wolfgang Schuster
of the first paragraph because the indentation is changed until we start the second paragraph and the “next” keyword applies now to the third paragraph. begin example \setuppapersize[A5] \starttext % Page 1 \start \setupindenting[yes,medium,next] \noindent{\bf Description Title} \input

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Idris Samawi Hamid ادريس سماوي حامد
) the “next” keyword produced the expected output. The problem is now when make the title part of the first paragraph because the indentation is changed until we start the second paragraph and the “next” keyword applies now to the third paragraph. begin example \setuppapersize[A5

Re: [NTG-context] Indentation within footnotes

2015-03-15 Thread Wolfgang Schuster
is changed until we start the second paragraph and the “next” keyword applies now to the third paragraph. begin example \setuppapersize[A5] \starttext % Page 1 \start \setupindenting[yes,medium,next] \noindent{\bf Description Title} \input knuth \stop \page % Page 2

Re: [NTG-context] bug in \setupsectionblock and page={yes, blank}

2015-03-09 Thread Wolfgang Schuster
Am 06.03.2015 um 22:53 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have just discovered a weird issue: \setuppapersize[A6] \setupsectionblock[frontpart][page={yes, blank}] \setupsectionblock[bodypart] [page={yes, header, footer}] \setupsectionblock[backpart] [page

[NTG-context] bug in \setupsectionblock and page={yes, blank}

2015-03-06 Thread Pablo Rodriguez
Dear list, I have just discovered a weird issue: \setuppapersize[A6] \setupsectionblock[frontpart][page={yes, blank}] \setupsectionblock[bodypart] [page={yes, header, footer}] \setupsectionblock[backpart] [page={yes, blank}] \starttext \startfrontmatter \dorecurse{2

Re: [NTG-context] makeup in right (or odd) page?

2015-03-04 Thread Wolfgang Schuster
Am 04.03.2015 um 19:45 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \setuppapersize[A5] \definemakeup[colophon][page={yes, blank, right}] \starttext \dorecurse{6}{\input zapf} \startmakeup[colophon] This is the colophon

[NTG-context] makeup in right (or odd) page?

2015-03-04 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A5] \definemakeup[colophon][page={yes, blank, right}] \starttext \dorecurse{6}{\input zapf} \startmakeup[colophon] This is the colophon \stopmakeup I need to have the colophon in an odd page. I thought

Re: [NTG-context] Problem with MkIV and TikZ picture remembering

2015-03-03 Thread Aditya Mahajan
]) cutbefore n[1] cutafter n[2]; anchor_box(\MPanchor{\MPvar{from}}); \stopMPpositiongraphic \setuppapersize[A6] \setupbackgrounds[page][background=highlight] \starttext \hpos{n1}{this} belongs to \hpos{n2}{that} \stoptext

Re: [NTG-context] Problem with MkIV and TikZ picture remembering

2015-03-03 Thread Hans Hagen
(center n[1]){dir 45} .. {dir -45}(center n[2]) cutbefore n[1] cutafter n[2]; anchor_box(\MPanchor{\MPvar{from}}); \stopMPpositiongraphic \setuppapersize[A6] \setupbackgrounds[page][background=highlight] \starttext \hpos{n1}{this} belongs to \hpos{n2}{that} \stoptext

[NTG-context] removing layers in empty pages

2015-02-18 Thread Pablo Rodriguez
Dear list, I come with a different approach to the issue I had yesterday. I have a sample: \setuppapersize[A6] \setuppagenumbering[alternative=doublesided, location=] \setupexternalfigures[location=default] \starttext \dorecurse{5}{ \definelayer[spider][state=start] \setlayer[spider

Re: [NTG-context] removing layers in empty pages

2015-02-18 Thread Wolfgang Schuster
Am 18.02.2015 um 22:32 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I come with a different approach to the issue I had yesterday. I have a sample: \setuppapersize[A6] \setuppagenumbering[alternative=doublesided, location=] \setupexternalfigures[location=default] \starttext

Re: [NTG-context] replacing images in PDF documents

2015-02-15 Thread Pablo Rodriguez
: \setuppapersize[A4][A4] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \starttext \insertpages[document.pdf][width=0pt] \stoptext The command

[NTG-context] 2UP Arranging

2015-02-02 Thread John Kitzmiller
the same result? This mwe shows 2UP default: \definepapersize[booklet][width=140mm,height=216mm] \setuppapersize[booklet][letter,landscape] \setuppagenumbering[alternative=doublesided] \setuparranging[2UP,doublesided] \setuplayout[ width=92mm, leftedge=0mm, leftmargin=0mm, backspace=15mm

Re: [NTG-context] letter booklet

2015-01-31 Thread John Kitzmiller
imposition with [letter][letter,landscape] did not work, so to start I used: \definepapersize[booklet][width=140mm,height=216mm] \setuppapersize[booklet][letter,landscape] \setuparranging[2UP,doublesided] \setuplayout[width=115mm, leftedge=0mm, leftmargin=0mm, backspace=15mm, rightmargin

[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] Simple tocs

2015-01-26 Thread Pablo Rodriguez
}}} \stoptext BTW, why do you use makeups? They are perfect when content fits in a single page. Otherwise, you get the following (see page 2): \setuppapersize[A6] \starttext \title{Contents}\placelist[chapter] \startmakeup \title{More Contents}\placelist[chapter,section] \stopmakeup

Re: [NTG-context] special features in simplefonts.

2015-01-25 Thread Pablo Rodriguez
. How would I use this font in simplefonts? it is the trailing parameters that I don't know how to use in simplefonts, like: :+liga;expansion=default;protrusion=quality As the body font: \setuppapersize[A6] \definefontfamily[minion][serif][Minion Pro][features={default,quality}] \setupalign

Re: [NTG-context] letter booklet

2015-01-25 Thread Wolfgang Schuster
[booklet][width=140mm,height=216mm] \setuppapersize[booklet][letter,landscape] \setuparranging[2UP,doublesided] \setuplayout[width=115mm, leftedge=0mm, leftmargin=0mm, backspace=15mm, rightmargin=0mm, rigthedge=0mm] \showframe \starttext \dorecurse{8}{\input Ward \page} \stoptext

[NTG-context] letter booklet

2015-01-25 Thread John Kitzmiller
Desired outcome: a multipage booklet on letter size paper with margins lined up when duplex printed and folded. Using imposition with [letter][letter,landscape] did not work, so to start I used: \definepapersize[booklet][width=140mm,height=216mm] \setuppapersize[booklet][letter,landscape

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

Re: [NTG-context] layers for odd and even pages

2015-01-22 Thread Pablo Rodriguez
reply, Wolfgang. This is what I was looking for. Many thanks for your help, Pablo \setuppapersize[A5] \setuppagenumbering[alternative=doublesided,location=] \definelayer[test][state=repeat,doublesided=yes] \setlayer[test][right]{Odd page} \setlayer[test][left] {Even page

[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] layers for odd and even pages

2015-01-20 Thread Wolfgang Schuster
Am 20.01.2015 um 20:14 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \setuppapersize[A5] \setuppagenumbering[alternative=doublesided,location=] \definelayer[testodd][state=start] \setlayer[testodd]{Odd page} \definelayer[testeven][state=continue

[NTG-context] layers for odd and even pages

2015-01-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A5] \setuppagenumbering[alternative=doublesided,location=] \definelayer[testodd][state=start] \setlayer[testodd]{Odd page} \definelayer[testeven][state=continue] \setlayer[testeven]{Even page} \setupbackgrounds[page][background={testodd

Re: [NTG-context] dealing with footnotes and ol in XML

2015-01-10 Thread Hans Hagen
in ConTeXt code: \setuppapersize[A7] \setupbodyfont[15pt] \starttext \dorecurse{2}{A footnote\footnote {\dorecurse{2}{Footnote paragraph.\par}}} \dorecurse{3}{B footnote\footnote {Footnote paragraph.\par Footnote paragraph.}} \stoptext Footnotes that end with \par have wrong space with next footnote

Re: [NTG-context] dealing with footnotes and ol in XML

2015-01-09 Thread Pablo Rodriguez
}{div[@class='footnotes']/ol/li[@id=idstring('\xmlatt{#1}{href}')]/command(xml:footnote:set)} \stopxmlsetups As this id stuff happens more often. Many thanks for your reply and the code, Hans. I have an issue with multiparagraph footnotes. Here is the sample in ConTeXt code: \setuppapersize[A7

Re: [NTG-context] Steps in presentation

2015-01-03 Thread Jeong Dal
int: english/english \setupinteraction[state=start] \setupcolors[state=start] \usemodule[pre-60] \setuppapersize[S4][S4] \starttext \StartSteps \startformula \startalign \NC x^2 + y^2 \NC = z^2 \NR \FlushStep \NC x^2 + y^2 \NC = z^2 \NR \FlushStep \stopalign\stopformula \StopSteps

Re: [NTG-context] Steps in presentation

2015-01-02 Thread Fabrice L.
: %%% \enableregime[utf] \usemodule[rsteps] \setupcolors[state=start] \setuppapersize[S4][S4] \starttext \StartSteps \startformula \eqalign{ P[\text{atteindre l'état}\ j | \text{partant de } i] = P\left[\bigcup_{n=0}^\infty (X_n=j)| X_0 = i\right]\cr \leq \sum_{n=0}^\infty P[X_n=j|X_0=i]\cr =\sum_{n

Re: [NTG-context] Define a new type section with metafun

2014-12-28 Thread Fabrice
Another worry: when the title is too long, there is a line break, which is normal, but what follows is under the dial. Thanks, Fabrice % macros=mkvi \setuppapersize[A4][A4] \setuphead [section] [sectionstopper={}, conversion=Characters, sectionsegments=section:section

<    5   6   7   8   9   10   11   12   13   14   >