Re: [NTG-context] Is there “toffset” option for \setupbackgrounds in context

2016-02-26 Thread Wolfgang Schuster
overlay[TextBackground][\uniqueMPgraphic{TextBackground}] \setuppapersize[A4] \setuppagenumbering[state=none] \setupbackgrounds[text][text][background=TextBackground] \starttext \input knuth \stoptext BTW: It’s rude to crosspost without mentioning this (http://tex.stackexchange.com/questions/2

[NTG-context] Is there “toffset” option for \setupbackgrounds in context

2016-02-26 Thread Bou Salim
][text][frame=on,toffset=5mm]` I have no effect? With `frameoffset` you can modify the four directions but how about a single direction? Code \setuppapersize[A4] \setuppagenumbering[state=none] \setupbackgrounds[text][text][frame=on,toffset=5mm] \starttext \input knuth

Re: [NTG-context] How can I define a dotted underbar in ConTeXt?

2016-02-15 Thread Hans Hagen
t the code, there was another question on tex.stackexchange on bars: http://tex.stackexchange.com/questions/291946/overstrike-in-context-can-it-overstrike-leaders How to get bars to work with leaders? \setuppapersize[A6][A6] \starttext \overstrike{Hello\hfill world!} % Works OK Hello\leaders

Re: [NTG-context] How can I define a dotted underbar in ConTeXt?

2016-02-15 Thread Aditya Mahajan
on on tex.stackexchange on bars: http://tex.stackexchange.com/questions/291946/overstrike-in-context-can-it-overstrike-leaders How to get bars to work with leaders? \setuppapersize[A6][A6] \starttext \overstrike{Hello\hfill world!} % Works OK Hello\leaders\hbox{.}\hfill world! % Works OK, nothing sp

Re: [NTG-context] not able to change paper sizes

2016-02-04 Thread Pablo Rodriguez
tate=continue] \startsetups[testlayer] \setlayer[test2]{page2} \stopsetups \setupbackgrounds[page][setups=testlayer,background={test1, test2}] \starttext \setuppapersize[A4] Page 1. \page \setuppapersize[A4, landscape]\setuplayout Page 2 \page \stoptext Many

Re: [NTG-context] not able to change paper sizes

2016-02-04 Thread Pablo Rodriguez
etups[testlayer] \setlayer[test1]{page1} \setlayer[test2]{page2} \stopsetups \setupbackgrounds[page][setups=testlayer,background={test1, test2}] \starttext \setuppapersize[A4] Page 1. \page \setuppapersize[A4, landscape]\setuplayout Page 2 \page \stoptext How can

Re: [NTG-context] not able to change paper sizes

2016-02-04 Thread Pablo Rodriguez
dimensions seem not to be adapted: \definepapersize[main] [A4] [A4] \definepapersize[extra][A4,landscape][A4,landscape] \definelayer[test][x=.5\paperwidth, y=.5\paperheight,state=repeat] \setlayer[test]{abcde} \setupbackgrounds[page][background={test}] \s

Re: [NTG-context] not able to change paper sizes

2016-02-03 Thread Hans Hagen
On 2/1/2016 7:38 PM, Pablo Rodriguez wrote: Dear list, in this sample adapted from the documented code: \definepapersize[main] [A4] [A4] \definepapersize[extra][A4,landscape][A4,landscape] \starttext \setuppapersize[main] Page 1. \page Page 2. \page

[NTG-context] not able to change paper sizes

2016-02-02 Thread Pablo Rodriguez
Dear list, in this sample adapted from the documented code: \definepapersize[main] [A4] [A4] \definepapersize[extra][A4,landscape][A4,landscape] \starttext \setuppapersize[main] Page 1. \page Page 2. \page \setuppapersize[extra] Page 2 \page \setuppapersize[main

Re: [NTG-context] papersize A1?

2016-02-02 Thread Hans Hagen
On 2/2/2016 11:02 AM, Procházka Lukáš Ing. wrote: Hello, the following code doesn't produce 594 x 841 mm (A1) page; the resulting size is 594 x 758 mm. Also, there is no "Hello" text. \setuppapersize[A1] \starttext Hello \stoptext What's wrong? for now add t

[NTG-context] papersize A1?

2016-02-02 Thread Procházka Lukáš Ing .
Hello, the following code doesn't produce 594 x 841 mm (A1) page; the resulting size is 594 x 758 mm. Also, there is no "Hello" text. \setuppapersize[A1] \starttext Hello \stoptext What's wrong? Best regards, Lukas -- Ing. Lukáš Procházka | mailto:l...@pont

Re: [NTG-context] invert colors in \externalfigure

2016-01-20 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 20. Januar 2016 um 13:10 Dear list, I have the following sample: \setuppapersize[A6] \setuplayout[width=middle] \starttext \startmakeup[standard][align=center] \dontleavehmode\externalfigure[cow][width=\textwidth] \stopmakeup \stoptext How can I inve

[NTG-context] invert colors in \externalfigure

2016-01-20 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuppapersize[A6] \setuplayout[width=middle] \starttext \startmakeup[standard][align=center] \dontleavehmode\externalfigure[cow][width=\textwidth] \stopmakeup \stoptext How can I invert the colors in the external figure

[NTG-context] Page Numbers change after 9 to 01 - 11 -21 - 31 and so on.

2016-01-18 Thread Ibn Saeed
] \setupalign[r2l] \setuppapersize[A4] \setuplayout[ grid=min, backspace=46.666mm, width=140mm, topspace=33.000mm, height=198mm, header=12.9mm,footer=9mm, ] %% Double sided document \setuppagenumbering[ alternative=doublesided, state=none, location={header,marginedge

Re: [NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Hans Hagen
\setuppapersize[A4] \setuplayout[ grid=min, backspace=55.999mm, width=130mm, topspace=39.666mm, height=210mm, header=12mm, footer=9mm, ] \setupbodyfont[Arabic,24pt] \setupinterlinespace[line=42pt] \setupheads[number=no] \setuphead[chapter] [style=\bfd,before=,after=\blank,alternative

[NTG-context] Arabic Letters are disjointed and reversed in headers and margin

2016-01-17 Thread Ibn Saeed
{\ArabicGlobalDir% \usetypescript[Arabic]% \setupbodyfont[Arabic,20pt]} \definestartstop [arabicpar] [commands=\Arabic\ArabicParDir] \define[1]\RT {{\Arabic\ArabicTextDir#1}} \pagedir TRT \bodydir TRT \pardir TRT \textdir TRT \setuppapersize[A4] \setuplayout[ grid=min, backspace

Re: [NTG-context] Automatic negative tracking to prevent slight overfull hbox's

2016-01-17 Thread Hans Hagen
line seems like a good idea, and I manually insert \kerncharacters commands to do the trick. Here's a MWE for the purpose of demonstration: % ConTeXt code \setuppapersize[A5] \setupbackgrounds[text] [rightframe=on,framecolor=red,rulethickness=0.1pt] %right margin line \setupalign[

Re: [NTG-context] Automatic negative tracking to prevent slight overfull hbox's

2016-01-16 Thread Aditya Mahajan
ually insert \kerncharacters commands to do the trick. Here's a MWE for the purpose of demonstration: % ConTeXt code \setuppapersize[A5] \setupbackgrounds[text] [rightframe=on,framecolor=red,rulethickness=0.1pt] %right margin line \setupalign[hz,hanging] % microtypography enabled \definef

[NTG-context] Automatic negative tracking to prevent slight overfull hbox's

2016-01-14 Thread Alexander Dyomin
trick. Here's a MWE for the purpose of demonstration: % ConTeXt code \setuppapersize[A5] \setupbackgrounds[text] [rightframe=on,framecolor=red,rulethickness=0.1pt] %right margin line \setupalign[hz,hanging] % microtypography enabled \definefontfeature[default][default][protrusion=quality

[NTG-context] tooltip and buttom for footnotes?

2016-01-14 Thread Ursula Hermann
Hello Wolfgang or Hans? Can one of you help me please. Iwant something like this: \setuppapersize[S6][S6] \setupinteraction[state=start] \setupcolors[state=start] \starttext Here is an example: by saying \type{\tooltip[left]{Example}{Is it nice}}, we get \blank \midaligned

Re: [NTG-context] Backgrounds header and footers

2016-01-11 Thread Wolfgang Schuster
Ursula Hermann <mailto:ursula.herm...@univie.ac.at> 11. Januar 2016 um 14:44 Hello evryone! I have just a problem. I want the colored header only in the middle where the text is written, but not in the margin. \setuppapersize[A4] \setupbackgrounds[header][background=color, backgroun

[NTG-context] Backgrounds header and footers

2016-01-11 Thread Ursula Hermann
Hello evryone! I have just a problem. I want the colored header only in the middle where the text is written, but not in the margin. \setuppapersize[A4] \setupbackgrounds[header][background=color, backgroundcolor=gray] \setupbackgrounds[leftmargin][background=color

Re: [NTG-context] spacing in notes

2016-01-11 Thread Wolfgang Schuster
Pablo Rodriguez <mailto:oi...@gmx.es> 11. Januar 2016 um 06:53 Dear list, I have this sample: \showframe \setuppapersize[A7] \setupnotation[footnote][width=broad] \starttext \footnote{\input zapf} \stoptext I need better spacing in footnotes (to avoid horizontal overflows). I thought

[NTG-context] spacing in notes

2016-01-10 Thread Pablo Rodriguez
Dear list, I have this sample: \showframe \setuppapersize[A7] \setupnotation[footnote][width=broad] \starttext \footnote{\input zapf} \stoptext I need better spacing in footnotes (to avoid horizontal overflows). I thought "width=broad" would improve the situ

Re: [NTG-context] Maybe simply, i don't know

2016-01-07 Thread Ursula Hermann
ula.herm...@univie.ac.at> Ursula Hermann 7. Januar 2016 um 15:23 Hello Wolfgang! Here is my example. I found the right command: it was \setupheadertexts \setuppapersize[A4] \setuppagenumbering[location={footer, right},style=bold] \setuphead[chapter][header=empty] \setupheadertexts[1.1 second]

Re: [NTG-context] Maybe simply, i don't know

2016-01-07 Thread Wolfgang Schuster
Ursula Hermann <mailto:ursula.herm...@univie.ac.at> 7. Januar 2016 um 15:23 Hello Wolfgang! Here is my example. I found the right command: it was \setupheadertexts \setuppapersize[A4] \setuppagenumbering[location={footer, right},style=bold] \setuphead[chapter][header

Re: [NTG-context] Switching to landscape

2015-12-29 Thread Wolfgang Schuster
s kept, no manual reset is necessary. See this: %\setuplayout[height=277mm] % This value is useful for portrait orientation; try to un/comment \starttext Aaa \page \setuppapersize[A4,landscape] % "Height" should be reset \setuplayout Bbb \typefile{Text.txt} \stoptext --

Re: [NTG-context] Switching to landscape

2015-12-28 Thread Procházka Lukáš Ing . - Pontex s . r . o .
useful for portrait orientation; try to un/comment \starttext Aaa \page \setuppapersize[A4,landscape] % "Height" should be reset \setuplayout Bbb \typefile{Text.txt} \stoptext Is there a way to "reset" to the default (landscape) layout? (Even \setuplayou

Re: [NTG-context] Switching to landscape

2015-12-27 Thread Wolfgang Schuster
\page %\setuppapersize[A4,landscape] \setuppapersize[A4L] Bbb \stoptext But neither "\setuppapersize[A4,landscape]" nor "\setuppapersize[A4L]" works - still portrait paper orientation; so how to switch to landscape page orientation? It’s a bug but for the moment you can call

[NTG-context] Switching to landscape

2015-12-27 Thread Lukáš Procházka
Hello, I have problem switching to landscape paper size (and landscape printing). Based on http://wiki.contextgarden.net/PaperSetup I have: \definepapersize[A4L][A4,landscape] \starttext Aaa \page %\setuppapersize[A4,landscape] \setuppapersize[A4L] Bbb

Re: [NTG-context] how to stop pagenumbering

2015-12-27 Thread Meer, Hans van der
ements: \usemodule[hvdm-dvd] \starttext \xmlprocessbuffer{dvd}{xmlbuffer}{} \stoptext \endinput in the hvdm-dvd module \setuppagenumber[state=stop] is put inside \startxmlsetups setup-name \setuppapersize[A5][A5] \setuppagenumber[state=stop] "typesetting operations following" \

Re: [NTG-context] how to stop pagenumbering

2015-12-27 Thread Meer, Hans van der
More information on this. Statements: \usemodule[hvdm-dvd] \starttext \xmlprocessbuffer{dvd}{xmlbuffer}{} \stoptext \endinput in the hvdm-dvd module \setuppagenumber[state=stop] is put inside \startxmlsetups setup-name \setuppapersize[A5][A5] \setuppagenumber[state=stop

[NTG-context] Bug in table ?

2015-12-20 Thread Christian Prim
Dear list with the latest context I get wrong alignment in table. MWE: (not so minimal, it's a snippet of my document) \setuppapersize[A5][A5] \setuplayout[location=middle, marking=on, topspace=1.5cm, margin=1cm, headspace=0cm, header=0cm, headerdistance=

[NTG-context] Line height - changes in defaults

2015-10-26 Thread Jan Tosovsky
MWE: \setuppapersize[B5] \setuplayout[header=0cm, footer=1cm, grid=yes] \showgrid % the used font doesn't seem to have any influence on this %\definefontfamily[palatino][rm][Palatino Linotype][features={default, quality}] %\setupbodyfont[palatino, 10pt] \starttext \input{tufte} \stoptext Is

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

2015-10-26 Thread Wolfgang Schuster
age[cs] \setuppapersize[B5] \setuplayout[header=0cm, footer=1cm] \setuppagenumbering[alternative=doublesided, location={footer, right}, style=italic] % page numbering \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][n

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

2015-10-24 Thread Jan Tosovsky
erListNumbercommand, > ... > > > Any idea how to fix this? Is that complex numbercommand unsupported any > more and should be replaced with something else? Or should I report it > somewhere and hope for fixing it? > > It is not urgent now, I just want to avoid a

[NTG-context] Two column layout with footnotes do not work as expected

2015-10-23 Thread Dr. Thomas Möbius
first page, footnotes run into each other. On the second page, footnote runs into text. \setuppapersize[A5][A5] \setupbodyfont[10pt] \definestartstop[abstract] [before={\blank\midaligned{\bf Abstract}\startnarrower[2*middle]}, after={\stopnarrower\blank[big]}] \definecolumnset[TwoColumns

Re: [NTG-context] Troubles with presentations

2015-10-14 Thread Otared Kavian
SetupSteps is undefined. > 3. Command StartSteps is defined but not applied. > > What I am doing wrong? > Is somewhere any more detail documentation? > > Thanks, > > Tomas > > > Almost minimal example: > ---- > >

[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
estA][width=100bp,height=200bp] > \definepapersize[TestB][width=150bp,height=250bp] > > \setuppapersize[TestA][TestB] > > test > > \stoptext > > The auto option only works with layout=middle (message otherwise) as I'm not > going to add all kind of extra calculation code t

Re: [NTG-context] xmlconcat

2015-08-23 Thread Hans Hagen
or calling: \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] \star

[NTG-context] xmlconcat

2015-08-22 Thread Meer, H. van der
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 xmltest:setups \xmlsetsetup{\xmldocument}

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

[NTG-context] creating multirow curly brace in tables to symbolize row span

2015-08-20 Thread Henry House
hese symbols render, 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] \de

[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 as

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

2015-08-02 Thread tala...@fastmail.fm
nslation for each the ten digits. But numberconversion=arabicnumerals is > supposed to work. > > Wassalaam > Idris > > PS \start-stopsection is now standard (\section is still there, but...) > >> >> Mind you, if I manually type such numbers into the body of my

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

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
Talal ===== \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 \stoplinenumbering \footn

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

2015-08-02 Thread tala...@fastmail.fm
contains the numbers > of that script. > > 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]

[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] 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 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 \showframe

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

[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] r2l alignment and linenumbering conflict?

2015-08-01 Thread Idris Samawi Hamid ادريس سماوي حامد
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] 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 tala...@fastmail.fm
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{Incorrect}\startlinenumbering\startalignment[r2l]Lorem ipsum dolor sit

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

2015-07-30 Thread tala...@fastmail.fm
te{هذه هي (التعليقة) الأولى.} > Second note.\footnote{هذه هي (التعليقة) الثانية.} > > \stoptext All the best, Talal > On 30 Jul 2015, at 18:54, Wolfgang Schuster > wrote: > >> Pablo Rodriguez <mailto:oi...@gmx.es>30. Juli 2015 16:26 >> >> I

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

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

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

2015-07-30 Thread Idris Samawi Hamid ادريس سماوي حامد
Hi Wolfgang, On Thu, 30 Jul 2015 11:54:55 -0600, Wolfgang Schuster wrote: 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] \sta

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

2015-07-30 Thread Pablo Rodriguez
ant to me. Pablo > > \setupcolors[state=start] > \definemixedcolumns > [mycolumn] > [ > n=2, > separator=rule, > rulecolor=gray, > rulethickness=1pt, > balance=yes, > ] > \setuppapersize[A4][A4] > > \setuplayout[ > back

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}, paragra

[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

[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

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

2015-07-30 Thread Pablo Rodriguez
nder 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] >>

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

2015-07-30 Thread tala...@fastmail.fm
notations, 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 foo

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] \startt

[NTG-context] Problem with definelabel and footnotes

2015-07-27 Thread Rik Kabel
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

Re: [NTG-context] Setup footnotes mark placement

2015-06-05 Thread Pablo Rodriguez
king the backspace broader? Hi Michał, I 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] \se

[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 a

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

2015-05-29 Thread Sandra Snan
Wolfgang Schuster writes: >> Am 28.05.2015 um 11:37 schrieb Sandra Snan : >>> what happens if you put file: before a name? >> \definefontfamily[futura][sans][file:futuralt] > > Don’t use the “file:” prefix in the third argument. I don't understand this exchange.

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

2015-05-28 Thread Wolfgang Schuster
ty] > \setupsimplefonts[expansion=quality,protrusion=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 en

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

2015-05-28 Thread Sandra Snan
ou put file: before 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] \setup

Re: [NTG-context] arranging pages

2015-05-24 Thread Meer, H. van der
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 arrang

Re: [NTG-context] arranging pages

2015-05-24 Thread dr. Hans van der Meer
2 pages in A5 format besides one another on an A4 page like >> this: >> >> -- >> | | | >> | | | >> | | | >> |1| 2 | >> | | | >> | | | >> --

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 ab

Re: [NTG-context] arranging pages

2015-05-24 Thread Otared Kavian
e another on an A4 page like > this: > > -- > | | | > | | | > | | | > |1| 2 | > | | | > | | | > ------ > > but

[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] 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:-( f

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

2015-05-20 Thread Harald Koenig
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 curr

[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/... in a

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
u make 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,

[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
ult 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{\hsi

Re: [NTG-context] vertical spacing and makeups

2015-04-18 Thread Pablo Rodriguez
is set 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: > > \s

Re: [NTG-context] vertical spacing and makeups

2015-04-18 Thread Wolfgang Schuster
> Am 18.04.2015 um 18:43 schrieb Pablo Rodriguez : > > Dear list, > > I have the following sample: > >\showgrid >\setupinteraction[option=max] >\setuppapersize[S6] >\setuppagenumbering[location=] >\setupbodyfont[100pt] >\se

[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

[NTG-context] Caption location with vertical \startplacefigure

2015-04-16 Thread Rik Kabel
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

[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

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 with

[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] 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
'footnotes']}{} \xmlsetsetup{\xmldocument}{a[@class='uri']}{xml:autolink} \xmlsetsetup{\xmldocument}{a[@class='footnoteBack']}{} \xmlsetsetup{\xmldocument}{a[text()='↩']}{} \stopxmlsetups \xmlregistersetup{xml:initialize} \startxmlsetups xml:doc \se

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

2015-03-27 Thread Pablo Rodriguez
t in case it were, I would suggest the following: \setuplanguage[en][patterns={en,agr}] \setuppapersize[A5] \setupbodyfont[dejavu] \definenote[dict] \setupnote[dict][n=2,rule=off, split=strict, inbetween=\hskip1.5em] \setupnotation[dict][number=no] \starttext Πρῶτον δ

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