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] Set PDF TrimBox

2015-08-21 Thread Hans Hagen
will have this extra 'feature': \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

Re: [NTG-context] Command that does not give the expected result (Metafun)

2015-08-10 Thread Fabrice Couvreur
the definition and operation, which is not always easy with TeX commands. Also, in the following code, this does not give the expected result. Thank you. Fabrice \showframe \setupcolors [state=start] \setuppagenumbering[location=,alternative] \startuniqueMPgraphic{titled} path p ; p

[NTG-context] Command that does not give the expected result (Metafun)

2015-08-09 Thread Fabrice Couvreur
Hi Hans, In the document Metafun, you use commands that I like, and I try to understand the definition and operation, which is not always easy with TeX commands. Also, in the following code, this does not give the expected result. Thank you. Fabrice \showframe \setupcolors [state=start

Re: [NTG-context] Command that does not give the expected result (Metafun)

2015-08-09 Thread Hans Hagen
\showframe \setupcolors [state=start] \setuppagenumbering[location=,alternative] \startuniqueMPgraphic{titled} path p ; p := unitsquare xscaled OverlayWidth yscaled OverlayHeight ; pickup pencircle scaled 1mm ; drawoptions(withcolor .625yellow) ; draw llcorner p--lrcorner p ; setbounds

[NTG-context] Some questions about an environment (Metafun)

2015-08-04 Thread Fabrice Couvreur
Hi, How to have Definition 1, Definition 2, Definition 3 ... ? Is it possible to translate the image p until the left edge of the text area ? Thank you, Fabrice \showframe \setupcolors[state=start,cmyk=yes] \definecolor[MyColor][c=0.00, m=0.10, y=0.20, k=0.00] \definecolor[myColor][c=0.00, m

Re: [NTG-context] Some questions about an environment (Metafun)

2015-08-04 Thread Hans Hagen
(0,OverlayHeight-ypart center p) ; fill OverlayBox leftenlarged .1TextWidth withcolor \MPcolor{MyColor} ; fill boundingbox p withcolor \MPcolor{myColor} ; draw p withcolor white ; setbounds currentpicture to OverlayBox ; \stopuseMPgraphic Thank you, Fabrice \showframe

Re: [NTG-context] Some questions about an environment (Metafun)

2015-08-04 Thread Fabrice Couvreur
you, Fabrice \showframe \setupcolors[state=start,cmyk=yes] \definecolor[MyColor][c=0.00, m=0.10, y=0.20, k=0.00] \definecolor[myColor][c=0.00, m=0.62, y=1.00, k=0.00] \setupbodyfont[11pt] \defineoverlay[MyFrame][\useMPgraphic{MyFrame}] \defineframedtext [MyText] [frame=off

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

2015-08-03 Thread tala...@fastmail.fm
[note:linenotedefault] \setupdirections[bidi=on,method=default] \stopsetups \startsetups[note:linenoteone] \setupdirections[bidi=on,method=one] \stopsetups \startsetups[note:linenotetwo] \setupdirections[bidi=on,method=two] \stopsetups %%% DOCUMENT \starttext \showframe

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

2015-08-03 Thread tala...@fastmail.fm
, ٢٨١,٢٨٢,٢٨٣,٢٨٤,٢٨٥,٢٨٦,٢٨٧,٢٨٨,٢٨٩,٢٩٠, ٢٩١,٢٩٢,٢٩٣,٢٩٤,٢٩٥,٢٩٦,٢٩٧,٢٩٨,٢٩٩,٣٠٠, ] %%% DOCUMENT \starttext \showframe \section{section one} \startlinenumbering \input tufte \input tufte \stoplinenumbering \dorecurse{20}{ \section{محمد الجمل (١٨٧٢—١٩٢٣)} مرحباً باعالم . ١٢٣٤٥٦٧٨٩٠ مرحباً بالعالم. ولد

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

2015-08-03 Thread tala...@fastmail.fm
e:linenote]% \setupdirections[bidi=on,method=default,fences=no]%\stopsetups\starttext \showframe\startlinenumbering\input ward\linenote{هذه تعليقة أولى.}\input ward\linenote{هذه تعليقة ثانية.}\input ward\linenote{هذه تعليقة ثالثة.}مرحباً بالعالم مرحباً بالعالم مرحباً بالعالم . هذا مثال على استعمال كونتكست لأجل تحقيق

[NTG-context] Floating dimensions that adapts automaticall

2015-08-03 Thread Fabrice Couvreur
] \setupfloat [MyFloat] [default={right,none}] \startsetups[table:initialize] \setupTABLE[start][align={middle,lohi},width=2cm,offset=1ex] \setupTABLE[column][first][width=4cm] \setupTABLE[row][first][background=color,backgroundcolor=lightgray] \stopsetups \showframe \starttext

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

2015-08-03 Thread tala...@fastmail.fm
٦٨,٢٦٩,٢٧٠, ٢٧١,٢٧٢,٢٧٣,٢٧٤,٢٧٥,٢٧٦,٢٧٧,٢٧٨,٢٧٩,٢٨٠, ٢٨١,٢٨٢,٢٨٣,٢٨٤,٢٨٥,٢٨٦,٢٨٧,٢٨٨,٢٨٩,٢٩٠, ٢٩١,٢٩٢,٢٩٣,٢٩٤,٢٩٥,٢٩٦,٢٩٧,٢٩٨,٢٩٩,٣٠٠,]%%% DOCUMENT\starttext \showframe\section{section one}\startlinenumbering\input tufte\input tufte\stoplinenumbering\dorecurse{20}{\section{محمد الجمل (١٨٧٢—١٩٢٣)} مرحباً باعالم . ١٢٣٤٥٦٧٨٩٠ مرحباً با

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

2015-08-02 Thread tala...@fastmail.fm
[#1]} \newcounter\countvariants \unexpanded\def\variant {\doglobal\increment\countvariants \normalexpanded{\doVariant{Varia:\countvariants}}} \setupalign[r2l] \showframe \starttext \section{Correct} Lorem ipsum dolor sit amet, consectetur adipiscing elit

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

2015-08-02 Thread tala...@fastmail.fm
, ] \setupbodyfont [mainface] \starttext \showframe \setupdirections[bidi=global] \setupthinrules[color=white] \setupwhitespace[big] \section{Incorrect} \startlinenumbering \startalignment[r2l] هذه رسالة لطيفة ألفها العالم الكبير الفهامة النحرير. هذه رسالة جامعة مانعة ألفها الشيخ الفاضل

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

2015-08-02 Thread Idris Samawi Hamid ادريس سماوي حامد
\showframe \setupthinrules[color=white] \setupwhitespace[big] \section{Incorrect} \startlinenumbering \startalignment[r2l] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque molestie dictum quam non congue. Integer ut dolor vel mi vestibulum molestie vel et nulla.\thinrule

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

2015-08-02 Thread tala...@fastmail.fm
\showframe \righttoleft %\setupdirections[bidi=global,method=two] \section{section one} \startlinenumbering \input ward \stoplinenumbering \footnote{I would like the footnote number — like the page number, section number, and linenumbers — to be in the so-called Arabic-Indic script

[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
=arabic,range=arabic,] \setupbodyfont [mainface,10pt] \starttext \showframe \righttoleft %\setupdirections[bidi=global,method=two] \section{section one} \startlinenumbering \input ward \stoplinenumbering \footnote{I would like the footnote number — like the page number, section number

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

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

2015-08-01 Thread Wolfgang Schuster
\showframe \startalignment[righttoleft,flushleft] \input ward \blank \startlinenumbering \input ward \stoplinenumbering \stopalignment \stoptext Wolfgang ___ If your question is of interest

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

2015-07-30 Thread tala...@fastmail.fm
I wonder whether anyone might have any thoughts about the below? Many thanks. On 21 Jul 2015, at 20:56, tala...@fastmail.fm wrote: I’m reviving this old thread, as the problem appears to still exist. Consider the following: \starttext \showframe \definenote[afootnote][rule={on,right

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
\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 three

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 Pablo Rodriguez
} {\iftrialtypesetting\unvcopied\else\unvboxed\fi\currentnoteinsertionnumber}% \endgroup} \protect %\setupalign[righttoleft] \setupnote[footnote][paragraph=yes,align=righttoleft] \setupnotation[footnote][align=righttoleft] \showframe \starttext First note.\footnote{This is the first footnote

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

2015-07-30 Thread tala...@fastmail.fm
=righttoleft,setups=note:footnote,] \setupnotation[footnote][align=righttoleft,alternative=serried,] \showframe \starttext First note.\footnote{هذه هي (التعليقة) الأولى.} Second note.\footnote{هذه هي (التعليقة) الثانية.} \stoptext All the best, Talal On 30 Jul 2015, at 18:54, Wolfgang

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] chapter only in bookmarks (not in text or in TOC)

2015-07-06 Thread Hans Hagen
On 7/5/2015 7:54 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \showframe \setupinteraction[state=start] \placebookmarks[chapter] \definehead[hiddentitle][chapter] \setuphead[hiddentitle][incrementnumber=no] \starttext \completecontent

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

2015-07-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe \setupinteraction[state=start] \placebookmarks[chapter] \definehead[hiddentitle][chapter] \setuphead[hiddentitle][incrementnumber=no] \starttext \completecontent \hiddentitle{Prologue} aa\page aa \chapter

Re: [NTG-context] How to implement a head like this?

2015-07-04 Thread 土卜皿
=red]\framed[width=8cm,align=left]{#1}%\framed[width=12cm,align=right,leftframe=off]{#2}%\egroup}\setuplayout[topspace=\zeropoint, height=fit, footerdistance=2cm] \showframe \useURL[aurl][http://cs.ucsd.edu/~mmoghimi][][ http://cs.ucsd.edu/~mmoghimi] \starttext \HeadTitle{{\tfb Mohammad

Re: [NTG-context] bug in latest beta?

2015-06-01 Thread Otared Kavian
. I replacing \subsection with \section gives the right page break: \showframe\showgrid \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \setup[reset] \widowpenalty=1 \clubpenalty=1 \brokenpenalty=0 \stopsetups

Re: [NTG-context] bug in latest beta?

2015-05-31 Thread Hans Hagen
gives the right page break: \showframe\showgrid \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \setup[reset] \widowpenalty=1 \clubpenalty=1 \brokenpenalty=0 \stopsetups \setupbodyfont[pagella, 12.6pt] \starttext

Re: [NTG-context] bug in latest beta?

2015-05-31 Thread Pablo Rodriguez
: \showframe\showgrid \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \setup[reset] \widowpenalty=1 \clubpenalty=1 \brokenpenalty=0 \stopsetups \setupbodyfont[pagella, 12.6pt] \starttext \chapter{Quotes} \section{Zapf

Re: [NTG-context] bug in latest beta?

2015-05-28 Thread Hans Hagen
On 5/27/2015 10:38 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \showframe\showgrid \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \setup[reset] \widowpenalty=1 \clubpenalty=1 \brokenpenalty=0

Re: [NTG-context] bug in latest beta?

2015-05-28 Thread Otared Kavian
list, I have the following sample: \showframe\showgrid \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \setup[reset] \widowpenalty=1 \clubpenalty=1 \brokenpenalty=0 \stopsetups \setupbodyfont[pagella, 12.6pt] \starttext

[NTG-context] bug in latest beta?

2015-05-27 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe\showgrid \setuplayout[setups=*lessstrict] \startsetups[*lessstrict] \setup[reset] \widowpenalty=1 \clubpenalty=1 \brokenpenalty=0 \stopsetups \setupbodyfont[pagella, 12.6pt

Re: [NTG-context] Preventing double title pages for nested content

2015-05-21 Thread Kate F
\stopsetups %\showframe[text][text] \starttext \placelist[Volume,Library,Manpage] \startVolume[title=Section 1: Programs] \dorecurse{3}{\startManpage[title=progxyz(1)] \input lorem \stopManpage} \stopVolume \startVolume[title=Section 2: Syscalls] \dorecurse{3} {\startManpage[title

Re: [NTG-context] Preventing double title pages for nested content

2015-05-21 Thread Wolfgang Schuster
=\textwidth,height=\dimexpr\textheight-\strutdp\relax,align={middle,lohi}] \placeheadtext[Volume] \stopframed \else \setfalse\libraryentries \fi \stopsetups %\showframe[text][text] \starttext \placelist[Volume,Library

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

2015-05-11 Thread Wolfgang Schuster
the space before the images changes \showframe \starttext \chapter{Test} \placefigure[top]{Dummy}{\externalfigure[dummy]} \input tufte \stoptext Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] external figure sizing

2015-05-09 Thread Hans Hagen
by height and vice versa. Defining both width and height results in exact resizing and the aspect ratio is not maintained. How can this be solved? \useMPlibrary[dum] \showframe \starttext \setuplayout[middle] \defineexternalfigure[quarter][factor=max] \vbox{\dorecurse{4}{\hbox{\hsize.25

[NTG-context] Right Margin Being ignored bug?

2015-05-02 Thread henman
ideas on how I can get ConText to split the lines and honor the righ margin space? Thanks \starttext % \showlayout \showframe _, 20__, at , California. \startitemize[n] \item by Lessor/Optionor and Lessee

Re: [NTG-context] Right Margin Being ignored bug?

2015-05-02 Thread Pablo Rodriguez
, you should add \hskip0pt between two underscore hyphens to enable line breaking. I would avoid it since it doesn’t work well. It might be a bug. \showframe \starttext \fillinline[width=2cm]{name} \fillinrules[n=4,width=2cm, separator=:]{Name} _\hskip0pt_\hskip0pt_\hskip0pt_

[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

Re: [NTG-context] line numbers position

2015-04-16 Thread Hans Hagen
with latest beta, line numbers are partly off the page: http://www.ousia.tk/latestbeta-linenumbers.png. Compiled with beta from 2014.03.07 11:42, they fit in the page: http://www.ousia.tk/20140307-linenumbers.png. Is this an old bug or am I missing something? can you run with \showframe

Re: [NTG-context] line numbers position

2015-04-16 Thread Pablo Rodriguez
/20140307-linenumbers.png. Is this an old bug or am I missing something? can you run with \showframe? Updated images. Latest beta: http://www.ousia.tk/latestbeta-linenumbers.png. Beta from 2014.03.07 11:42: http://www.ousia.tk/20140307-linenumbers.png. Pablo -- http://www.ousia.tk

Re: [NTG-context] line numbers position

2015-04-16 Thread Hans Hagen
, they fit in the page: http://www.ousia.tk/20140307-linenumbers.png. Is this an old bug or am I missing something? can you run with \showframe? Updated images. Latest beta: http://www.ousia.tk/latestbeta-linenumbers.png. Beta from 2014.03.07 11:42: http://www.ousia.tk/20140307-linenumbers.png

[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] automatic generation of em dash at the beginning of a line

2015-03-02 Thread Alan BRASLAU
}{\emdash}{\emdash}\nbsp} \setuplayout[width=21mm] \setuplayout[width=24mm] \setuptolerance[verytolerant] \showframe test test \LEFT a test and some more test\RIGHT\ test test \stoptext All Best Piotr 2015-03-01 17:58 GMT+01:00 Hans Hagen pra...@wxs.nl: On 3/1/2015 5

Re: [NTG-context] automatic generation of em dash at the beginning of a line

2015-03-02 Thread Hans Hagen
} \setuplayout[width=21mm] \setuplayout[width=24mm] \setuptolerance[verytolerant] \showframe test test \LEFT a test and some more test\RIGHT\ test test \stoptext All Best Piotr 2015-03-01 17:58 GMT+01:00 Hans Hagen pra...@wxs.nl: On 3/1/2015 5:41 PM, Piotr Kopszak wrote: Hello list, This is probably

[NTG-context] setup different layouts in merged documents

2015-02-17 Thread Pablo Rodriguez
Dear list, I have the following sample: \setuplayout[margin=20mm, width=fit, topspace=45mm, bottomspace=25mm,height=fit] \showframe \definelayout[first][margin=20mm, width=fit, topspace=110mm, bottomspace=20mm, height=fit] \usemodule[scancsv] \starttext \startbuffer[text-content] \definelayer

Re: [NTG-context] setup different layouts in merged documents

2015-02-17 Thread Wolfgang Schuster
Am 17.02.2015 um 20:49 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \setuplayout[margin=20mm, width=fit, topspace=45mm, bottomspace=25mm,height=fit] \showframe \definelayout[first][margin=20mm, width=fit, topspace=110mm, bottomspace=20mm, height=fit

Re: [NTG-context] setup different layouts in merged documents

2015-02-17 Thread Pablo Rodriguez
On 02/17/2015 08:59 PM, Wolfgang Schuster wrote: Am 17.02.2015 um 20:49 schrieb Pablo Rodriguez: [...] \setuplayout[margin=20mm, width=fit, topspace=45mm, bottomspace=25mm,height=fit] \showframe \definelayout[first][margin=20mm, width=fit, topspace=110mm, bottomspace=20mm, height=fit

Re: [NTG-context] Disappearing backgrounds/pagenumbers with \page[none]

2015-02-09 Thread Aditya Mahajan
\pageornamentstate \or \pageornamentstate\zerocount \fi \to \everyaftershipout sure Not sure if this completely fixes the problem. For example: \definepagebreak [chapterpagebreak] [yes, blank, right] \setuphead [chapter] [page=chapterpagebreak] \showframe

Re: [NTG-context] Disappearing backgrounds/pagenumbers with \page[none]

2015-02-09 Thread Wolfgang Schuster
] [page=chapterpagebreak] \showframe \starttext \startchapter [title={First Chapter Title}] \dorecurse{6}{\input knuth \par} \stopchapter \startchapter [title={Second Chapter Title}] \dorecurse{6}{\input knuth \par} \stopchapter \stoptext There is no page number

[NTG-context] 2UP Arranging

2015-02-02 Thread John Kitzmiller
, rightmargindistance=3mm, rightmargin=25mm, ] \showframe \starttext \dorecurse{4}{\input ward \page} \stoptext And this gives an image of the desired layout: \definepapersize[booklet][width=140mm,height=216mm] \setuppapersize[booklet][letter,landscape] \setuppagenumbering[alternative

Re: [NTG-context] letter booklet

2015-01-31 Thread John Kitzmiller
=0mm, rigthedge=0mm] \showframe \starttext \dorecurse{8}{\input Ward \page} \stoptext but the inside and outside margins do not line up. Where is the elegant path? 1. Set your document doublesided with \setuppagenumbering[alternative=doublesided] 2. Reduce the width

[NTG-context] bibliography: alignment of first hanging lines in publications list, hyphenation

2015-01-27 Thread Jörg Weger
] \usebtxdataset[testbib_daf.bib] \showframe \setbreakpoints[compound] \setupalign [hyphenated,justified,hanging,hz,] \definefontfeature[default][default][expansion=quality,protrusion=quality,] \hyphenation{Helbig Deutscher Heraus-geber} \starttext \cite[authoryears][weinrich:2006] \cite[authoryear

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
] \setuparranging[2UP,doublesided] \setuplayout[width=115mm, leftedge=0mm, leftmargin=0mm, backspace=15mm, rightmargin=0mm, rigthedge=0mm] \showframe \starttext \dorecurse{8}{\input Ward \page} \stoptext but the inside and outside margins do not line up. Where is the elegant path? Thanks

Re: [NTG-context] Problem with luacode

2015-01-22 Thread Hans Hagen
}, }, macro = test, } \stopluacode \starttext \ss \showframe \input{tufte} \test[1,6,1]{GROUND EGRESS} \stoptext This code is not working, I get an error while calling the function, and I don’t understand why. \definepapersize [normal] [width=14.85cm

[NTG-context] Problem with luacode

2015-01-20 Thread Eric Gerard
= test, } \stopluacode \starttext \ss \showframe \input{tufte} \test[1,6,1]{GROUND EGRESS} \stoptext This code is not working, I get an error while calling the function, and I don’t understand why. Can you explain if you have a bit of time the remark you made about the overload

Re: [NTG-context] adapt fontsize to given width

2015-01-14 Thread Wolfgang Schuster
Am 14.01.2015 um 18:58 schrieb Wolfgang Schuster schuster.wolfg...@gmail.com: Am 14.01.2015 um 17:50 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \showframe \starttext {\setupbodyfont[120pt]My Title} \stoptext Is there a way to make

Re: [NTG-context] adapt fontsize to given width

2015-01-14 Thread Hans Hagen
On 1/14/2015 7:05 PM, Alan BRASLAU wrote: On Wed, 14 Jan 2015 17:50:12 +0100 Pablo Rodriguez oi...@gmx.es wrote: Dear list, I have the following sample: \showframe \starttext {\setupbodyfont[120pt]My Title} \stoptext Is there a way to make ConTeXt automatically calculate

Re: [NTG-context] adapt fontsize to given width

2015-01-14 Thread Wolfgang Schuster
Am 14.01.2015 um 17:50 schrieb Pablo Rodriguez oi...@gmx.es: Dear list, I have the following sample: \showframe \starttext {\setupbodyfont[120pt]My Title} \stoptext Is there a way to make ConTeXt automatically calculate the size of the \setupbodyfont, so

[NTG-context] adapt fontsize to given width

2015-01-14 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe \starttext {\setupbodyfont[120pt]My Title} \stoptext Is there a way to make ConTeXt automatically calculate the size of the \setupbodyfont, so that the passage fits exactly to text width? Many thanks for your help, Pablo

Re: [NTG-context] adapt fontsize to given width

2015-01-14 Thread Alan BRASLAU
On Wed, 14 Jan 2015 17:50:12 +0100 Pablo Rodriguez oi...@gmx.es wrote: Dear list, I have the following sample: \showframe \starttext {\setupbodyfont[120pt]My Title} \stoptext Is there a way to make ConTeXt automatically calculate the size of the \setupbodyfont, so

Re: [NTG-context] Center two frames

2015-01-14 Thread Pablo Rodriguez
a different width to center the frame. Reducing the value of u to 0.175cm does work (although this is almost useless :-)). An xtable may do what you need: %~ \showframe \definecolor[Border][c=0.00, m=0.00, y=0.00, k=0.25] \defineframed [Myframed] [width=0.6\textwidth, foregroundstyle

Re: [NTG-context] Delayed page layout change?

2015-01-11 Thread Hans Hagen
] \definelayout [even] [backspace=4cm,height=19cm] \definelayout [5][backspace=5cm,height=20cm] \definelayout [6][backspace=5cm] \definelayout [-2] [backspace=0cm,cutspace=0cm] \definelayout [last] [backspace=0cm,cutspace=0cm] \checkcurrentlayout \showframe \starttext \dorecurse{20

Re: [NTG-context] Delayed page layout change?

2015-01-11 Thread David Brooks
\showframe \starttext \dorecurse{20} {\input knuth \endgraf \input tufte \endgraf} \stoptext so you can play with these settings Thanks, but if the page width changes the current paragraph's width does not adjust across the page boundary, as seen with: \setuppagenumbering[alternative=doublesided

Re: [NTG-context] Delayed page layout change?

2015-01-11 Thread Hans Hagen
] \definelayout [even] [backspace=4cm,width=14cm] \checkcurrentlayout \showframe \starttext \dorecurse{4} {\input knuth \endgraf \input tufte \endgraf} \stoptext That is because the paragraph is already typeset .. in principle we can have a simple reflow but then users would ask for more

Re: [NTG-context] Delayed page layout change?

2015-01-11 Thread David Brooks
=18cm] \definelayout [odd] [backspace=1cm] \definelayout [even] [backspace=4cm,width=14cm] \checkcurrentlayout \showframe \starttext \dorecurse{4} {\input knuth \endgraf \input tufte \endgraf} \stoptext That is because the paragraph is already typeset .. in principle we can have a simple

