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 š
':
\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
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
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
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
\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
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
(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
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
[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
,
٢٨١,٢٨٢,٢٨٣,٢٨٤,٢٨٥,٢٨٦,٢٨٧,٢٨٨,٢٨٩,٢٩٠,
٢٩١,٢٩٢,٢٩٣,٢٩٤,٢٩٥,٢٩٦,٢٩٧,٢٩٨,٢٩٩,٣٠٠,
]
%%% DOCUMENT
\starttext \showframe
\section{section one}
\startlinenumbering
\input tufte
\input tufte
\stoplinenumbering
\dorecurse{20}{
\section{محمد الجمل (١٨٧٢—١٩٢٣)}
مرحباً باعالم . ١٢٣٤٥٦٧٨٩٠ مرحباً بالعالم. ولد
e:linenote]% \setupdirections[bidi=on,method=default,fences=no]%\stopsetups\starttext \showframe\startlinenumbering\input ward\linenote{هذه تعليقة أولى.}\input ward\linenote{هذه تعليقة ثانية.}\input ward\linenote{هذه تعليقة ثالثة.}مرحباً بالعالم مرحباً بالعالم مرحباً بالعالم . هذا مثال على استعمال كونتكست لأجل تحقيق
]
\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
٦٨,٢٦٩,٢٧٠, ٢٧١,٢٧٢,٢٧٣,٢٧٤,٢٧٥,٢٧٦,٢٧٧,٢٧٨,٢٧٩,٢٨٠, ٢٨١,٢٨٢,٢٨٣,٢٨٤,٢٨٥,٢٨٦,٢٨٧,٢٨٨,٢٨٩,٢٩٠, ٢٩١,٢٩٢,٢٩٣,٢٩٤,٢٩٥,٢٩٦,٢٩٧,٢٩٨,٢٩٩,٣٠٠,]%%% DOCUMENT\starttext \showframe\section{section one}\startlinenumbering\input tufte\input tufte\stoplinenumbering\dorecurse{20}{\section{محمد الجمل (١٨٧٢—١٩٢٣)} مرحباً باعالم . ١٢٣٤٥٦٧٨٩٠ مرحباً با
[#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
,
]
\setupbodyfont [mainface]
\starttext \showframe
\setupdirections[bidi=global]
\setupthinrules[color=white]
\setupwhitespace[big]
\section{Incorrect}
\startlinenumbering
\startalignment[r2l]
هذه رسالة لطيفة ألفها العالم الكبير الفهامة النحرير.
هذه رسالة جامعة مانعة ألفها الشيخ الفاضل
\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
\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
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
=
\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
=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
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
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
\showframe
\startalignment[righttoleft,flushleft]
\input ward
\blank
\startlinenumbering
\input ward
\stoplinenumbering
\stopalignment
\stoptext
Wolfgang
___
If your question is of interest
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
, 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
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
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
\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
:
\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
, 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
}
{\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
=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
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
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
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
=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
.
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
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
:
\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
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
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
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
\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
=\textwidth,height=\dimexpr\textheight-\strutdp\relax,align={middle,lohi}]
\placeheadtext[Volume]
\stopframed
\else
\setfalse\libraryentries
\fi
\stopsetups
%\showframe[text][text]
\starttext
\placelist[Volume,Library
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
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
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
, 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_
?
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
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
/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
, 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
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
}{\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
}
\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
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
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
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
\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
]
[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
,
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
=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
]
\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
[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
]
\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
},
},
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
= 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
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
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
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
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
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
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
]
\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
\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
]
\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
=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
]
\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
]).
\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
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
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
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
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
...@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
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
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
, 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
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
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
=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
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
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
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
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
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
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
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
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
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
701 - 800 of 1828 matches
Mail list logo