Hi there,
I am usually using Din A5 with
\definepapersize[MyBook][A5]
\setuppapersize[MyBook][A5]
How to add 3mm cut space (extra space) on all four edges?
Thank you.
Huseyin
___
If your question is of interest
break.
%\setuphead[section][after={\blank[big,preference]}]
\starttext
\dorecurse{39}{Line \recurselevel\par}
\section
Another line
\stoptext
Wolfgang
Thanks, but I think this one is not the problem. I have made this
minexample:
+++
\definepapersize[MyBook][A5]
\setuppapersize
Hi there,
at the moment I use for my book
\definepapersize[MyBook][A5]
\setuppapersize[MyBook][A5]
\usemodule [simplefonts][size=11pt]
\setmainfont[Times New Roman][expansion=quality,protrusion=quality]
\setupalign [hanging]
\setuptolerance[stretch]
\tolerance 70
Is it suitable to use
to avoid that and have
the figure always placed in the margin?
Thanks,
Andy
-- code starts ---
\useMPlibrary[dum] % To get dummy figures
\definepapersize[wissenschaft][width=170mm, height=240mm]
\setuppapersize [wissenschaft]
\setuplayout[topspace=40pt,
header=0pt
Hello there,
I am relatively new to ConTeXt, now typing a small book in it. I have a
problem with the register (index). This is an example:
|\definepapersize[MyBook][A6]
\setuppapersize[MyBook][A6] % Prints on paper the size of MyBook
\starttext
\index{A} blub
\index{B} blub
\index
On 11/9/2012 9:08 AM, H. Özoguz wrote:
Hello there,
I am relatively new to ConTeXt, now typing a small book in it. I have a
problem with the register (index). This is an example:
|\definepapersize[MyBook][A6]
\setuppapersize[MyBook][A6] % Prints on paper the size of MyBook
\starttext
\index
Hi all,
I have something like this:
\definepapersize[thin][width=210mm,height=74.25mm]
\setuppapersize[thin][A4]
\setuppaper[nx=1,ny=4]
\setuplayout[topspace=1.5cm,backspace=1.5cm,
header=0mm,footer=0mm,
width=middle,height=middle]
\setuparranging[XY]
I'd like to have pages 1, 3, 5, 7
=]
\definepapersize
[poster]
[width=36cm,height=55cm]
\starttext
\setupbackgrounds[page][background=paper]
\definelayer[paper]
[width=\paperwidth,height=\paperheight]
\startbuffer[title]
\definedfont[Bold at 38pt] Kerning Screw Up
\stopbuffer
\setlayerframed[paper
_
\widowpenalty=9000
\clubpenalty=9000
\definepapersize[janssize][width=190mm, height=245mm]
\setuppapersize[janssize][A4] %we can use something like [A5][A4], which
is a a5 Page sized Document printed on a A4 sheet
\setuplayout[grid=yes, marking=on, location
_
\widowpenalty=9000
\clubpenalty=9000
\definepapersize[janssize][width=190mm, height=245mm]
\setuppapersize[janssize][A4] %we can use something like [A5][A4], which
is a a5 Page sized Document printed on a A4 sheet
\setuplayout[grid=yes, marking=on, location
of the
documents structure and the placement of the penalty-commands
_
\widowpenalty=9000
\clubpenalty=9000
\definepapersize[janssize][width=190mm, height=245mm]
\setuppapersize[janssize][A4] %we can use something like [A5][A4], which
is a a5 Page sized Document printed
-commands
_
\widowpenalty=9000
\clubpenalty=9000
\definepapersize[janssize][width=190mm, height=245mm]
\setuppapersize[janssize][A4] %we can use something like [A5][A4], which
is a a5 Page sized Document printed on a A4 sheet
\setuplayout[grid=yes, marking
Hi,
How could I avoid please, that the lower part of the g gets cut:
--8---cut here---start-8---
\definepapersize[test][width=5cm, height=39mm]
\setuppapersize[test]
\setuplayout[page]
\setupalign[line]
\setupwhitespace[small]
\starttext
\dorecurse{10}{ba gla
On 2-8-2012 10:32, Peter Münster wrote:
Hi,
How could I avoid please, that the lower part of the g gets cut:
--8---cut here---start-8---
\definepapersize[test][width=5cm, height=39mm]
\setuppapersize[test]
\setuplayout[page]
\setupalign[line
()
local fp = io.open(env.tex, w)
fp:write([[
\startenvironment env
\def\ColumnDistance{1cm}
\startmode[columns]
\definepapersize[columns][
width=\dimexpr (\textwidth - \ColumnDistance) / 2 \relax,
height=\textheight]
\setuppapersize[columns]
\setuplayout[page]
\setuppagenumbering
-file):
--8---cut here---start-8---
local C = context
local format = string.format
local function create_environment()
local fp = io.open(env.tex, w)
fp:write([[
\startenvironment env
\def\ColumnDistance{1cm}
\startmode[columns]
\definepapersize
general typographic details
\setupindenting [yes,next,11pt] % indenting after enumerations etc.
\definepapersize
[maps]
[width=21cm,height=26.5cm]
\setuppapersize [maps][maps]
% parameters:
% margin - latex marginparwith
\setuplayout[%
topspace=40pt,
height=688pt,
header=33pt
they occur.
Don’t marginblocks behave like that?
···8···
\definepapersize[wissenschaft][width=170mm,height=240mm]
\setuppapersize [wissenschaft]
\setuplayout
[topspace=40pt,
header=0pt,
headerdistance=0pt,
backspace=42pt,
leftmargin=0pt
\definepapersize[carta][width=320mm,height=440mm]
\setuppapersize[carta][carta]
\setuplayout
[topspace=0pt,
backspace=0pt,
header=0pt,
footer=0pt,
margin=0pt,
marking=on,
width=320mm,
height=440mm,
location=middle]
\setuppagenumbering[alternative=doublesided,location
out page. Also, what are \c_page_marks_nx and \c_page_marks_ny? Any
hint about how this machinery works?
Thanks
Best wishes
% start draft
\definepapersize[carta][width=320mm,height=440mm]
\setuppapersize[carta][carta]
\setuplayout
[topspace=0pt,
backspace=0pt,
header=0pt
curious too whether this can be done.
Regards
Philipp
example:
\definepapersize[wissenschaft][width=170mm,height=240mm]
\setuppapersize [wissenschaft]
\setuplayout
[topspace=40pt,
header=0pt,
headerdistance=0pt,
backspace=42pt,
leftmargin=0pt,
width=280pt
the margintext up, pushing other margintexts upwards while doing so?
example:
\definepapersize[wissenschaft][width=170mm,height=240mm]
\setuppapersize [wissenschaft]
\setuplayout
[topspace=40pt,
header=0pt,
headerdistance=0pt,
backspace=42pt,
leftmargin=0pt,
width=280pt,
height=560pt
Hello all,
is there a way for margintext to 'respect' the lower border of the page and
push the margintext up, pushing other margintexts upwards while doing so?
example:
\definepapersize[wissenschaft][width=170mm,height=240mm]
\setuppapersize [wissenschaft]
\setuplayout
[topspace=40pt
found
\startlocal (\startlokaal) in the ConTeXt getting started pdf, but Mk IV does
not know \startlocal (any more?).
My example:
% setup the page format
\definepapersize[wissenschaft][width=170mm,height=240mm]
% use the new page format
\setuppapersize[wissenschaft]
% shape the page
\setuplayout
], but the macros do not seem to be aware of that. I also
found \startlocal (\startlokaal) in the ConTeXt getting started pdf, but Mk
IV does not know \startlocal (any more?).
My example:
% setup the page format
\definepapersize[wissenschaft][width=170mm,height=240mm]
% use the new page format
pdf,
but Mk IV does not know \startlocal (any more?).
My example:
% setup the page format
\definepapersize[wissenschaft][width=170mm,height=240mm]
% use the new page format
\setuppapersize[wissenschaft]
% shape the page
\setuplayout[topspace=40pt,
header=0pt
for \doadapt… to a
fixed value it will produce the right output but you can get an unexpected
output when the fullwidth environment appears at the start of a new page.
\definepapersize[wissenschaft][width=170mm,height=240mm]
\setuppapersize [wissenschaft]
\setuplayout
[topspace=40pt,
header
but I used in my example this value to
calculate the additional space. When you set the argument for \doadapt… to a
fixed value it will produce the right output but you can get an unexpected
output when the fullwidth environment appears at the start of a new page.
\definepapersize
made a small example to show the behavior:
% setup the page format
\definepapersize[wissenschaft][width=170mm,height=240mm]
% use the new page format
\setuppapersize[wissenschaft]
% shape the page
\setuplayout[topspace=40pt,
header=0pt
at the attached minified example below. Without \setuparranging set
the slides are scaled an one is put on each A4. As soon as I activate the
arraging the scaling does not work anymore.
Any ideas how to get this work? Am I doing something wrong?
Thanks!
Steffen
\definepapersize[SPP43][width
\definepapersize[LG1][width=8.5in,height=8.5in]
\definepapersize[LP1][width=8.5in,height=8.5in]
\setuppapersize[LG1][LP1]
\definelayout[contents_1]
[backspace=3.25in,
leftmargin=2.25in,
leftmargindistance=0.25in,
width=4.75in
. It is supposed to give us the footnote marker
aligned with the text area, then some blank space, then the footnote text:
\definepapersize[wiki][width=8cm,height=8cm]
\setuppapersize[wiki][wiki]
\starttext
\showframe
\setupnote[footnote][margindistance=0em,command=\myfootnotecommand
aligned with the text area, then some blank space, then the footnote text:
\definepapersize[wiki][width=8cm,height=8cm]
\setuppapersize[wiki][wiki]
\starttext
\showframe
\setupnote[footnote][margindistance=0em,command=\myfootnotecommand]
\setupnotation[footnote][location=left,hang=1
,
then the footnote text:
\definepapersize[wiki][width=8cm,height=8cm]
\setuppapersize[wiki][wiki]
\starttext
\showframe
\setupnote[footnote][margindistance=0em,command=\myfootnotecommand]
\setupnotation[footnote][location=left,hang=1]
\def\myfootnotecommand#1{\hbox to 1.5em{#1.}}
test \footnote
Answering my own question, quite simple with ConTeXt:
\definepapersize[a3landscape][A3,landscape]
\definepapersize[a4portrait][A4,portrait]
\setuppapersize[a4portrait]
\starttext
\externalfigure[foo.pdf]
\page\setuppapersize[a3landscape]
\externalfigure[bar.pdf]
\stoptext
G
PS. The solution
On Fri, Jan 13, 2012 at 4:44 PM, Gerben Wierda gerben.wie...@rna.nl wrote:
Answering my own question, quite simple with ConTeXt:
\definepapersize[a3landscape][A3,landscape]
\definepapersize[a4portrait][A4,portrait]
\setuppapersize[a4portrait]
\starttext
\externalfigure[foo.pdf]
\page
It still is weird. It sometimes work (but not completely) and sometimes not.
For instance
\definepapersize[a3landscape][A3,landscape]
\definepapersize[a4portrait][A4,portrait]
\setuppapersize[a3landscape]
\starttext
\externalfigure[foo.pdf]
\stoptext
foo.pdf is a 18.43x13.88 inch PDF image
Weirder still.
\definepapersize[large][a3,landscape]
\definepapersize[small][a4,portrait]
\setuppapersize[large]
\starttext
\externalfigure[foo.pdf]
\page\setuppapersize[small]
\externalfigure[bar.pdf]
\stoptext
The first page is now 11.69x11.69 inch and the second page is a4, but landscape
So
size perfectly cropped around it?
The closest I have right now is this which is rather awful:
\definepapersize[main][A4][A4]
\definepapersize[diagram][A4,landscape][A4,landscape]
% Insert a full page landscape diagram, parameters are node name,
caption, and path...
\def\FullPageLandscapeDiagram#1#2
at
all any more:
All pages of one sheet are printed on each other. Paper sizes are
ignored.
e.g.
\definepapersize[filius][width=92mm, height=172mm]
\setuppapersize [filius][A4,landscape]
%\setuppapersize[A7][A4]
\setuppaper [nx=2,ny=2]
%,dx=0mm,dy
is fixed, but in latest beta imposition doesn’t work
at all any more:
All pages of one sheet are printed on each other. Paper sizes are
ignored.
The problem is to get the order of the commands right. This works (but
is not very intuitive IMO):
\definepapersize[filius][width
):
\definepapersize [filius][width=92mm, height=172mm]
\setuplayout[location=middle,marking=on]
\setuppaper [nx=3,ny=1] %,dx=0mm,dy=0mm,topspace=19mm,backspace=10.5mm]
\setuppapersize [filius][A4,landscape]
\setuparranging [XY]
It looks to me like \setuppaper resets paper size.
Is this something you can/will fix
Hi there,
compiling this minimal file:
\definepapersize[aa][width=2cm,height=1cm]
\setuppapersize[aa]
\setuppagenumbering[location=]
\usemodule[simplefonts][size=12pt]
\definesimplefont[amsmile][TeX Gyre Pagella]
\starttext
\TeX\ \amsmile \TeX
\stoptext
using
Am 06.12.2011 um 13:22 schrieb Pablo Rodríguez:
Hi there,
compiling this minimal file:
\definepapersize[aa][width=2cm,height=1cm]
\setuppapersize[aa]
\setuppagenumbering[location=]
\usemodule[simplefonts][size=12pt]
\definesimplefont[amsmile][TeX Gyre Pagella]
\starttext
On 6-12-2011 13:22, Pablo Rodríguez wrote:
Hi there,
compiling this minimal file:
\definepapersize[aa][width=2cm,height=1cm]
\setuppapersize[aa]
\setuppagenumbering[location=]
\usemodule[simplefonts][size=12pt]
\definesimplefont[amsmile][TeX Gyre Pagella]
\starttext
On 12/06/2011 06:15 PM, Hans Hagen wrote:
On 6-12-2011 13:22, Pablo Rodríguez wrote:
Hi there,
compiling this minimal file:
\definepapersize[aa][width=2cm,height=1cm]
\setuppapersize[aa]
\setuppagenumbering[location=]
\usemodule[simplefonts][size=12pt
cache, because I use OS fonts with simplefonts.
But the same should happen to Wolfgang (and I don't think that his
computer is ×7 faster than my laptop).
But the example doesn't load system fonts, only Latin Modern.
Just in case you want to test my minimal sample:
\definepapersize[aa][width=2cm
Am 06.12.2011 um 22:16 schrieb Pablo Rodríguez:
Just in case you want to test my minimal sample:
\definepapersize[aa][width=2cm,height=1cm]
\setuppapersize[aa]
\setuppagenumbering[location=]
\starttext
\TeX\ \sc\word\ \TeX
\stoptext
But I think that less than a second total compiling
On 6-12-2011 22:29, Wolfgang Schuster wrote:
Am 06.12.2011 um 22:16 schrieb Pablo Rodríguez:
Just in case you want to test my minimal sample:
\definepapersize[aa][width=2cm,height=1cm]
\setuppapersize[aa]
\setuppagenumbering[location=]
\starttext
\TeX\ \sc\word\ \TeX
\stoptext
But I think
\definepapersize[LG1][width=4.25in,height=6.875in]
\definepapersize[LP1][width=4.25in,height=6.875in]
\setuppapersize[LG1][LP1]
\definelayout[frontmatter]
[topspace=0.in,header=0.5556in,height=6.4305556in,footer=0.6944in,
backspace=1.056in
[huge]
\definepapersize[huge][width=4000mm]
\setuppapersize[huge][huge]
\setupbodyfont[8pt]
\stopmode
\starttext
\startparagraph
Published on \dontleavehmode\emph{Dissonanze} vol. I
\stopparagraph
\startparagraph
Published on vol. I Published on vol. I Published on vol. I Published
is the
maximum dimension TeX can handle.
\definepapersize[max][paperwidth=\maxdimen, paperheight=\maxdimen]
\setuppapersize[max]
Aditya
___
If your question is of interest to others as well, please add an entry to the
Wiki
Aditya Mahajan adit...@umich.edu writes:
TeX does finite precision arithematics, so infinity is not
possible. But you can set paper width (and paper height) to \maxdimen,
which is the maximum dimension TeX can handle.
\definepapersize[max][paperwidth=\maxdimen, paperheight=\maxdimen
): ::
\definepapersize[exception][A4]
\setuppapersize [exception,90,landscape][exception]
and switching back to normal orientation afterwards. Context is great.
Philipp
Thanks for your time
Philipp
the data at
the corresponding position on the page by using layers? Or exist any way
to do it using \setuplayout?
Thanx Jaroslav Hajtmar
Here is my example:
% http://source.contextgarden.net/page-lay.mkiv
%\showframe
\definepapersize[paperportrait][A4]
\definepapersize[paperlandscape][A4
Hello ...
To my previous mail I am sending minimal example of strange behavior of
splitting rotated table:
Can somehow be corrected?
Jaroslav Hajtmar
\definepapersize[paperportrait][A4]
\definelayout[portrait][width=middle, topspace=5mm, header=1cm,
footer=1.5cm, height=middle
and
LuaTeX in this regard?
To place elements on a fixed position on the page you can use layers.
It’s also important to disable kerning, ligatures etc.
\definepapersize[LG1][width=9.24in,height=6.87in]
\definepapersize[LP1][width=9.49in,height=7.12in]
\setuppapersize[LG1][LP1]
\setuplayout
changed so you might want to wikify it
as example (it will confuse mojca's number of hits filters as 'twitter'
and 'ladygaga' might lead to false google lookups).
\definepapersize[LG1][width=9.24in,height=6.87in]
\definepapersize[LP1][width=9.49in,height=7.12in]
\setuppapersize[LG1][LP1
are attached.
I processed the following ConTeXt source file using MKII:
This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009) (format=cont-en
2011.8.13)
ConTeXt ver: 2011.05.18 18:04 MKII fmt: 2011.8.13 int: english/english
= START MKII EXAMPLE =
\pdfminorversion=5
\definepapersize[LG1
!middle,
\c!header=0pt,
\c!footer=0pt]
\definepapersize[main][A4][A4]
\definepapersize[diagram][A4,landscape][A4,landscape]
And the actual image in my component is here:
\page
\setuppapersize[diagram]
\placefigure
[force][figure:MyImage]
{My image caption
and pasted. I'm new to
typesetting with ConTeXt.
--
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com
Figure.svg.bz2
Description: application/bzip
\starttext
\definepapersize[main][A4][A4]
\definepapersize[diagram][A4,landscape][A4,landscape
[]
\definelayout[fullpage][]
\definepapersize[main][A4][A4]
\definepapersize[diagram][A4,landscape][A4,landscape]
And the actual image in my component is here:
You don't switch layout to fullpage!
\page
\setuppapersize[diagram]
\placefigure
[force][figure:MyImage]
{My image
]
\setupindenting[10pt,yes]
\definepapersize[stw][width=14.7cm,height=22.3cm]
\setuppapersize[stw][stw]
\setuplayout
[width=113mm,height=572pt,
backspace=17mm,topspace=17mm,
header=12pt,headerdistance=6pt,
footer=36pt,footerdistance=0pt,
location=middle,marking=off
---
\showframe
\setupbodyfont[times,10pt]\setupinterlinespace[line=12pt]
\definetolerancemethod
[horizontal]
[MySpace]
{\spaceskip3.02pt plus1.8pt minus1.0pt\relax}
\setupalign[line,block,hanging]
\setuptolerance[MySpace]
\setupindenting[10pt,yes]
\definepapersize[stw][width=14.7cm,height
]
\definepapersize[main][A4][A4]
\definepapersize[diagram][A4,landscape][A4,landscape]
And the actual image in my component is here:
\page
\setuppapersize[diagram]
\placefigure
[force][figure:MyImage]
{My image caption.}
{\externalfigure[MyImage][factor=max]}
\page
\setuppapersize[main]
The document
]
\definepapersize[main][A4][A4]
\definepapersize[diagram][A4,landscape][A4,landscape]
And the actual image in my component is here:
\page
\setuppapersize[diagram]
\placefigure
[force][figure:MyImage]
{My image caption.}
{\externalfigure[MyImage][factor=max]}
\page
\setuppapersize[main
,
Steffen
---
\showframe
\setupbodyfont[times,10pt]\setupinterlinespace[line=12pt]
\definetolerancemethod
[horizontal]
[MySpace]
{\spaceskip3.02pt plus1.8pt minus1.0pt\relax}
\setupalign[line,block,hanging]
\setuptolerance[MySpace]
\setupindenting[10pt,yes]
\definepapersize[stw
!no]
{\forgetall
\dontcomplain
\globaldefs\minusone
\dimen\zerocount\pagegoal
\definepapersize[X][\c!width=4em, \c!height=6em]%
\definepapersize[Y][\c!width=12em,\c!height=14em]%
\setuppapersize[#1,X][#2,Y]%
\setuplayout[#3]%
\setbox\zerocount\vbox
{\framed
More setupinteraction pagelayout interference:
In the example below
(compiled using the very latest minimals)
the inclusion of \setupinteractionscreen [option=bookmark]
shifts the output of the text on the page.
Alan
%
\definepapersize [17x24
the problem:
compare the first lines of page 1 und 3 please.
My project is otherwise finished ... :o(
Do you think you could manage to write a fast patch for his bug, so I can
deliver it tomorrow?
Best regards,
Steffen
---
\showframe
\definepapersize[stw][width=14.7cm,height=22.3cm
:
\definepapersize[Screen][width=1024px,height=768px]
\setuppapersize[Screen][Screen]
\definelayer[SPTinteractivemedium] % name of the layer
[x=359px, y=140px, % from upper left corner of paper
width=642px, height=492px, repeat=yes] % let the layer be large
enough
} \input
knuth
14 \section{A long title} \input knuth \section{A long title} \input
knuth
15
16 \stoptext
17
18
19
20
21 %\definepapersize[card][width=792pt,height=612pt]
22 %\setuppapersize[card][card]
23
24
\dohandlestructurehead ...ureheadnumbertext \else
\placestructureheadtext \f
An: mailing list for ConTeXt users
Betreff: Re: [NTG-context] Feature request: setuppapersize
On Mon, 10 Jan 2011, Aditya Mahajan wrote:
On Mon, 10 Jan 2011, Hans Hagen wrote:
more elegant and downward compatible is this:
\definepapersize
[samesized]
[ \c!width=\paperwidth,
\c
On Mon, 10 Jan 2011, Aditya Mahajan wrote:
On Mon, 10 Jan 2011, Hans Hagen wrote:
more elegant and downward compatible is this:
\definepapersize
[samesized]
[ \c!width=\paperwidth,
\c!height=\paperheight]
\setuppapersize
[A4][samesized]
in page-lay.mkiv
Indeed. This will also work
}{\input tufte \par}
\page
\section{Two}
things go better.
--
luigi
\showframe
\setupbodyfont[postscript, 10pt]\setupinterlinespace[line=12pt]
\definepapersize[Pape][width=14.7cm,height=22.3cm]
\setuppapersize[Pape][Pape]
\setuplayout
[width=113mm,height=572pt\relax,
backspace=17mm
\showframe
\setupbodyfont[postscript, 10pt]\setupinterlinespace[line=12pt]
\definepapersize[Pape][width=14.7cm,height=22.3cm]
\setuppapersize[Pape][Pape]
\setuplayout
[width=113mm,height=572pt\relax,
backspace=17mm,topspace=17mm,
header=12pt,headerdistance=6pt,
footer=36pt
.
Wolfgang
Right: this works ok.
\showframe
\setupbodyfont[postscript, 10pt]\setupinterlinespace[line=12pt]
\definepapersize[Pape][width=14.7cm,height=22.3cm]
\setuppapersize[Pape][Pape]
\setuplayout
[width=113mm,height=572pt\relax,
backspace=17mm,topspace=17mm,
header=12pt
]
\definepapersize[Pape][width=14.7cm,height=22.3cm]
\setuppapersize[Pape][Pape]
\setuplayout
[width=113mm,height=572pt\relax,
backspace=17mm,topspace=17mm,
header=12pt,headerdistance=6pt,
footer=36pt,footerdistance=0pt,
location=middle,marking=off]
\setupwhitespace[halfline
Hi all,
I would have though the following code would produce text flush to the edges
of the paper, but there is significant whitespace on the right and bottom
sides. Probably there is an obvious setting, but it eludes me now:
\definepapersize[short][width=600px,height=440px]
\setuppapersize
the following code would produce text flush to the
edges of the paper, but there is significant whitespace on the right and
bottom sides. Probably there is an obvious setting, but it eludes me now:
\definepapersize[short][width=600px,height=440px]
\setuppapersize[short][short]
\setuplayout
the prints correct I wanted to move the layout 8 mm to the
right and 21 mm down... I had no success to complete this.
Could someone enlighten me what I am doing wrong?
Willi
I have the following setup for testing:
\definepapersize[Label][height=42.3mm,width=97mm]
\definepapersize[Mypaper][A4
to work in pixels (I have swfs / images to embed, and these come in x by y
pixels).
Anyone have an easy answer?
\definepapersize[Screen][width=1024px,height=768px]
\setuppapersize[Screen][Screen]
You should check if it's ok, I'm not sure.
--
luigi
work
in
pixels as units, and not mm / cm.
I know pdfs are scalable and about \setuppapersize[S6][S6], but I'd
prefer
to work in pixels (I have swfs / images to embed, and these come in x by
y
pixels).
Anyone have an easy answer?
\definepapersize[Screen][width=1024px,height=768px
starts a new section 1.2 Two!)
Thanks,
Steffen
---
\showframe
\setupbodyfont[postscript, 10pt]\setupinterlinespace[line=12pt]
\definepapersize[Pape][width=14.7cm,height=22.3cm]
\setuppapersize[Pape][Pape]
\setuplayout
[width=113mm,height=572pt\relax,
backspace=17mm,topspace
\definepapersize[bok][width=7.0in,height=10.0in]
\setuppapersize[bok][bok]
\usemodule [simplefonts]
\setmainfont [georgia]
\starttext
Here is ``foo''.
\stoptext
-
I still get the same wrong results. In a ttf font like georgia
the close quote looks OK
and macros.tex looks like this:
\setupoutput[pdftex]
\definepapersize[bok][width=7.0in,height=10.0in]
%\setuppapersize[bok][letter]
\setuppapersize[bok][bok]
\setuplayout[location=middle,marking=on]%
\setupwhitespace[line]
\setuptyping[style=small]
Anyone else have this problem?
--
John Culleton
this:
\startenvironment macros
\setupoutput[pdftex]
\definepapersize[bok][width=7.0in,height=10.0in]
%\setuppapersize[bok][letter]
\setuppapersize[bok][bok]
\setuplayout[location=middle,marking=on]%
\setupwhitespace[line]
\setuptyping[style=small]
\stopenvironment
Anyone else have this problem
\input body.tex
\stoptext
and macros.tex looks like this:
\startenvironment macros
\setupoutput[pdftex]
\definepapersize[bok][width=7.0in,height=10.0in]
%\setuppapersize[bok][letter]
\setuppapersize[bok][bok]
\setuplayout[location=middle,marking=on]%
\setupwhitespace[line
of
the file when you use context’s document structure.
Let me simplify the example:
---
\setupoutput[pdftex]
simplefonts is mkiv only, so remove this or don’t use simplefonts
\definepapersize[bok][width=7.0in,height=10.0in]
\setuppapersize[bok
]
\setupexternalfigures
[interaction=yes]
}
\setupexternalfigures
[directory=]
\doifelse {\getdocumentargument{paperformat_paper}} {fit} {
\doifdocumentfilename {1} {
\getfiguredimensions
[\getdocumentfilename{1}]
\definepapersize
[fit
On 22-1-2011 5:34, Aditya Mahajan wrote:
On Mon, 10 Jan 2011, Hans Hagen wrote:
more elegant and downward compatible is this:
\definepapersize
[samesized]
[ \c!width=\paperwidth,
\c!height=\paperheight]
\setuppapersize
[A4][samesized]
in page-lay.mkiv
Can this also be added to page
On Mon, 10 Jan 2011, Hans Hagen wrote:
more elegant and downward compatible is this:
\definepapersize
[samesized]
[ \c!width=\paperwidth,
\c!height=\paperheight]
\setuppapersize
[A4][samesized]
in page-lay.mkiv
Can this also be added to page-lay.mkii. Will make it much easier
?
more elegant and downward compatible is this:
\definepapersize
[samesized]
[ \c!width=\paperwidth,
\c!height=\paperheight]
\setuppapersize
[A4][samesized]
in page-lay.mkiv
-
Hans
On Mon, 10 Jan 2011, Hans Hagen wrote:
more elegant and downward compatible is this:
\definepapersize
[samesized]
[ \c!width=\paperwidth,
\c!height=\paperheight]
\setuppapersize
[A4][samesized]
in page-lay.mkiv
Indeed. This will also work fine.
Thanks,
Aditya
on a Windows system). Example follows:
\definepapersize[6X9][width=6.0in, height=9.0in]
\setuppapersize[6X9][6X9]
\setuplayout[
width=middle,
height=middle,
backspace=.75 in,
topspace=.5 in,
header=.25 in,
footer=0 in,
headerdistance=.25 in,
footerdistance=0 in,
bottomspace=0.9
\setupwhitespace[3pt plus 2pt minus 1pt]
but in fact, that seems to have no effect, the page ist not filled. The
Reference-Manual doesnt mention this form, but states that there is some
stretchability.
How can I define the stretchability?
My simple Example:
\definepapersize [NomosLexSozA] [width
.
See my example, i set the font switch with \starttextbox or to be true with
\framed[foregroundstyle={...}].
\definepapersize[card][width=792pt,height=612pt]
\setuppapersize[card][card]
\definetypeface[impact][rm][specserif][Impact][default]
%\definetypeface[minion][rm][specserif][Minion Pro
very weird. It's an address, and the bottom line is much too high relative
to the spacing of the other lines.
Here's the file:
\definepapersize[card][width=792pt,height=612pt]
\setuppapersize[card][card]
\definetypeface[impact[rm][serif][mpact regular][default]
\definetypeface[minion][rm
on one side?
Here is one option from one of my recent documents ...
Document A (badges.tex) creates badges:
\definepapersize
[badge]
[width=8.5cm,height=5cm]
\setuppapersize
[badge][badge]
\setuplayout
[backspace=1cm,width=middle,topspace=1cm,height=middle
in my example I have set the numbers in the margin.
In fact of using the twoside layout I get the
numbers only for odd pages in the margin.
Is this also possible for the even pages,
just like header 1.2 instead of 1.2 header?
Herbert
\definepapersize[DE][width=10cm,height=12cm]
\setuppapersize
201 - 300 of 474 matches
Mail list logo