Re: [NTG-context] Delayed page layout change?

2015-01-11 Thread Hans Hagen
] \setuplayout [width=11cm,height=18cm] \definelayout [odd] [backspace=1cm] \definelayout [even] [backspace=4cm,width=14cm] \checkcurrentlayout \showframe \starttext \dorecurse{4} {\input knuth \endgraf \input tufte \endgraf} \stoptext That is because the paragraph is already

Re: [NTG-context] Center horizontally and vertically a table with a graphic in a paragraph environment

2015-01-09 Thread Pablo Rodriguez
]). \showframe \setuplayout[backspace=2.5cm, width=middle] \startsetups[table:initialize] \setupTABLE[start][align={middle,lohi},width=1.5cm,offset=0.5ex,style=small] \setupTABLE[row][first][background=color,backgroundcolor=lightgray] \stopsetups \usemodule[graph] \definecolor[mycolor][c=.4,m=0,y=0,k=0

Re: [NTG-context] fluctuating baseline of header text

2014-12-27 Thread Hans Hagen
a guess. can someone confirm the problem? Hi Jörg, this sample shows the issue without zooming: thanks for confirming this. @devs: can this be considered misbehaviour (not to call it a bug ;-)) or is it somehow unavoidable? it's not a bug at all .. you just get what you ask for \showframe

