Hi Pablo,
Sorry for the late response. I did some tests before answering to
understand your explanations.
- With the commands \ setuppapersize [A4, landscape] and \
setupinteractionscreen [option = landscape] and without selecting anything
in Acrobat, I get the desired double-sided document
- With the command \ setupinteractionscreen [option = landscape] and
without selecting anything in Acrobat, I get a document in double-sided
portrait mode but the back side is upside down
- With the command \ setuppapersize [A4, landscape] and without selecting
anything in Acrobat, I get two documents in landscape mode in the same
direction
I think it's clear now, thank you.
I did a try to get a booklet but the result is not correct because the text
or formulas of mathematics are overflowing in the colums
###################################
document.tex
###################################
\definemixedcolumns
[MyColumns]
[
n=2,
separator=rule,
rulecolor=,
balance=yes,
]
\setupalign[verytolerant,stretch,hanging]
\starttext
\startMyColumns
\dorecurse{6}{\input knuth}
\startformula
\startmathalignment[n=2,align={left,left}]
\NC P_1 + P_2 + \dots + P_{12} \NC = 400 + 400\times 1,05 + 400\times
1,05^2 + \dots + 400 \times 1,05^{11}\NR
\NC \NC = 400\times (1 + 1,05 + 1,05^2 + \dots + 1,05^{11})\NR
\NC \NC = 400\times \frac{1-1,05^{12}}{1-1,05}\approx 6\,367.\NR
\stopmathalignment
\stopformula
\stopMyColumns
\stoptext
Fabrice
2017-10-18 18:44 GMT+02:00 Pablo Rodriguez
On 10/18/2017 06:00 PM, Fabrice Couvreur wrote:
Hi, With this
\setuppapersize[A4,landscape] \setupinteractionscreen[option=landscape]
I get a double-sided page that I can read without having to return the page on the back. But I wish I could fold the sheet to have a booklet.
Difficult to explain without showing. Is it possible ?
Hi Fabrice,
for a booklet I would recommend imposition.
1. Generate the document in the standard way (no landscape).
2. Impose it using the following code:
\setuppapersize [A5][A4,landscape] \setupexternalfigures[interaction=all] \enabledirectives[references.border] \setuparranging [2UP] \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \setupinteraction[state=start] \setupinteractionscreen[option={landscape, fixed, paper}] \starttext \insertpages[document.pdf][width=0pt] \stoptext
A sample for document would be:
\setupbodyfont[600pt] \starttext \dorecurse{4}{\startstandardmakeup[style={\bf\ss}, align=center] \recurselevel \stopstandardmakeup} \stoptext
Althought the paper size from the document is A4, imposition handles it as A5, so it works fine.
BTW, page order in the final booklet is different (you may see it yourself :-)).
I hope it helps,
Pablo -- http://www.ousia.tk ____________________________________________________________ _______________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/ listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ____________________________________________________________ _______________________