.*]
\definefont[testfont][ipaexm.ttf][script=kana,language=jan]
\startTEXpage
\startformula test \stopformula \par
\testfont \startscript[nihongo]\ruledhbox{漢字\hskip 2cm 文
書}\stopscript\par
\testfont \startscript[nihongo]\ruledhbox to 7cm{漢字\hfill 文
書}\stopscript\par
\testfont \startscript
.
Experimental in beta:
\definefontfeature [lm-math] [mathdimensions=signs]
\starttext
\startTEXpage[offset=10pt]
$x \ruledhbox{$\pm$} x \ruledhbox{$\mp$} x$
\stopTEXpage
\stoptext
(explanation in font manual, not yet uploaded)
Hans
\externalfigureparameter\c!offset uses always the global setting.
% \def\page_figures_start[#1][#2]%
% {\bgroup
%\setupexternalfigure[\v!page:\v!figure][\c!offset=\v!overlay,#2]%
%\startTEXpage[\c!offset=\externalfigureparameter\c!offset]%
% \externalfigure[#1][\v!page:\v!figure
to be italic or
upright in mathematics.
That is already there
\setupmathematics
[lcgreek=italic,
ucgreek=normal]
(normal, italic, none)
I've added sygreek so that one can also influence the nable and
differential (default normal). I tested with:
\starttext
\startTEXpage
with:
\starttext
\startTEXpage
\startlines
\type{--}: \mathematics{\nabla \phi = ∇ ϕ = 0}
\type{it}: \mathematics{\it \nabla \phi = ∇ ϕ = 0}
\type{bf}: \mathematics{\bf \nabla \phi = ∇ ϕ = 0}
\type{bi}: \mathematics{\bi \nabla
]
\definefontfeature[f:newstylerightsideup] [onum=no,dlig=no]
\definefontfeature[f:oldstylewmacron] [ss04=no,onum=yes]
\definefontfeature[f:newstylesmallcaps] [smcp=yes,onum=no]
\startTEXpage[offset=10pt]
\define\SAMPLE{123 Idrīs ?` !` VA fi}
\SAMPLE\blank
\feature[+][f:oldstyle
[f:newstylesmallcaps] [smcp=yes,onum=no]
\startTEXpage[offset=10pt]
\define\SAMPLE{123 Idrīs ?` !` VA fi}
\SAMPLE\blank
\feature[+][f:oldstyle] \SAMPLE \blank
\feature[more][f:thinimacron] \SAMPLE \blank
\addfeature[f:upsidedown] \SAMPLE \blank
\feature
=no]
% \enabletrackers[fonts.features]
\startTEXpage[offset=10pt]
\start
fijn fietsen 123
\type{[+os]}\feature{f:oldstyle}
fijn fietsen 123
\type{[+sc]}\feature{f:smallcaps}
fijn fietsen 123
\type{[+ns]}\feature{f:newstyle}
fijn fietsen 123
\type
]
\definefontfeature[f:newstyle] [onum=no]
% watch how features accumulate
\startTEXpage[offset=10pt]
fijn fietsen 123
\feature{f:oldstyle}
fijn fietsen 123
\feature{f:smallcaps}
fijn fietsen 123
\feature{f:oldstyle}
fijn fietsen 123
\start
\nl % \feature{nl
Hi Aditya,
I made a mathstyle mechanism ... used in fences first:
\starttext
\startTEXpage[offset=1ex]
\def\TestMe#1%
{\NC \ttbf #1
\NC \ruledhbox{$\setupmathstyle[#1]x + x_j^2 + x_i^{e^2} + \frac{1}{x}$}
\NC \ruledhbox{$\setupmathstyle[#1,small]x + x_j^2 + x_i^{e^2} +
\frac{1}{x
as mprun: is a prefix and
doesn't mix well with other prefixes (schemes)
\starttext
\startTEXpage
\startMPrun{foo}
beginfig(2) ;
fill fullcircle scaled 1cm withcolor blue ;
endfig ;
beginfig(1) ;
fill fullcircle scaled 2cm
prefixes (schemes)
\starttext
\startTEXpage
\startMPrun{foo}
beginfig(2) ;
fill fullcircle scaled 1cm withcolor blue ;
endfig ;
beginfig(1) ;
fill fullcircle scaled 2cm withcolor red ;
endfig
}]
\starttext
\startTEXpage[width=20em]
\dorecurse{100}{\dontleavehmode\symbol[smile] }
\stopTEXpage
\stoptext
-
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt
On Sat, 12 Jan 2013 19:11:47 +0100, Wolfgang Schuster
wolfgang.schus...@gmail.com wrote:
Move \definelayer and \setupbackgrounds *before* \startTEXpage because the
environment creates a local group and you background setup is lost.
... Thanks for the hint - here's my next trial.
It should
Am 15.01.2013 um 09:04 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
l...@pontex.cz:
On Sat, 12 Jan 2013 19:11:47 +0100, Wolfgang Schuster
wolfgang.schus...@gmail.com wrote:
Move \definelayer and \setupbackgrounds *before* \startTEXpage because the
environment creates a local group
]}]
\startsetups[beforetext]
\setlayer[beforetext][preset=righttop]{\framed[width=2in]{BEFORE}}
\stopsetups
\startTEXpage[background={foreground,beforetext}]
\externalfigure[cow][width=30cm]
\stopTEXpage
Z
\stoptext
A similar example is also on the wiki:
http://wiki.contextgarden.net/Layers
]{\red BEFORE}
The Text!
\stoptext
This works well.
The Lay4 differs in one point - it encloses the text into \start/stop-TEXpage:
\setupbodyfont[30pt]
\starttext
\startTEXpage
\definelayer[beforetext]
\setupbackgrounds
[page]
[background={foreground
[page]
[background={foreground,beforetext}]
\setlayer[beforetext]{\red BEFORE}
The Text!
\stoptext
This works well.
The Lay4 differs in one point - it encloses the text into \start/stop-TEXpage:
\setupbodyfont[30pt]
\starttext
\startTEXpage
Hans has be playing with MetaPost instances which got broken.
\startMPpage\stopMPpage got the wrong instance
whereas \startTEXpage\startMPcode\stopMPcode\stopMPpage correctly got
the default instance.
Normally, this was fixed, but your minimal example still does not
work for me either. Something
code below, example output attached, and the behaviour is documented at
http://wiki.contextgarden.net/Command/setupmathematics
Cheers,
Sietse
\defineparagraphs[asdf][n=3]
\startTEXpage[offset=2mm]
\startasdf
\setupmathematics[autopunctuation=no]
autopunctuation=no
\starttabulate[]
\NC input
][script=latn,calt=yes,ss11=yes]
\setmainfont[Theano Didot]
\starttext
\startTEXpage[offset=10pt]
βάρβαροι θαυμασθεὶς
\stopTEXpage
\stoptext
Many thanks again for your help,
Pablo
--
http://www.ousia.tk
___
If your question
On 26/11/12 23:46, Hans Hagen wrote:
[...]
Sure, kern tables are used and are quite valid in open type as well
(open type includes truetype).
I see lots of kerns in:
\starttext
\startTEXpage[offset=10pt]
\definedfont[file:freeserif.ttf*default] \showfontkerns \input ward
On 27/11/12 18:04, Hans Hagen wrote:
I see lots of kerns in:
\starttext
\startTEXpage[offset=10pt]
\definedfont[file:freeserif.ttf*default] \showfontkerns \input
ward
\stopTEXpage
\stoptext
Well, I don't see any kern.
attached
Mine attached to (excluding source
On Tue, Nov 27, 2012 at 6:36 PM, Pablo Rodríguez oi...@web.de wrote:
\starttext
\startTEXpage[offset=10pt]
\definedfont[file:freeserif.ttf*default] \showfontkerns \input
ward
\stopTEXpage
\stoptext
this is mine
--
luigi
test-3.pdf
Description: Adobe PDF document
On 27/11/12 18:42, luigi scarso wrote:
On Tue, Nov 27, 2012 at 6:36 PM, Pablo Rodríguez oi...@web.de wrote:
\starttext
\startTEXpage[offset=10pt]
\definedfont[file:freeserif.ttf*default] \showfontkerns \input
ward
\stopTEXpage
\stoptext
this is mine
Something must
On Tue, Nov 27, 2012 at 6:46 PM, Pablo Rodríguez oi...@web.de wrote:
On 27/11/12 18:42, luigi scarso wrote:
On Tue, Nov 27, 2012 at 6:36 PM, Pablo Rodríguez oi...@web.de wrote:
\starttext
\startTEXpage[offset=10pt]
\definedfont[file:freeserif.ttf*default] \showfontkerns \input
On 11/27/2012 6:36 PM, Pablo Rodríguez wrote:
On 27/11/12 18:04, Hans Hagen wrote:
I see lots of kerns in:
\starttext
\startTEXpage[offset=10pt]
\definedfont[file:freeserif.ttf*default] \showfontkerns \input ward
\stopTEXpage
\stoptext
Well, I don't see any kern
On 27/11/12 18:56, Hans Hagen wrote:
On 11/27/2012 6:36 PM, Pablo Rodríguez wrote:
I see lots of kerns in:
\starttext
\startTEXpage[offset=10pt]
\definedfont[file:freeserif.ttf*default] \showfontkerns \input
ward
\stopTEXpage
\stoptext
Well, I don't see any
Am 27.11.2012 um 20:34 schrieb Pablo Rodríguez oi...@web.de:
On 27/11/12 18:56, Hans Hagen wrote:
On 11/27/2012 6:36 PM, Pablo Rodríguez wrote:
I see lots of kerns in:
\starttext
\startTEXpage[offset=10pt]
\definedfont[file:freeserif.ttf*default] \showfontkerns \input
On 11/27/2012 8:34 PM, Pablo Rodríguez wrote:
On 27/11/12 18:56, Hans Hagen wrote:
On 11/27/2012 6:36 PM, Pablo Rodríguez wrote:
I see lots of kerns in:
\starttext
\startTEXpage[offset=10pt]
\definedfont[file:freeserif.ttf*default] \showfontkerns \input ward
wonder whether at least the TrueType 'kern' table should be
used by ConTeXt.)
Sure, kern tables are used and are quite valid in open type as well
(open type includes truetype).
I see lots of kerns in:
\starttext
\startTEXpage[offset=10pt]
\definedfont[file:freeserif.ttf*default
2012-10-29 Mari Voipio:
The problem: I don't know how to input the logo graphic into Metapost
code. This did not work, even though the pdf is in the same directory:
externalfigure vaaka-logo.pdf scaled 1cm;
This works here:
\startbuffer [image]
\useMPlibrary [dum]
\startTEXpage
here:
\startbuffer [image]
\useMPlibrary [dum]
\startTEXpage
\externalfigure [dummy]
\stopTEXpage
\stopbuffer
\ctxcommand{runbuffer(\jobname.tmp, image, true)}
\starttext
\startMPcode
picture pic;
pic = externalfigure \jobname-\jobname.tmp.pdf scaled 1cm;
draw pic rotated
figures as their
own page in general,
(not just PDFs, although that's the example I give), you want
\startTEXpage
\externalfigure[file.pdf][page=1,width=...]
\stopTEXpage
Kind regards,
Sietse
___
If your question
]
\setupbodyfont [mono]
\startsetups [myset]
\setupwhitespace [big]
\setuptolerance [space]
\stopsetups
\setups{myset}
\starttext
\startTEXpage [setups=myset]
%% \spaceskip .5em plus .25em minus .25em
\input knuth
\stopTEXpage
\input knuth
\stoptext
Marco
and is there a cleaner solution? Example:
\setuplayout [width=8cm]
\setupbodyfont [mono]
\startsetups [myset]
\setupwhitespace [big]
\setuptolerance [space]
\stopsetups
\setups{myset}
\starttext
\startTEXpage [setups=myset]
%% \spaceskip .5em plus .25em minus .25em
\input
)
\defineitemgroup[institm]
\setupinstitm[1][text, random]
\setupinstitm[1][symbol=2, indentnext=no, intro=yes]
\starttext
\startTEXpage[offset=5mm]
\bold{Contributions}
\startinstitm
\startitem Foo Pvt Ltd {\sc nsw} \stopitem
\startitem Bar Pvt Ltd {\sc
]
\setupinstitm[1][text, random]
\setupinstitm[1][symbol=2, indentnext=no, intro=yes]
\starttext
\startTEXpage[offset=5mm]
\bold{Contributions}
\startinstitm
\startitem Foo Pvt Ltd {\sc nsw} \stopitem
\startitem Bar Pvt Ltd {\sc vic} \stopitem
\startitem Baz Pvt Ltd
On 14-6-2012 19:07, Hongwen Qiu wrote:
Hi,
Is it possible to typeset the label with context and generate eps output
files using the metafun format? If yes, then how?
\startMPpage
...
\stopMPpage
or
\startTEXpage
...
\stopTEXpage
and then use pstopdf to turn the pdf into an eps
Hans
is going on and of a
possible fix?
\documentclass{article}
\usepackage{fontspec}
\usepackage{lipsum}
\begin{document}
\lipsum
\end{document}
I can't process that here. This is a easier test:
\nopdfcompression
\setupbodyfont[dejavu]
\startTEXpage[offset=10pt]
a % a
\stopTEXpage
Even
:
\nopdfcompression
\setupbodyfont[dejavu]
\startTEXpage[offset=10pt]
a % a
\stopTEXpage
Even such a minimal document cannot be compared. I have no clue how the compare
is supposed to work but if a simple 'a' vs 'aa' document does not work while
the files preflight ok it's probably an acrobat issue.
Hans
?
\documentclass{article}
\usepackage{fontspec}
\usepackage{lipsum}
\begin{document}
\lipsum
\end{document}
I can't process that here. This is a easier test:
\nopdfcompression
\setupbodyfont[dejavu]
\startTEXpage[offset=10pt]
a % a
\stopTEXpage
Even such a minimal document cannot be compared
In the following example I expect the third image to have a width of
4cm and a height of 4cm. However, both values are 3cm. The aspect
ratio is kept, but “max” and “fit” behave the same.
\startbuffer [img]
\useMPlibrary [dum]
\startTEXpage
\externalfigure [dummy] [width=5cm,height=5cm
image to have a width of
4cm and a height of 4cm. However, both values are 3cm. The aspect
ratio is kept, but “max” and “fit” behave the same.
\startbuffer [img]
\useMPlibrary [dum]
\startTEXpage
\externalfigure [dummy] [width=5cm,height=5cm]
\stopTEXpage
\stopbuffer
\ctxcommand{runbuffer(img
,xmagenta=.4,xyellow=.6][c=.2,m=.4,y=.6]
\startTEXpage
\hbox \bgroup
\blackrule[color=scyan, width=1cm,height=1cm,depth=0cm]%
\blackrule[color=smagenta,width=1cm,height=1cm,depth=0cm]%
\blackrule[color=syellow, width=1cm,height=1cm,depth=0cm]%
\blackrule[color
[syellow] [xyellow] [p=1]
\definemultitonecolor[scombi]
[xcyan=.2,xmagenta=.4,xyellow=.6][c=.2,m=.4,y=.6]
\startTEXpage
\hbox \bgroup
\blackrule[color=scyan, width=1cm,height=1cm,depth=0cm]%
\blackrule[color=smagenta,width=1cm,height=1cm,depth=0cm]%
\blackrule
pdf into the above format, you can use the following (pseudo code,
untested, and might have typos)
get number of pages in the pdf
\getfiguredimensions[filename]
\edef\NOfPages{\noffigurepages}
insert the first page
\startTEXpage[height=(A5 height}, width=(A5 width)]
\externalfigure
=resources]
\starttext
\setlayer[resources]{\placerenderingwindow[example][mysound]} % once
\startTEXpage
\button{start}[StartSoundTrack]
\button{stop}[StopSoundTrack]
\stopTEXpage
\startTEXpage
\button{start}[StartSoundTrack]
\button{stop}[StopSoundTrack
Hello,
There is white space above the A and the lower part of the A is cut:
\startTEXpage
A
\stopTEXpage
No problem with Aj...
--
Peter
___
If your question is of interest to others as well, please
hesitate:
My favourite command is \externalfigure [placeholder]
because it produces very pretty colourful graphics (I'm
bored to use the dutch cow or the wind mill every time).
Example:
\useMPlibrary [dum]
\starttext
\dorecurse{10}{
\startTEXpage
\externalfigure
}{
\startTEXpage
\externalfigure [placeholder]
\stopTEXpage}
\stoptext
You can also use my `\externalkitten` macro:
http://randomdeterminism.wordpress.com/2011/05/07/images-for-documentation-examples/
\def\externalkitten[#1]%
{\getparameters[kitten][width=10pt, height=10pt, #1
works. Example:
\starttext
\startbuffer [fig]
\useMPlibrary [dum]
\starttext
\startTEXpage
\externalfigure [placeholder] [width=10cm, height=4cm]
\stopTEXpage
\stoptext
\stopbuffer
\savebuffer [fig] [fig
and orientation
- Each page contains a PDF vector image that is not to be converted to
pixels
So , if you have file-001.pdf, file-002.pdf, file-003.pdf maybe
\starttext
\startTEXpage\externalfigure[file-001]\stopTEXpage
\startTEXpage\externalfigure[file-002]\stopTEXpage
\startTEXpage\externalfigure[file-003
and orientation
- Each page contains a PDF vector image that is not to be converted to pixels
Yes, this is easy. There are three options:
1.) \startTEXpage\externalfigure[...]\stopTEXpage
2.) same, but with TEXstream
3.) a shortcut for the above, \startpagefigure. See
http://wiki.contextgarden.net
fancy ConTeXt trickery I could
use to do this?
Summary:
- One PDF as result
- Each page has a different size and orientation
- Each page contains a PDF vector image that is not to be converted to pixels
Yes, this is easy. There are three options:
1.) \startTEXpage\externalfigure
a portrait layout for the page dimension.
How can I insert a figure so that it is of a given size, with the page
size perfectly cropped around it?
\startTEXpage[offset=1mm]
\externalfigure[...]
\stopTEXpage
Aditya
Hey Aditya,
I've adapted it into the following.
% Insert a full page diagram
[TestFontA][Serif*redboxed]
\definefont[TestFontB][Serif*greenboxed]
\definefont[TestFontC][Serif*blueboxed]
\startTEXpage[offset=10pt]
\start \TestFontA \input zapf \stop \blank
\start \TestFontB \input zapf \stop \blank
\start \TestFontC \input zapf \stop
that it is of a given size, with the page
size perfectly cropped around it?
\startTEXpage[offset=1mm]
\externalfigure[...]
\stopTEXpage
Aditya
___
If your question is of interest to others as well, please add an entry
or is this mailing list the only way
to find out?
It’s already obsolete as you noticed by the “undefined control sequence”
warning.
The reason for this is that \startMPpage and \startTEXpage are now defined in a
different
way than they had been in MkII. In MkII both commands are defined
already obsolete as you noticed by the “undefined control sequence”
warning.
The reason for this is that \startMPpage and \startTEXpage are now defined in a
different
way than they had been in MkII. In MkII both commands are defined with
\def\startMPpage{…}
and \def\startTEXpage{…} but in MkIV
]{Here is farther caption}
{\externalfigure[mill][type=jpg,metod=jpg,width=5cm,frame=on]}
\input tufte
\page
\startTEXpage
\startcombination[3*1]
{\externalfigure[cow][frame=on]}{This caption has to be more
distanced.}
{\externalfigure[cow][frame
}
{\externalfigure[mill][type=jpg,metod=jpg,width=5cm,frame=on]}
\input tufte
\page
\startTEXpage
\startcombination[3*1]
{\externalfigure[cow][frame=on]}{This caption has to be more
distanced.}
{\externalfigure[cow][frame=on]}{This title has yet to be more
distanced.}
{\externalfigure
={\blank[1cm]}]
\setupfloats[spacebefore=none, spaceafter=none] %
\input tufte
\placefigure[here]{Here is farther caption}
{\externalfigure[mill][type=jpg,metod=jpg,width=5cm,frame=on]}
\input tufte
\page
\startTEXpage
\startcombination[3*1]
{\externalfigure[cow][frame
[spacebefore=none, spaceafter=none] %
\input tufte
\placefigure[here]{Here is farther caption}
{\externalfigure[mill][type=jpg,metod=jpg,width=5cm,frame=on]}
\input tufte
\page
\startTEXpage
\startcombination[3*1]
{\externalfigure[cow][frame=on]}{This caption has to be more distanced
\setupcaptions[number=no,style=\ssxx,inbetween={\blank[1cm]}]
\setupfloats[spacebefore=none, spaceafter=none] %
\input tufte
\placefigure[here]{Here is farther caption}
{\externalfigure[mill][type=jpg,metod=jpg,width=5cm,frame=on]}
\input tufte
\page
\startTEXpage
]
\startTEXpage
\startcombination[overviewpage][2*1]
{\framed{Hello}}{\framed{Hello}}
{\framed{Hello}}{\framed{Hello}}
\stopcombination
\stopTEXpage
Thanx Jaroslav
Dne 24.11.2011 7:25, Aditya Mahajan napsal(a):
On Thu, 24 Nov 2011, Wolfgang Schuster wrote:
Am 24.11.2011 um 00:29 schrieb Aditya Mahajan
On 11-11-2011 13:40, Andreas Harder wrote:
Hi,
there is (still) no colon if one uses the pxmath fonts. By the way,
\setupTEXpage causes an error (Undefined control sequence).
\setupbodyfont[palatino] % no colon
% \setupbodyfont[asana] % OK
% \setupTEXpage[offset=1ex] % error
\startTEXpage
Hi,
there is (still) no colon if one uses the pxmath fonts. By the way,
\setupTEXpage causes an error (Undefined control sequence).
\setupbodyfont[palatino] % no colon
% \setupbodyfont[asana] % OK
% \setupTEXpage[offset=1ex] % error
\startTEXpage % [offset=1ex] % OK
$a$:\,$b$\par $a\colon b
Dear gang,
Somewhere in the last few updates righttoleft pars have either changed or
are broken:
\starttext
\startTEXpage[align=r2l]
\righttoleft % pardir
Here is some text
And some more
More
\stopTEXpage
\stoptext
r2l textdir is correct but r2l pardir is lost. This worked normally
On 8-11-2011 17:49, Idris Samawi Hamid ادريس سماوي حامد wrote:
Dear gang,
Somewhere in the last few updates righttoleft pars have either changed
or are broken:
\starttext
\startTEXpage[align=r2l]
\righttoleft % pardir
Here is some text
And some more
More
\stopTEXpage
\stoptext
r2l
Am 08.11.2011 um 17:49 schrieb Idris Samawi Hamid ادريس سماوي حامد:
Dear gang,
Somewhere in the last few updates righttoleft pars have either changed or are
broken:
\starttext
\startTEXpage[align=r2l]
\righttoleft % pardir
You don’t need \righttoleft because “‘align=right
Hi,
the colon sign disappears if one uses pxmath fonts (latest beta MkIV).
\setupbodyfont[palatino] % not OK
% \setupbodyfont[asana] % OK
\startTEXpage
$a:b$\par
$a\colon b$
\stopTEXpage
Regards
Andreas
]{•}
\stoptext
I don't understand the scale value :
* 700 = 70% ?
* 1700 = 170% ?
yes: see
\starttext
\startTEXpage
A\scale[scale=1000]{A}
A\scale[scale=500]{A}
A\scale[scale=2000]{A}
\stopTEXpage
\stoptext
--
luigi
attachment
. For example (untested):
\getfiguredimensions[file]%
\edef\NOfpages{\noffigurepages}%
\dorecurse{\NOfpages}
{\dorecurse{4}
{\startTEXpage
\externalfigure[file][page=\recurselevel]%
\stopTEXpage}}
and then do the arranging.
Aditya
}
{\startTEXpage
\externalfigure[file][page=\recurselevel]%
\stopTEXpage}}
and then do the arranging.
Thanks - but this is exactly what I do *not* want to do. My first idea
was to do something like
\def\onepageworthofmaterial{whatever\page}
\dorecurse{4}{\onepageworthofmaterial
times?)
You can write a macro that reads a pdf file and outputs each of its
page four times. For example (untested):
\getfiguredimensions[file]%
\edef\NOfpages{\noffigurepages}%
\dorecurse{\NOfpages}
{\dorecurse{4}
{\startTEXpage
\externalfigure[file][page=\recurselevel
is
intersecting with itself, funny things can happen. well, most times not
that funny (because unwanted).
probably not the best example (not drawn, no special pen), but it gives
a first impression of what is going on.
\startTEXpage
\startMPcode
path p[];
p0 := unitcircle scaled 10cm
in the 2nd, this
is to be expected in this minimal example.)
Is the result correct or is this a bug?
Alan
\starttext
\startTEXpage
\startMPcode
u := 1mm ;
path p[] ;
p0 := ((0,0)--(1,0)) rotated 45 scaled 20u ;
pickup pensquare scaled 10u rotated 45
to be drawn without the point at (0,0).
(Ignore the asymmetry at the end of the path in the 2nd, this
is to be expected in this minimal example.)
Is the result correct or is this a bug?
Alan
\starttext
\startTEXpage
\startMPcode
u := 1mm ;
path p[] ;
p0 := ((0,0)--(1,0
would expect.
The second graphic seems to be drawn without the point at (0,0).
(Ignore the asymmetry at the end of the path in the 2nd, this
is to be expected in this minimal example.)
Is the result correct or is this a bug?
Alan
\starttext
\startTEXpage
\startMPcode
u := 1mm
Hello,
let's have the following code:
\setuplayout[page]
\starttext
AAA
\page
\copypages[cow.pdf]
BBB
\startTEXpage
\externalfigure[cow]
\stopTEXpage
\page
CCC
\stoptext
Texts AAA and BBB are written from the strict left top corner of the page -
page has
} ;
\stopuniqueMPgraphic
\definepushsymbol [reset] [n] [\uniqueMPgraphic{whatever}{color=red}]
\definepushsymbol [reset] [r] [\uniqueMPgraphic{whatever}{color=green}]
\definepushsymbol [reset] [d] [\uniqueMPgraphic{whatever}{color=blue}]
\starttext
\startTEXpage
\pushbutton [reset] [page(2
wrong here, or how to fix it?
Julian
\usetypescript[cambria]
\setupbodyfont[cambria,10pt]
\startTEXpage
\startformula
\prod_a^b \sum_{n=0}^\infty \int_0^\infty e^{-{\bi\beta}^2}\, {\rm
d}^3{\bi \beta}
\stopformula
\stopTEXpage
This is a known bug in the Cambria font, the size of the big
ligatures
\font\devnagari=Lohit-Hindi at 12pt
\starttext
\startTEXpage[foregroundstyle=\devnagari]
\stopmkiipreamble
\startmkiipostamble
\stopTEXpage
\stoptext
\stopmkiipostamble
\starttext
Check if this works.
\startmkii
\startlines
जाति न पूछो साधु की, पूछ लीजिए ग्यान।
मोल करो तलवार
\startTEXpage[foregroundstyle=\devnagari]
\stopmkiipreamble
\startmkiipostamble
\stopTEXpage
\stoptext
\stopmkiipostamble
\starttext
Check if this works.
\startmkii
\startlines
जाति न पूछो साधु की, पूछ लीजिए ग्यान।
मोल करो तलवार के, पड़ा रहन दो म्यान।।
\stoplines
Hello,
see the following example:
\starttext
AAA
\startTEXpage
\rotate[rotation=-90]{\externalfigure[Model.pdf]}
\stopTEXpage
% Paper size is 297 * 297 mm from now?!
BBB
\stoptext
Why the last paper size becomes 297 x 297 mm?
Suggestion:
Wouldn't be good to have
2011/6/8 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz:
Hello,
see the following example:
\starttext
AAA
\startTEXpage
\rotate[rotation=-90]{\externalfigure[Model.pdf]}
\stopTEXpage
% Paper size is 297 * 297 mm from now?!
BBB
\stoptext
Why the last
Not sure if it's a bug, but this fixes the situation (assuming A4 on A4)
\starttext
AAA
\startTEXpage
\rotate[rotation=-90]{\externalfigure[Model.pdf]}
\stopTEXpage
\setuppapersize[A4][A4]
% Paper size is 297 * 297 mm from now?!
BBB
\stoptext
--
luigi
On 2011-06-08 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz wrote:
Hello,
see the following example:
\starttext
AAA
\startTEXpage
\rotate[rotation=-90]{\externalfigure[Model.pdf]}
\stopTEXpage
% Paper size is 297 * 297 mm from now?!
BBB
On Wed, 08 Jun 2011 12:01:04 +0200, luigi scarso luigi.sca...@gmail.com wrote:
Not sure if it's a bug, but this fixes the situation (assuming A4 on A4)
\starttext
AAA
\startTEXpage
\rotate[rotation=-90]{\externalfigure[Model.pdf]}
\stopTEXpage
\setuppapersize[A4][A4]
% Paper size is 297
\startTEXpage
\startformula
\reals {\mathbf R} \utfchar{0211D} \utfchar{1D411}
\stopformula
\setupmathematics[symbolset=blackboard-to-bold]
\startformula
\reals {\mathbf R} \utfchar{0211D} \utfchar{1D411}
\stopformula
\stopTEXpage
\startTEXpage{\ss \ConTeXt}\stopTEXpage
\stoptext
--
luigi
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg
Hello All,
In the following minimal example there is no whitespace around the
figure. Is it possible to add some white space around the figure when
using \startTEXpage \stopTEXpage environment.
Thank you.
\usemodule[tikz]
\starttext
\startTEXpage
\starttikzpicture
\draw[fill=blue!20
On Wed, Apr 20, 2011 at 10:25:15AM -0400, Curiouslearn wrote:
Hello All,
In the following minimal example there is no whitespace around the
figure. Is it possible to add some white space around the figure when
using \startTEXpage \stopTEXpage environment.
Thank you.
\usemodule[tikz
space around the figure when
using \startTEXpage \stopTEXpage environment.
Thank you.
\usemodule[tikz]
\starttext
\startTEXpage
\starttikzpicture
\draw[fill=blue!20] (0,0) rectangle (3,2);
\stoptikzpicture
\stopTEXpage
\stoptext
Try \startTEXpage[offset=1pt] etc.
Regards
that its ConTeXt's fault, as It has a Widget annotation without
the mandatory Rect field.
Is it really so? I couldn't find any threads on this on the list.
\nopdfcompression
\setupinteraction[state=start]
\definefieldbody[email][type=line]
\starttext
\startTEXpage
\fieldbody[email
\startTEXpage
\definedfont[Serif*default at 20pt]fijn\par
\definefontfeature[nlddefault][default][script=latn,language=nld]
\definedfont[Serif*nlddefault at 20pt]fijn\par
\stopTEXpage
\stoptext
Depending on the font, node mode takes more memory (and a bit more
runtime
your example without \startTEXpage/\stopTEXpage and you see that the
chart won’t fit on the page when you set the fontsize to 24pt. To keep the width
of the chart within the allowed width (\textwidth) context reduce the fontsize
until the chart fits.
Wolfgang
Hi Hans,
with the latest beta asana-math.lfg don't seem to have any influence of the
output.
\setupbodyfont[asana]
\startTEXpage[offset=1ex]
$\binom{n}{k}\quad \dbinom{n}{k}$
\stopTEXpage
It used to work with the experimental two or three days ago.
Greeting
Andreas
2011/3/26 Wolfgang Schuster schuster.wolfg...@googlemail.com
When you use the “maxwidth” or “maxheight” keys context ignores
the current bodyfont and also the “bodyfont” key to fit the chart on the
page.
What is the reason for this?
Try your example without \startTEXpage/\stopTEXpage
801 - 900 of 1098 matches
Mail list logo