Re: [NTG-context] fluctuating baseline of header text

2014-12-27 Thread j. van den hoff
unavoidable? it's not a bug at all .. you just get what you ask for good to know. \showframe \showglyphs your header is too small so what you want only works if the heights of all characters are the same which is not the case here well this seems not to be the whole explanation AFAICS

Re: [NTG-context] fluctuating baseline of header text

2014-12-27 Thread j. van den hoff
coming back to this again, if one uses old-style numerals for the page numbering the problem is aggravated: \showframe\showglyphs \definefontfeature [default] [default] [onum=yes] \definefontfamily [mainface] [serif] [garamondno8] \setupbodyfont[mainface,12pt] \setupheader [style

Re: [NTG-context] text height

2014-12-23 Thread Wolfgang Schuster
of the height key. begin example \showframe \starttext \input knuth \page \setuplayout[height=10cm] \input knuth \page \setuplayout[height=22cm] \input knuth \stoptext end example Wolfgang

Re: [NTG-context] text height

2014-12-23 Thread Andrea Valle
...@di.unito.it: Dear, sorry for the dumb question. how do I increase text height by reducing the space under footer without changing the other ones? I’m a bit confused by the discussion on setuplayout You have to change only the value of the height key. begin example \showframe

Re: [NTG-context] setting margins in makeup

2014-12-20 Thread Pablo Rodriguez
On 12/19/2014 03:33 PM, Mark Szepieniec wrote: Also, the manual says I can use the command \showframe to display frames to help in debugging, but that doesn't seem to do anything for me? Hi Mark, I removed the most part of the message, because I think you solved it (as you posted in a reply

[NTG-context] setting margins in makeup

2014-12-19 Thread Mark Szepieniec
properly. (Backspace seems ok), Am I doing something wrong or is there a better way to achieve this? Also, the manual says I can use the command \showframe to display frames to help in debugging, but that doesn't seem to do anything for me? Thanks in advance, Mark

Re: [NTG-context] setting margins in makeup

2014-12-19 Thread Mark Szepieniec
, the manual says I can use the command \showframe to display frames to help in debugging, but that doesn't seem to do anything for me? Thanks in advance, Mark ___ If your question is of interest to others as well, please

Re: [NTG-context] bug in \setupitemize?

2014-12-12 Thread Hans Hagen
On 12/11/2014 7:04 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \showframe\showgrid \setuppapersize[A6] \setupitemize[inbetween={\blank[preference,big]}] \starttext \dorecurse{3}{\dorecurse{3}{Sometimes is really hard to place list items. Am

[NTG-context] bug in \setupitemize?

2014-12-11 Thread Pablo Rodriguez
Dear list, I have the following sample: \showframe\showgrid \setuppapersize[A6] \setupitemize[inbetween={\blank[preference,big]}] \starttext \dorecurse{3}{\dorecurse{3}{Sometimes is really hard to place list items. Am I missing something? }\par} \startitemize

Re: [NTG-context] Problems with repeating layers

2014-12-09 Thread Reza Housseini
=MyLayer] \starttext \dorecurse{5}{\input knuth} \stoptext Also there seems to be a bug with \showframe. When I use this command my figure is only displayed on the first page (as desired). I wasn’t able to reproduce this. Placing \showframe before of after \setupbackgrounds

Re: [NTG-context] Problems with repeating layers

2014-12-08 Thread Pablo Rodriguez
to be a bug with \showframe. When I use this command my figure is only displayed on the first page (as desired). I wasn’t able to reproduce this. Placing \showframe before of after \setupbackgrounds in the previous document, states (http://wiki.contextgarden.net/Layers#State) work fine. I hope it helps

[NTG-context] Problems with repeating layers

2014-12-07 Thread Reza Housseini
get's repeated every page but I only want it on the first page. The parameter state=start does not change anything. Is there a way to disable the layer on the next page. Also there seems to be a bug with \showframe. When I use this command my figure is only displayed on the first page (as desired

Re: [NTG-context] two issues with new hyphenator

2014-12-04 Thread Pablo Rodriguez
commands, not for the whole text. Here is a minimal sample: \showframe \setupcolor[state=start] \setuplayout[backspace=95mm, width=middle] \definetype[TeXcode][option=TEX, compact=absolute] \unexpanded\def\tex#1{\normalexpanded{\TeXcode{\letterbackslash#1}}} \starttext \tex{thisisaverylongcommand

Re: [NTG-context] two issues with new hyphenator

2014-12-04 Thread Hans Hagen
from the font and enable it only for certain commands, not for the whole text. Here is a minimal sample: \showframe \setupcolor[state=start] \setuplayout[backspace=95mm, width=middle] \definetype[TeXcode][option=TEX, compact=absolute] \unexpanded\def\tex#1{\normalexpanded{\TeXcode{\letterbackslash#1

Re: [NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-25 Thread Richard Sherman
Wolfgang Schuster schuster.wolfgang at gmail.com writes: ... \setuppagenumbering[style=\ttc] \setuplayout[backspace=4cm] \showframe \setupmarginframed[inmargin][align=flushleft] \setupmargindata [inmargin][style={\switchtobodyfont[ss,18]}] % Faster method to switch the font

Re: [NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-25 Thread Wolfgang Schuster
Am 25.11.2014 um 10:14 schrieb Richard Sherman rss@gmail.com: Wolfgang Schuster schuster.wolfgang at gmail.com writes: ... \setuppagenumbering[style=\ttc] \setuplayout[backspace=4cm] \showframe \setupmarginframed[inmargin][align=flushleft] \setupmargindata [inmargin][style

[NTG-context] wrong line break in linenotes

2014-11-24 Thread Pablo Rodriguez
Dear list, sorry for writting again about this, but I have this sample: \showframe \definepapersize[HippPaper][width=6in, height=9in] \setuppapersize[HippPaper] \setupnote[linenote][rule=off, paragraph=yes, split=verystrict, scope=text, inbetween=\hskip1.5em, compress=yes] \setupnotation

Re: [NTG-context] setupinmargin, setupmargindata ; page numbers ; fonts

2014-11-24 Thread Wolfgang Schuster
in \setupmargindata. 3. The alignment in the margin text can be set with \setupmarginframed or the second optional argument of \inmargin. \setuppagenumbering[style=\ttc] \setuplayout[backspace=4cm] \showframe \setupmarginframed[inmargin][align=flushleft] \setupmargindata [inmargin][style

Re: [NTG-context] aligning \placetable with bidi

2014-11-17 Thread Hans Hagen
On 11/16/2014 8:53 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, In the following, we middle align both \placetable's: \setupbodyfont[tt] \definefont[ALM][file:almfixed.otf*arabic at 12pt] \setupdirections[bidi=global] \setupxtable[width=1in] \showframe

<    3   4   5   6   7   8   9   10   11   12   >