Hi Wolfgang,
Thanks for your explanations and the correct definition of the close symbol in
an enumeration.
Following up the discussions with Hans, in order to put a close sympbol at the
end of a formula, I have the following for the definition of \qed:
%% begin example-qed.tex
\showframe
idth=\textwidth,height=\textheight,#1]%
> > \vbox
> > orientation 1
> > \doifelsedimension{\dummyparameter{width}}{to
> > \dummyparameter{width}}{}%
> > \bgroup
> > \doifelsedimension{\dummyparameter{height}}{\hsize
> > \dummyparameter{height}}{}}
> &
test
\starttext
\definefont
[MyFont]
[file:mnglwhiteotf.ttf*default,mongolian @ 24pt]
\showframe
\startvertical
\MyFont
\setupalign[stretch,tolerant,stretch]
\setupinterlinespace[40pt]%
ᠣᠢᠷᠠ ᠵᠢᠨ ᠡᠳᠦᠷ᠂ ᠦᠪᠦᠷ ᠮᠣᠩᠭᠣᠯ ᠦᠨ ᠰᠢᠯᠢ ᠵᠢᠨ ᠭᠣᠣᠯ ᠠᠢᠮᠠᠭ ᠦᠨ ᠰᠢᠯᠣᠭᠣᠨ ᠬᠦᠬᠡ
ᠬᠣᠰᠢᠭᠣᠨ ᠦ ᠰᠢᠭᠦᠬᠦ ᠬᠣᠷᠢᠶᠠ
example below.
Best regards: Otared
%%% sidenotes, or footnotes in the margin
%%% example given by Hraban:
%%% here the tweaking of the width of the sidenote is turned off
%%% remove the comment where there is \ColWidth
%%% in order to adapt to your layout
\showframe
\setuplayout
[cutspace
the layout
>> is such that for instance the right margin takes 1/3 of the page width, then
>> the footnotes would occupy the right margin, beginning at the top).
> It depends on what you want. This works ok:
> […]
Hi Hans,
That's great! Thanks a lot!
I have two quest
,
frame=off,
location=always,
]
\showframe
\starttext
\starttextbackground[fondpaille]
\startplacefigure[number=no,location=right]
\externalfigure[dummy]
\stopplacefigure
\startitemize[n]
\dorecurse{3}{\startitem \input ward
t=0pt,width=max,frame=off]
> \getinlineuserdata
> \stopframedtext}
> \stopsetups
>
> \showframe
> \starttext
> \startuserdata[margintext]
> {\bf Remarque — }\input ward
> \stopuserdata
> \startuserdata[margintext]
> \externalfigure[dummy][width=\rightma
\stopframedtext}
\stopsetups
\showframe
\starttext
\startuserdata[margintext]
{\bf Remarque — }\input ward
\stopuserdata
\startuserdata[margintext]
\externalfigure[dummy][width=\rightmarginwidth]
\stopuserdata
\startchapter[title=First chapter]
\dorecurse{2}{\input knuth}
\stopchapter
\stoptext
> On 6
={\switchtobodyfont[9pt]},
width=\rightmarginwidth,
align={flushleft,broad}]
{{\bf Remarque — }\getinlineuserdata}
\stopsetups
\showframe
\starttext
\startuserdata[margintext]
\input ward
\stopuserdata
\marginfigure{\externalfigure[dummy][width=\rightmarginwidth]}
\startchapter[title=First chapter
On Tue, Jun 30, 2020 at 11:47 PM Wolfgang Schuster <
wolfgang.schuster.li...@gmail.com> wrote:
> Mikael Sundqvist schrieb am 30.06.2020 um 22:03:
> > Hi,
> >
> > say that I, for educational purposes, want to use \showframe for a
> > couple of pages, and t
Mikael Sundqvist schrieb am 30.06.2020 um 22:03:
Hi,
say that I, for educational purposes, want to use \showframe for a
couple of pages, and then want to hide the frames. What is the correct
way of doing this? I have for now added a \begingroup and \endgroup, but
then another document
Hi,
say that I, for educational purposes, want to use \showframe for a couple
of pages, and then want to hide the frames. What is the correct way of
doing this? I have for now added a \begingroup and \endgroup, but then
another document parameter that is set inside is cancelled after
t; \setupinterlinespace[1sp]
>>\stopsetups
This was from a previous form of the sample. If the paragraph is really
tiny, it would be easier not to have a page break between that paragraph
and the
>>\setupinteraction[state=start]
>>\showframe\showgrid
>>
; \setupinterlinespace[1sp]
>> \stopsetups
>
> ???
>
>> \setupinteraction[state=start]
>> \showframe\showgrid
>> \starttext
>> \blank[force, 10em]
>> \section{Move comment above this heading}
>> \startparagraph[setups=tinytiny]
Pablo Rodriguez schrieb am 16.06.2020 um 22:17:
Dear list,
I have the following sample:
\startsetups[tinytiny]
\setupwhitespace[-2em]
\setupbodyfont[0.01pt]
\setupinterlinespace[1sp]
\stopsetups
???
\setupinteraction[state=start]
\showframe\showgrid
\starttext
fi}
>
> \setuppapersize [A10][A8]
> \setuparranging [1*4*reversed]
> \setuplayout[margin=0pt, width=fit]
>
> \showframe
>
> \starttext
> \dorecurse{8}{\vbox to \textheight{\vfill\midaligned{\tfd ABC}\vfill}\page}
> \stoptext
> ```
>
> imposition scheme i
{#1}000\arrangedpageA % 4
\poparrangedpages
\fi}
\setuppapersize [A10][A8]
\setuparranging [1*4*reversed]
\setuplayout[margin=0pt, width=fit]
\showframe
\starttext
\dorecurse{8}{\vbox to \textheight{\vfill\midaligned{\tfd ABC}\vfill}\page}
\stoptext
```
imposition scheme
Dear list,
I have the following sample:
\startsetups[tinytiny]
\setupwhitespace[-2em]
\setupbodyfont[0.01pt]
\setupinterlinespace[1sp]
\stopsetups
\setupinteraction[state=start]
\showframe\showgrid
\starttext
\blank[force, 10em]
\section{Move comment above
another approach. This sample reflects my problem:
\setupinteraction[state=start]
%~ \showframe\showgrid
\starttext
\dorecurse{41}{one line\par}
\ \comment[location={rightmargin}]{comment}
\stoptext
Since layers are problematic for the task, I insert the comments right
after the text
.
I need another approach. This sample reflects my problem:
\setupinteraction[state=start]
%~ \showframe\showgrid
\starttext
\dorecurse{41}{one line\par}
\ \comment[location={rightmargin}]{comment}
\stoptext
Since layers are problematic for the task, I insert the comments right
af
width (or \printpaperwidth) or one of the
>> following methods.
>> begin example
>> \setupexternalfigures[location=default]
>> \setuplayout[tight]
>> \showframe
>> \starttext
>> \centerbox{\externalfigure[mill.png][width=\textwidth]}
>> \page
>>
]
\showframe
\starttext
\centerbox{\externalfigure[mill.png][width=\textwidth]}
\page
\centerbox{\externalfigure[mill.png][width=\paperwidth]}
\page
\centerbox{\externalfigure[mill.png][factor=max]}
\page
\centerbox{\externalfigure[mill.png][factor=min]}
\stoptext
end example
\pagewidth etc
in details.pdf)
I can't find \pagewidth in the current versison of details.pdf.
As Pablo wrote you can use \paperwidth (or \printpaperwidth) or one of
the following methods.
begin example
\setupexternalfigures[location=default]
\setuplayout[tight]
\showframe
\starttext
\centerbox{\externalfigure
anything
\showframe % this works
\starttext
\input knuth
\stoptext
Doesn’t seem to change the layout. What am I missing?
You're changing the wrong values.
What you have to change are the backspace, topspace, header and footer
values.
\setuplayout
[backspace=5mm,
width=middle,
topspace=5mm
):
\setuplayout[leftedge=5mm,top=5mm,rightedge=5mm,bottom=5mm,
leftmargin=0mm,rightmargin=0mm,
margindistance=0mm,edgedistance=0mm,
topdistance=0mm,headerdistance=0mm,footerdistance=0mm,bottomdistance=0mm]
\showlayoutcomponents % doesn’t seem to do anything
\showframe % this works
\starttext
\input
,11pt]
\setupbodyfontenvironment[default][em=italic]
\showframe
\starttext
\input tufte
\quotation{We thrive in information||thick worlds} because of our
marvelous and everyday capacity to select, edit, single out,
structure, highlight, group, pair, merge, harmonize, synthesize,
focus
of the first argument in the two-argument version of
\setuppapersize. Does anyone know how I can obtain these using Lua?
You can use tex.dimen[...] or tex.dimen. but all values are in
scaled points.
\setuppapersize[A5][A4]
\setuplayout[location=middle]
\showframe
\starttext
\startluacode
local vectors = fonts.protrusions.vectors
classes.myown = {
vector = 'myown',
factor = 1,
}
vectors.myown = table.merged (vectors.quality, {
[0x0028] = { 1, 0 }, -- (
[0x0029] = { 0, 1 }, -- )
})
\stopluacode
\starttext
\showframe
\definefontfeature[whatever][default
care about the other problems if I
understand what’s going on with those boxes.
Can you see where your left table is?
\setuppapersize[A4][A3,landscape]
\setuplayout[location=middle]
\showframe
\starttext
\startframed[offset=overlay,width=max]
\ruledvbox\bgroup
\bTABLE[width=2cm
measures for special instance of figure.
Best wishes,
Tomáš
%%
\showframe
\setupexternalfigures[location={local,default}]
\definefloat[figpage][figure]
\newdimen\myxx
\newdimen\myht
\newcount\mysp
\def\myfig#1#2#3{%
\myht=\makeupheight
\setbox0=\hbox
[location=middle]
\setuparranging
[XY]
\showframe
\setupbodyfont
[8pt]
\def\somecontent#1{\startpagemakeup #1 \stoppagemakeup}
\starttext
\installpagebreakmethod{mojca}
{\page
\scratchcounterone
\numexpr\rootlayouttargetparameter{nx}*\rootlayouttargetparameter{ny}\relax
[location=middle]
\setuparranging
[XY]
\showframe
\setupbodyfont
[8pt]
\def\somecontent#1{\startpagemakeup #1 \stoppagemakeup}
\starttext
% I want to mark the page with label numbers
\setupheadertexts[1][1][1][1]%
\dorecurse{50}{\somecontent{Label ONE}}
% I want an actual page break here
to achieve the same.
Thank you,
Mojca
\setuppapersize
[XY][A4]
\setuppaper
[topspace=10mm,backspace=10mm,dx=0mm,dy=0mm,nx=5,ny=13]
\setuplayout
[page]
[topspace=2mm,backspace=2mm]
\setuplayout
[page]
\setuplayout
[location=middle]
\setuparranging
[XY]
\showframe
it to the left (which can be done with \llap)
%\definefontfeature[default][default][protrusion=quality]
\definefontfeature[default][default][protrusion=punctuation]
\setupalign[hanging]
\showframe[text][text]
\starttext
xxx
“xxx”
\dontleavehmode\llap{“}xxx”
\stoptext
Wolfgang
On Tue, Mar 24, 2020 at 07:29:26PM +0100, Wolfgang Schuster wrote:
>
> When you need the height for the layer offset you can use \dowithnextbox
> because it hides \setbox etc.
>
> \definelayer[TextBox]
>
> \showframe[text][text]
>
> \starttext
>
> \dowithnextb
r offset you can use \dowithnextbox
because it hides \setbox etc.
\definelayer[TextBox]
\showframe[text][text]
\starttext
\dowithnextbox
{\setlayer
[TextBox]
[x=\the\dimexpr(\textwidth -\nextboxwd)/3\relax,
y=\the\dimexpr(\textheight-\nextboxht)/3\relax]
{\flushnextbox}}
\hbox
,hanging]
\showframe [text] [text]
\starttext
\hsize=1pt
\mainlanguage [uk] {\bf uk}
modro-zelený
\hyphenatedpar{Stratford Stratford-upon-Avon}
\mainlanguage [cz] {\bf cz}
modro-zelený
\hyphenatedpar{Stratford Stratford-upon-Avon}
\mainlanguage [uk] {\bf uk
gpom{cz}\ifx\langpom\langpar\gdef\mylanguage{cs}\else\gdef\mylanguage{\langpar}\fi
% \ORIGmainlanguage[\langpar]
%}
\setupalign [hanging]
%\mainlanguage [cz]
\showframe [text] [text]
\starttext
\hsize=0pt
\mainlanguage [en]
modro-zelený
\mainlanguage [fr]
modro-zelený
\mainlanguage [cz]
using lists in the same page.
BTW, foonotes cannot be placed in the footer.
\showframe\showgrid
\setuppapersize[A9]
\starttext
\dorecurse{3}{%
text\footnote{note}\\}
\stoptext
Sorry, but I’m afraid that I don’t know any way of debugging i
Note handling seems to have been improved in both LMTX and MkIV. A
> side-effect of this new handling is the random clash between body and
> notes texts when using lists in the same page.
>
> BTW, foonotes cannot be placed in the footer.
>
> \showframe\showgrid
> \se
efinebreakpoint [czcompound] [-] [nleft=3,nright=3,type=4]
\startsetups [czech]
\setbreakpoints [czcompound]
\stopsetups
\setuplanguage
[cz]
[setups=czech]
\definefontfeature [default] [default] [protrusion=tomas_hala]
\setupalign [hanging]
\mainlanguage [cz]
\showframe [text] [text]
\st
\mylanguage{cs} \appendtoks \ifx\mylanguage\currentlanguage
\setbreakpoints[czcompound] \else \resetbreakpoints \fi \to\everylanguage
\def\mylanguage{sk} \appendtoks \ifx\mylanguage\currentlanguage
\setbreakpoints[czcompound] \else \resetbreakpoints \fi \to\everylanguage
\starttext\showframe
][protrusion=quality,expansion=quality]
\starttext\showframe
\quotation{asdaf\quotation{asdfasfd} adfasdfasf}
\quotation{asdaf\crlf\quotation{asdfasfd} adfasdfasf}
\stoptext
Without any command (#1--#3):
Quotation symbols are ok but without hanging.
With cmd #1:
Quotation symbols are ok
hen using lists in the same page.
BTW, foonotes cannot be placed in the footer.
\showframe\showgrid
\setuppapersize[A9]
\starttext
\dorecurse{3}{%
text\footnote{note}\\}
\stoptext
Sorry, but I’m afraid that I don’t know any way of debugging it.
Pablo
> Am Sa., 14. Dez.
to print chapter titles.
Thank you in advance for your help.
JP
See below the MWE :
% \showframe %\showgrid
\setuplanguage[fr][patterns={fr,agr}]
\mainlanguage[fr]
\setuppagenumbering[alternative=doublesided, location={header, inmargin}]
\setupbodyfontenvironment[default][em=italic
[align=raggedright,
> stack=yes,
> location=outer,
> style={\rm}]
>
> \showframe
> \startbuffer[sine]
> numeric u ; u = 5mm ;
> draw function (1,"x","1.5*sin(x)",0,710/113,.01) scaled u
> withcolor transparent(1,.5,d
,
location=outer,
style={\rm}]
\showframe
\startbuffer[sine]
numeric u ; u = 5mm ;
draw function (1,"x","1.5*sin(x)",0,710/113,.01) scaled u
withcolor transparent(1,.5,darkblue)
withpen pencircle scaled 2pt ;
\stopbuffer
\starttext
This is s
sizes.
I thought there were malformed in such a way:
\showframe
\setuppapersize[A4][legal]
\starttext
\dorecurse{10}{\input{zapf}}
\stoptext
So my approach was:
\setuplayout[page]
\starttext
\getfiguredimensions[a-test.pdf]
\page[right]\dorecurse
WE shows better what’s going on:
>> The "area" space is reserved as requested, but its contents get placed
>> elsewhere.
>>
>>
>> \usemodule[visual]
>> \useMPlibrary[dum]
>> \definecolor[fakerulecolor][gray]
>> \setuplayout[
elsewhere.
\usemodule[visual]
\useMPlibrary[dum]
\definecolor[fakerulecolor][gray]
\setuplayout[
grid=yes,
]
\showframe[text]
\showgrid
\definecolumnset[Two][
n=2,
page=no,
]
%\definecolumnsetspan[TwoSpan][n=2]
\definecolumnsetarea[AdSpace][
x=1,y=21,
nx=1,ny=21,
state=stop
y[dum]
\definecolor[fakerulecolor][gray]
\setuplayout[
grid=yes,
]
\showframe[text]
\showgrid
\definecolumnset[Two][
n=2,
page=no,
]
%\definecolumnsetspan[TwoSpan][n=2]
\definecolumnsetarea[AdSpace][
x=1,y=21,
nx=1,ny=21,
state=stop,
frame=on,
framecolor=magenta,
]
\starttext
[
grid=yes,
]
\showframe[text]
\showgrid
\definecolumnset[Two][
n=2,
page=no,
]
\definecolumnsetarea[AdSpace][
x=1,y=20,
nx=1,ny=20,
state=stop
]
\starttext
\startcolumnset[Two]
\fakewords{20}{30}
\setupcolumnsetareatext[AdSpace]{\externalfigure[MyAd][width=\textwidth,height=0.45
,
location=outer,
style={\rm}]
\showframe
\startbuffer[sine]
numeric u ; u = 5mm ;
draw function (1,"x","1.5*sin(x)",0,710/113,.01) scaled u
withcolor transparent(1,.5,darkblue)
withpen pencircle scaled 2pt ;
\stopbuffer
\starttext
This is s
a new page reliably, but I can’t reproduce it
anymore.
So, this works so far.
I’m starting a new columnset for every chapter because I have chapters with 1-3
columns,
the example is a simplification.
HR
\usemodule[visual]
\setuppapersize[A5]
\showframe[text]
\definecolor[fakerulecolor][gray
ntrollable without); how to
>> get more control over makeups and that columnsets are somewhat fastidious,
>> esp. with floats…
>
> Use \setuplayout[grid=yes] when "grid=strut" doesn't work.
That’s what I do.
>> \setuppapersize[A6]
>> \showframe[text]
>&
that columnsets are somewhat fastidious,
> esp. with floats…
Use \setuplayout[grid=yes] when "grid=strut" doesn't work.
> Still open: this one, different behaviour of \blank in before vs. command,
> chapters always starting on left pages despite page=no (a side effect of the
>
.
These issues get fixed with grid=yes.
The original problem is also fixed in the MWE if I enable grid mode, there are
just sometimes two blank lines instead of one. In my actual project I get one
or zero lines. Couldn’t reproduce that in a MWE.
\usemodule[visual]
\setuppapersize[A5]
\showframe[text
y, but it’s more controllable without); how to
get more control over makeups and that columnsets are somewhat fastidious, esp.
with floats…
Still open: this one, different behaviour of \blank in before vs. command,
chapters always starting on left pages despite page=no (a side effect of
:
# >Hi all,
# >
# >if I compile the following (minimised) code with ConTeXt from TL2017,
# >I receive expected result -- one framed gray box with correct width.
# >
# >\starttext\showframe
#
>\defineframedtext[MPT][background=color,backgroundcolor=gray,width=\makeupwidt
On 17 Jan 2020, at 19:40, Wolfgang Schuster <wolfgang.schuster.li...@gmail.com> wrote:Tomas Hala schrieb am 17.01.2020 um 15:18:Hi all,if I compile the following (minimised) code with ConTeXt from TL2017,I receive expected result -- one framed gray box with correct width.\starttext\sho
Tomas Hala schrieb am 17.01.2020 um 15:18:
Hi all,
if I compile the following (minimised) code with ConTeXt from TL2017,
I receive expected result -- one framed gray box with correct width.
\starttext\showframe
\defineframedtext[MPT][background=color,backgroundcolor=gray,width=\makeupwidth
Hi all,
if I compile the following (minimised) code with ConTeXt from TL2017,
I receive expected result -- one framed gray box with correct width.
\starttext\showframe
\defineframedtext[MPT][background=color,backgroundcolor=gray,width=\makeupwidth,frame=on,offset=1cc,]
\setuptyping[MP][before
On 12/26/2019 9:05 PM, Rik Kabel wrote:
On 12/18/2019 11:32, Pablo Rodriguez wrote:
Hi Hans,
I accidentally discovered that file attachment generates two entries in
Acrobat, such as this sample:
\setuppapersize[A5]
\showframe
\setupinteraction[state=start
On 12/18/2019 11:32, Pablo Rodriguez wrote:
Hi Hans,
I accidentally discovered that file attachment generates two entries in
Acrobat, such as this sample:
\setuppapersize[A5]
\showframe
\setupinteraction[state=start]
\setupinteractionscreen[option=attachment
llonius.103][width=2.0in]}
\switchtobodyfont[nameface]
\setlayer[tblplacecard][x=10em,y=3.0em]%
{\tfg\it\color[orangered]{Vidya}}
\flushlayer[tblplacecard]
\stopbuffer
\starttext
\setupcolors[state=start]
%%% 1. Show the frame and layout information.
\showfram
\stopframedtext
\stopbuffer
\starttext
%~ \showframe
\rotate[rotation=180]{\getbuffer[tblcard]}
\page
\getbuffer[tblcard]
\stoptext
I hope it goes on time ;-),
Pablo
--
http://www.ousia.tk
_
buffer
\starttext
\showframe
\adaptpapersize[tblcard,mirrored][letter,portrait]\getbuffer[tblcard]
\page
\getbuffer[tblcard]
\stoptext
--
Pavneet Arora m: +1 647-406-6843
Waroc Informatike: pavne
;
>
> \setuplayout[
> width=120mm,
> backspace=16mm,
> height=192mm,
> topspace=6mm,
> header=8mm,
> footer=6mm,
> ]
> \showframe
>
> \definelayer[TA]
> [x=16mm, y=14mm,
> width=
,
topspace=6mm,
header=8mm,
footer=6mm,
]
\showframe
\definelayer[TA]
[x=16mm, y=14mm,
width=\makeupwidth, height=\makeupheight]
\setupbackgrounds[page][background=TA]
\def\Square{\framed[width=1cm,height=1cm]{S}}
\starttext
\strut
\setlayer[TA
Hi Hans,
I accidentally discovered that file attachment generates two entries in
Acrobat, such as this sample:
\setuppapersize[A5]
\showframe
\setupinteraction[state=start]
\setupinteractionscreen[option=attachment]
\starttext
a\attachment[file=xml-mkiv.pdf, name
% begin file: bug-itemize-lmtx.tex
\setupsynctex[stat=start]
\setupsynctex[state=start] % if this is removed then everything is fine…
\setupquotation[style=italic,left={«~},right={~»}]
\showframe
\starttext
\startitemize[n]
\dorecurse{4}{\item This item \quotation{is shown correcly\dots}
\item
\setupsynctex[stat=start]
\setupsynctex[state=start] % if this is removed then everything is fine…
\setupquotation[style=italic,left={«~},right={~»}]
\showframe
\starttext
\startitemize[n]
\dorecurse{4}{\item This item \quotation{is shown correcly\dots}
\item This item \quotation{\dots is not shown
ument
(using latest beta from 2019.12.12 13:15).
\setuppapersize[A5]
\showframe
\setupinteraction[state=start]
\setupinteractionscreen[option=attachment]
\starttext
a\attachment[file=xml-mkiv.pdf]
\stoptext
BTW, if I try to compile this with MkIV beta from 2019.12.12
)/(\dimexpr\lineheight+2.2ex\relax)\relax
\thinrules[n=\number\scratchcounter,inbetween={\blank[2.2ex]}]
\page
}
\showframe
\starttext
\dorecurse{2}{\input knuth.tex\par}
\thinrulesfillpage
\thinrulesfillpage
\input ward.tex
\thinrulesfillpage
\stoptext
On 7 Dec
\verticalstrut
\vskip-.5\lineheight
\leaders
\hbox to
\hsize{\blackrule[width=\hsize,height=1pt,depth=1pt,color=red]\strut}
\vfilll
\verticalstrut
\vskip-1.5\lineheight
\page
\stoptexdefinition
\showframe
\starttext
\dorecurse{2}{\input knuth.tex\par
\thinrules[n=\number\scratchcounter,inbetween={\blank[2.2ex]}]
\page
}
\showframe
\starttext
\dorecurse{2}{\input knuth.tex\par}
\thinrulesfillpage
\thinrulesfillpage
\input ward.tex
\thinrulesfillpage
\stoptext
> On 7 Dec 2019, at 03:49, Rik Kabel wr
in the remainder of the page.
That is, can one imagine a macro named (say) \fillpagewiththinrules which puts
the exact number of thinrules before ejecting the page?
Is this possible or have I to do it by hand for each page?
\showframe
\starttext
\dorecurse{2}{\input knuth.tex\par}
\thinrules[n=20
a macro named (say) \fillpagewiththinrules which puts
the exact number of thinrules before ejecting the page?
Is this possible or have I to do it by hand for each page?
\showframe
\starttext
\dorecurse{2}{\input knuth.tex\par}
\thinrules[n=20] % On the first page I can put 20 thinrules
\page
ep= .5,
}
classes.qualitya = {
vector = "default",
factor = 1,
stretch = 4,
shrink = 2,
step= .5,
}
\stopluacode
\showframe
% \enabletrackers[*expansion]
\setupbodyfont[dejavu,8pt]
\defineexpansion
[myexpansion]
[s
o get rid of the empty line
\definenarrower[whatever][left=1.5em]
\definestartstop
[cslreferences]
[before={%
\startwhatever[left]
\setupindenting[-\leftskip,yes,first]
\indentation
\GetPar
},
after=\stopwhatever]
\showframe
\starttext
\section{Some title}
\input ward
\secti
`\definestartstop`?
you need to get rid of the empty line
\definenarrower[whatever][left=1.5em]
\definestartstop
[cslreferences]
[before={%
\startwhatever[left]
\setupindenting[-\leftskip,yes,first]
\indentation
\GetPar
},
after=\stopwhatever]
\showframe
\starttext
\section
on outside the frame?
Best wishes,
Tomáš
%%% MWE:
\setupalign[hz,hanging]
\definefontfeature [default] [default] [protrusion=quality,
expansion=quality]
\starttext\showframe
one \hfill two \crlf „three“ four \par
one \hfill two \crlf \quotation{three} four
Hi Hans,
I have the following sample, using latest beta from 2019.11.14 17:07:
\setuppapersize[A5]
\showframe
\setupinteraction[state=start]
\setupinteractionscreen[option=attachment]
\starttext
a\attachment[file=xml-mkiv.pdf]
b\attachment[file=mkiv
[mainfont][serif][EBGaramond][features=base]
\setupalign[hanging, lesshyphenation, hz]
\setupbodyfont[mainfont, 9pt]
\showframe
\starttext
les bestes/ & sus toute la terre/ & sus tout reptile qui bouge sur surete
sur la {\righttoleft terre. Dieu} donc crea l'homme a son image.
\stoptext
Than
Dear list,
I have the following sample:
\showframe\showgrid
\starttext
\section{Section}
\subsection{Subsection}
A sentence.
\section{Section}
Another sentence.
\subsection{Subsection}
Even another sentence.
\stoptext
Is there any way to setup the space
\setuphead[MyTit]
[style=\bf,color=MyBlue,
before={\blank[none]},after={\blank[none]},inbetween={\blank[none]},beforesection={BS},aftersection={AS},
page=no,%grid=yes,
]
%
%\showframe
%\showboxes
%\showlayout
%
\starttext
\startcolumnset[example]
\startcolumnsetspan[wide]
gt; mechanism but a separate document is easier)."
> >
> Step 1:
>
> Create a document with a very big left margin where you can place all
> floats.
>
> \setuppapersize
>[A3,landscape]
>
> \setuplayout
>[backspace=23.5cm,
> width=15cm,edge=14cm]
ument is easier)."
Step 1:
Create a document with a very big left margin where you can place all
floats.
\setuppapersize
[A3,landscape]
\setuplayout
[backspace=23.5cm,
width=15cm,edge=14cm]
\showframe
\setupfloat
[default=leftedge,
minwidth=14cm]
\starttext
\
extbackground[xx]
>> \stoptextbackground
>>
>> can you try to use that instead? less page overflow too
>>
>> (actually i should iontegrate some title line in that)
> A limitation of textbackgrounds is the limited control over the vertical
> space at page brea
but with textbackgrounds you can just control the space at the end and
end of the environment.
\showframe[text][text]
\starttext
\dorecurse{3}{\samplefile{knuth}}
\startbackground[topoffset=1em,bottomoffset=1em]
\dorecurse{2}{\samplefile{knuth}}
\stopbackground
\dorecurse{2}{\samplefile{knuth}}
\page
of this mail or at
https://gist.github.com/JulianGmp/fe20df633554f5aff02e02eb47a6780f
The output PDF I got: https://i.imgur.com/c8S7Di5.png
Best regards,
Julian
% Compiled document (screenshot):
% https://i.imgur.com/c8S7Di5.png
\setuppapersize[A4]
\showframe
\setuplayout[
topspace=1cm
/JulianGmp/fe20df633554f5aff02e02eb47a6780f
The output PDF I got: https://i.imgur.com/c8S7Di5.png
Best regards,
Julian
% Compiled document (screenshot):
% https://i.imgur.com/c8S7Di5.png
\setuppapersize[A4]
\showframe
\setuplayout[
topspace=1cm,
header=0cm,
width=16cm
]
\definelayout[smallheader][header=0.1\textheight]
\setuplayout[smallheader]
\definelayout[1][bigheader]
\definelayout[2][smallheader]
\starttext
\showframe
\input knuth
\input knuth
\input knuth
\stoptext
However, rather then having the big header only on page 1, I end up with
it on every page except page 2
=footer,
state=start]
\setupfooter[strut=no]
\useMPlibrary[dum]
\showframe[frame=on]
\dorecurse{10} {
test
\page[left]
\setlayer
[page]
[x=-2mm,
y=-2mm,
preset=lefttop]
{\externalfigure
[bogus]
[width=\dimexpr\paperwidth+2mm
On 7/29/2019 9:33 PM, Pablo Rodriguez wrote:
Hi Hans,
I have the following sample:
\showframe\showgrid
\setupinteraction[state=start]
\setupinteractionscreen[option=attachment]
\setupattachment[location=inmargin]
\starttext
a\attachment[file=xml-mkiv.pdf]
b
Hi Hans,
I have the following sample:
\showframe\showgrid
\setupinteraction[state=start]
\setupinteractionscreen[option=attachment]
\setupattachment[location=inmargin]
\starttext
a\attachment[file=xml-mkiv.pdf]
b\footnote{\attachment[file=i-context.pdf]}
\stoptext
paperwidth-2\measured{big}\relax]
>
> \definelayout
> [fifthandsixth]
> [first]
> [backspace=\measure{big},
> width=\dimexpr\paperwidth-2\measured{big}\relax]
>
> %% We assign the layouts to the pages.
> \definelayout [1] [first]
> \definelayout [2] [second]
&
!
\showframe
\setupbackgrounds[paper][background=color,backgroundcolor=blue]
\starttext
\starttitle[title={First page}]
\input lorem
\stoptitle
\starttitle[title={Second page}]
\input lorem
\stoptitle
\starttitle[title={Third page}]
\input lorem
\stoptitle
\starttitle[title
table now, I'm still concerned that the settings
are not logical (to a human being). I'm afraid that one day it won't work out
like that.
Here's the MWE:
===
\showframe
\setuppagenumbering
[alternative=doublesided]
\definepapersize
[911]
[wid
as the
figure and the part in the margin should not affect other marginal notes:
\showframe
\starttext
Hello\inright{Very very very long test notes.}, world!
\startplacefigure
[reference=fig:whatever,
title={Test figure.},
location=outer]
\hbox{%
\framed
301 - 400 of 1824 matches
Mail list logo