gure[dummy]
>
> \starttext
> \startplacefigure[location=left,number=no,title={}]
> \externalfigure[dummy][width=.45\textwidth]
> \stopplacefigure
> \dontleavehmode % if this is commented out then the text and the figure are
> placed on top of each other
> \startfra
={}]
\externalfigure[dummy][width=.45\textwidth]
\stopplacefigure
\dontleavehmode % if this is commented out then the text and the figure are
placed on top of each other
\startframedtext[frame=off]
\input ward.tex
\stopframedtext
\stoptext
%% end figure-framedtext.tex
In the above
as well but the input is different because
everything is hidden.
\starttext
\startplacefigure[title={A combination of three figures}]
\startcombination[3*1]
{\externalfigure[image-1.pdf][width=4cm]}{a}
{\externalfigure[image-2.pdf][width=4cm]}{b}
{\externalfigure[image-3
text
>
> \startplacefigure
> {\startplacefigure[location=none]
> \startcombination[2*1]%
> {\startcombination[1*2]%
> {\framed[width=6cm]{a}}{\externalfigure[image-1.pdf][width=6cm]}{}{}
> %{a}
>\stopcombination%
> % OR
> % {\startcomb
the figure
\startcombination[3*1]
{\externalfigure[image-1.pdf][width=4cm]}{a} % a appears above
image-1
{\externalfigure[image-2.pdf][width=4cm]}{b} % b appears above
image-2
{\externalfigure[image-3.pdf][width=4cm]}{c} % c appears above
image
\startplacefigure
{\startplacefigure[location=none]
\startcombination[2*1]%
{\startcombination[1*2]%
{\framed[width=6cm]{a}}{\externalfigure[image-1.pdf][width=6cm]}{}{}
%{a}
\stopcombination%
% OR
% {\startcombination[1*2]%
% {\framed[width=6cm]{a}}{}{\externalfigure
]
{\startcombination[2*1]
{\framed[width=6cm]{a}}{\externalfigure[image-1.pdf][width=6cm]} %{a}
{\startcombination[1*2]
{\framed[width=10cm]{b}}{\externalfigure[image-2.pdf][width=10cm]} %{b
Hi Otared,
maybe there is a better, more system solution, but the following works:
\setupcaptions[figure][location=bottom]
\startplacefigure[title={A combination of three figures}] % this title appears
below the figure
\startcombination[3*1]
{\framed[width=4cm]{a}}{\externalfigure[image-1
]
{\externalfigure[image-1.pdf][width=4cm]}{a} % a appears above
image-1
{\externalfigure[image-2.pdf][width=4cm]}{b} % b appears above
image-2
{\externalfigure[image-3.pdf][width=4cm]}{c} % c appears above
image-3
\stopcombination}{}
\stopplacefigure
}}{}{% if image empty
}{%
\directsetup{noheader}
\vbox{%
{\ChapterFont\structurevariable{title}\par}%
\blank[big]
\externalfigure[img/\structureuservariable{image}][width=0.8\textwidth]\par
}
\doifnot{\structureuservariable{vita}}{}{% if vita
\vfill
\vbox
ething
> {\datasetvariable{chapter}{\ChapterCounter}{image}}
> {\startlayout[page]
> \centerbox{\externalfigure
> [\datasetvariable{chapter}{\ChapterCounter}{image}][factor=min]}
> \stoplayout}}
>
> \stopsetups
>
> \setuphead
> [chap
}}
{\startlayout[page]
\centerbox{\externalfigure
[\datasetvariable{chapter}{\ChapterCounter}{image}][factor=min]}
\stoplayout}}
\stopsetups
\setuphead
[chapter]
[page=,
beforesection=\directsetup{chapter:before},
insidesection={\setdataset[chapter][\ChapterCounter][image
}]
\dorecurse{2}{\input tufte \par}
\stopchapter
\startchapter
[title={foo2}]
\dorecurse{6}{\input tufte \par}
\stopchapter
\startchapter
[title={bar}]
\input knuth
\startTEXpage
\externalfigure[cow.pdf][height=\paperheight,width=\paperwidth]
\stopTEXpage
\stopchapter
\startchapter
[title={foo2}]
\dorecurse{6}{\input tufte \par}
\stopchapter
\startchapter
[title={bar}]
\input knuth
\startTEXpage
\externalfigure[cow.pdf][height=\paperheight,width=\paperwidth]
\stopTEXpage
\stopchapter
\startchapter
[title={baz}]
\input knuth
\stopchapter
\stoptext
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
details.pdf)
Hi Gerben,
doesn’t this work for you?
\setuplayout[page]
\starttext
\externalfigure[foo.pdf][width=\paperwidth]
\stoptext
Just in case it helps,
Pablo
--
http://www.ousia.tk
___
If y
Why doesn't
\starttext
\externalfigure[foo.pdf][width=\pagewidth]
\stoptext
work? Without [width=\pagewidth] it works.
___
If your question is of interest to others as well, please add an entry to the
Wiki
the page width and page height dimens
for use in my macros.
G
> On 19 May 2020, at 11:58, Gerben Wierda wrote:
>
> Why doesn't
>
> \starttext
> \externalfigure[foo.pdf][width=\pagewidth]
> \stoptext
>
> work? Without
spread in the first
instance:
\startpostponing
\setuppagenumbering[state=stop]
\startspread
\startplacefigure[location=here,title={This is a cow!}]
\externalfigure[cow.pdf][height=\textheight]%
\stopplacefigure
\stopspread
\setuppagenumbering[state=start
% is not there
\stoptext
The problem is that the coordinate transformation from the restore
ends inside the emoji code:
/Span << /ActualText >> BDC
q
0.000 g
1 0 0 1 -70.867 -714.33967 cm %<
BT
(Such an save/restore part is e.g. inserted with a scaled graphics:
\externalfigure[tinypi
, but to no
avail. Perhaps this is asking too much, but there may be a workaround.
Julian
\startpostponing
\setuppagenumbering[state=stop]
\startspread
\startplacefigure[location=here,title={This is a cow!}]
\externalfigure[cow.pdf][height=\textheight]%
\stopplacefigure
, such that there is no gap.
I have tried a number of fairly crass attempts (obviously too simple) to
see if I could get somewhere near what I want, e.g.
\externalfigure[plate12.jpg][width=\paperwidth, height=.7\paperheight,
frame=none] {\tfx \sc Plates 12, 13. \tfx Twenty trucks from the
Netherlands setting
width=\maxWidth,
height=\maxHeight,
]{%
\doifinstringelse{h}{#2}{%
\externalfigure[#4][height=\maxHeight]%
}{%
\externalfigur
{2}{1}]{%
\externalfigure[filename][
width=2\paperwidth,
height=.5\paperheight]%
}%
}%
On Wed, Apr 29, 2020 at 5:05 PM jbf wrote:
>
> Hi list,
>
> With 99% of work complete on a book, including single page images, I now find
> myself confronted with
of fairly crass attempts (obviously too simple) to
see if I could get somewhere near what I want, e.g.
\externalfigure[plate12.jpg][width=\paperwidth, height=.7\paperheight,
frame=none] {\tfx \sc Plates 12, 13. \tfx Twenty trucks from the
Netherlands setting off}
\externalfigure[plate13.jpg
; command=\ItemCommand]
>
> \setupitemgroup
> [itemize:2]
> [lefttext=,
> righttext=,
> option={a,text}]
>
> \starttext
>
> \startitemize
> \startitem
> Justifier que \m{x>4} et \m{y>2}.
> \stopitem
> \p
\startitemize
\startitem
Justifier que \m{x>4} et \m{y>2}.
\stopitem
\placefigure[right,none]{}{\externalfigure [dummy]}
\startitem
Pour calculer la valeur de \m{y} en fonction de \m{x}, l'urbaniste
a écrit la fonction en Python.
\starti
Hello,
Maybe I did not understand the problem, but doesn't the code below give
you the expected result?:
\setupexternalfigures[location={local,default}]
\starttext
\dorecurse{3}{\input{knuth}}
\placefigure[force]{cow}{\externalfigure[cow][width=150mm]}
\input{knuth}
\placefigure[force,page
{{\externalfigure[#2][#3]}}
\advance\myht by -\wd0
\myht=.5\myht
\myxx=\myht
\divide\myxx by \lineheight
\mysp=\myxx
\advance\mysp by 1
\setupfloat[figpage][toffset=\myht]
\setupcaption[figpage][spaceafter=\the\mysp*big]
\startplacefigpage[location={here},title=#1]
{\externalfigure[#2
e" and "rightpage" instead of "page" and
> it seems to be ok.
>
> \placefigure[rightpage]{one more cow}{\externalfigure[cow]
> [width=150mm]} \placefigure[leftpage]{cow again}{\externalfigure[cow]
> [width=150mm]}
>
> Best wishes,
>
> Tomá
Hi Alexey,
I do not how free are you in decision where figures should be located
but I tried with "leftpage" and "rightpage" instead of "page" and
it seems to be ok.
\placefigure[rightpage]{one more cow}{\externalfigure[cow][width=150mm]}
\placefigure[leftpage]{
Hi all,
Suppose I have the following document:
\setupexternalfigures[location={local,default}]
\starttext
\dorecurse{3}{\input{knuth}}
\placefigure[top]{cow}{\externalfigure[cow][width=150mm]}
\input{knuth}
\placefigure[page]{one more cow}{\externalfigure[cow][width=150mm]}
\placefigure[page
\userpagenumber
\stopframed
\par
\startframed[height=3cm,width=max,offset=overlay]
\startframed[width=0.25\hsize,height=max]
\externalfigure[dummy][height=1.9cm]
\stopframed
\startframed[width=0.50\hsize
t[location=middle, width=27.5cm, height=18cm,
backspace=1cm,header=4cm]
\setupcaptions[location=none]
\setupbackgrounds[header][text][background={Logos}, state=repeat]
\defineoverlay
[Logos][{
\framed[width=\textwidth, height=3cm, align=right, strut=no, offset=none]{
\framed[width=0.280\textwidth,
d[width=0.280\textwidth,
height=3cm,
align=right,
frame=off]
{\placefigure[force][]{none}{\externalfigure[somepic.png][height=1.9cm]} }
\framed[width=0.430\textwidth,
height=3cm,
align=middle,
frame=off]
{\crlf\tfa \crlf \bf Technical Report}
\framed[width=0.370\textwidth,
height=3cm,
]
\starttext
This is the footnote\footnote[one]{aha} and the reference\note[one].
This is the endnote\endnote[two]{oho} and the reference\note[endnote][two].
Let's look \in[one].
\startplacefigure[title={And in this float\endnote[three]{hmm} and the
reference\note[three].}]
\externalfigure[cow
y=\\sin(x)$'
> set xlabel 'This is the $x$ axis'
> set ylabel 'This is the $y$ axis'
>
> plot [0:6.28] [0:1] sin(x)
> ]])
> \stopluacode
>
> \starttext
>
>\externalfigure[m-gnuplot-demo.
io.savedata("m-gnuplot-demo.gp", [[
set format xy "$%g$"
set title 'This is a plot of $y=\\sin(x)$'
set xlabel 'This is the $x$ axis'
set ylabel 'This is the $y$ axis'
plot [0:6.28] [0:1] sin(x)
]])
\stopluacode
\starttext
\externalfigure[m-gnuplot-demo.gp][conv
ar.
And for the piece of code, too.
Best wishes,
Tomáš
#
# \setupexternalfigures
# [location=default]
#
# \setupcaption
# [figure]
# [spaceinbetween=none,
# width=max,
# align=middle]
#
# \starttext
#
# \startplacefigure[location=top,title=Cow]
# \externalfigure[cow]
ures
[location=default]
\setupcaption
[figure]
[spaceinbetween=none,
width=max,
align=middle]
\starttext
\startplacefigure[location=top,title=Cow]
\externalfigure[cow][height=4cm]
\stopplacefigure
\samplefile{knuth}
\startplacefigure[location=right,titl
for location=right?
(The line break appears only the width of the figure becomes too small.)
Tested with TL2019 and with version from Mar 6, 2020.
Best wishes,
Tomáš
%% MWE:
\starttext
\setupcaption[figure][textcommand=\crlf]
\startplacefigure[location=top,title=Cow]
\externalfigure[cow.jpg][height
that works or \itemtag simply
ignores it which would explain amongst others why it stayed
undocumented.
Anyway i do get my Subfigure tags positioned and aligned the way i need
it.
\setupexternalfigure[location=default]
\starttext
\starttabulate[|l|l|]
\NC A \NC \tbox{\externalfigure[hacker]} \NC
at Pablo.mkiv --mode=1 & move /y Pablo.pdf Pablo_.pdf & Ctx.bat
Pablo.mkiv --mode=2
Best regards,
Lukas
On 2020-02-06 16:28, Pablo Rodriguez wrote:
Dear list,
I have the following sample:
\starttext
\input knuth
\page[right]
\setuplayout[page]
\externalfigur
\structureuservariable – this is really cool.
Thanks a lot Wolfgang.
juh
Am 14.02.20 um 19:53 schrieb Wolfgang Schuster:
> \setupexternalfigures[location=default]
>
> \defineoverlay
> [SlideBackground]
> [\doifsomething
> {\structureuservariable{background}}
>
peat]
>
> Thanks. There was a dark idea of this in the back of my brain.
>
> >
> > In your case a simple overlay is the simpler solution to get repeated
> > images on every page, i.e.
> >
> > \defineoverlay [bg:hs2020-mond]
> > [{\externalfigure[backgro
lay is the simpler solution to get repeated images
> on every page, i.e.
>
> \defineoverlay [bg:hs2020-mond]
> [{\externalfigure[background.jpg][height=\paperheight]}]
>
> or
>
> \defineoverlay [bg:hs2020-mond] [\overlayfigure{background.jpg}]
Is this defining and se
bg:hs2020-mond]
> [x=0mm, y=0mm]
> {\externalfigure[background.jpg][height=\paperwidth]}
>
> Ususally I call the background after a head command like \starttitle or when I
> create slides like this
>
> \startslide[title={foobar}]
> \setupbackgrounds[page][background=
Hi all,
I am a little bit confused as I never had this problem, although I often use
backgrounds and layers.
\definelayer[bg:hs2020-mond]
[x=0, y=0, width=\paperwidth, height=\paperheight]
\setlayer[bg:hs2020-mond]
[x=0mm, y=0mm]
{\externalfigure[background.jpg][height=\paperwidth]}
Ususally I
as in:
\usemodule[gnuplot]
\starttext
\externalfigure[gpdemo.gp][conversion=svg,width=4cm]
\externalfigure[gpdemo.gp][conversion=svg,width=8cm]
stoptext
a new terminal feature is under investigation by Mojca and me
but this is a start
- support for ecmascript for those who think thayt javascript
[blank]
\startmidaligned
\externalfigure[tab_bacblanc.pdf]
\stopmidaligned
\stoplinecorrection
{\bi Affirmation 2 :} La courbe représentative \CScript{C}{f} de
la fonction \m{f} admet une et une seule tangente parallèle à l'axe des
abscisses
On Thu, 6 Feb 2020 16:28:04 +0100
Pablo Rodriguez wrote:
> Dear list,
>
> I have the following sample:
>
> \starttext
> \input knuth
> \page[right]
> \setuplayout[page]
> \externalfigure[\jobname.pdf][page=1]
> \stoptext
>
> M
t; \setuplayout[page]
> \externalfigure[\jobname.pdf][page=1]
> \stoptext
>
> My question is how to get a page from the document you‘re compiling
> repeated inside the same document.
>
> I have tried to search both i-context.pdf and the wiki, but “mirror” and
> “
Dear list,
I have the following sample:
\starttext
\input knuth
\page[right]
\setuplayout[page]
\externalfigure[\jobname.pdf][page=1]
\stoptext
My question is how to get a page from the document you‘re compiling
repeated inside the same document.
I have tried
PDF boxes
(MediaBox, TrimBox, CropBox, ArtBox), you can set \externalfigure[drawing][size=art]
(size=none/media/crop/trim/art).
This was documented at
https://www.contextgarden.net/Command/useexternalfigure
but I also added a short description at
https://www.contextgarden.net/Using_Graphic
rtBox), you can set
\externalfigure[drawing][size=art] (size=none/media/crop/trim/art).
Best, Hraban
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
Does anyone know?
Using the latest LMTX, i try to clip some portion of an external pdf
page, then resize that portion on top a new page.
i use the \clip command.
\starttext
\scale[width=100mm, hwight=100mm]{\clip[width=150mm, height=120mm,
hoffset=30mm, voffset=40mm]{\externalfigure[drawing.pdf
On 1/29/20 10:09 AM, Pablo Rodriguez wrote:
> Dear list,
>
> I need to add a PDF page, but removing extra margins that it contains.
>
> A sample would be:
>
> \setupexternalfigures[location=default]
> \starttext
> \externalfigure[cow.pdf]
> \stop
Dear list,
I need to add a PDF page, but removing extra margins that it contains.
A sample would be:
\setupexternalfigures[location=default]
\starttext
\externalfigure[cow.pdf]
\stoptext
How could I crop 2ex from the left and top margins in the code above?
Many thanks for your
ode, but it has not
> failed me yet.
>
> \newdimen\MYfigurewidth
> \newdimen\MYfigureheight
> \unexpanded\def\MYgetfiguredimensions
> {\dodoubleempty\MYdogetfiguredimensions}
>
> \def\MYdogetfiguredimensions[#1][#2]%
> {\setbox0=\hbox{\externalf
{\noffigurepages}
{\externalfigure[a-test.pdf][page=\recurselevel]}
\stoptext
But after a closer inspection, the docuemnts are properly malformed.
They include some top and left extra margins.
Is there any way to remote those extra margins? (Offset doesn’t seem to
work here.)
Many thanks
\unexpanded\def\MYgetfiguredimensions
{\dodoubleempty\MYdogetfiguredimensions}
\def\MYdogetfiguredimensions[#1][#2]%
{\setbox0=\hbox{\externalfigure[#1][#2]}%
\MYfigurewidth=\wd0
\MYfigureheight=\ht0 }
And used like:
\MYgetfiguredimensions[cow.pdf][page=1]
\ifdim
>> frame=on,
>> framecolor=magenta,
>> ]
>>
>>
>> \starttext
>> \startcolumnset[Two]
>>
>> \dorecurse{10}{\fakewords{100}{120}\par}
>>
>> \setupcolumnsetarea[AdSpace][state=start]
>> \setupcolumnsetareatext[AdSpace]{\ext
,
frame=on,
framecolor=magenta,
]
\starttext
\startcolumnset[Two]
\dorecurse{10}{\fakewords{100}{120}\par}
\setupcolumnsetarea[AdSpace][state=start]
\setupcolumnsetareatext[AdSpace]{\externalfigure[MyAd][width=\textwidth,height=0.45\textheight]}
You need brackets for both arg
\startcolumnset[Two]
\dorecurse{10}{\fakewords{100}{120}\par}
\setupcolumnsetarea[AdSpace][state=start]
\setupcolumnsetareatext[AdSpace]{\externalfigure[MyAd][width=\textwidth,height=0.45\textheight]}
\fakewords{200}{200}
\stopcolumns
[
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
Dear list,
I have the following sample:
\setupexternalfigures[location=default]
\starttext
\definelayer[abc][hoffset=1cm, voffset=5cm]
\setlayer[abc]{\externalfigure[cow.pdf][frame=on]}
\definelayer[xyz][hoffset=12cm, voffset=5cm]
\setlayer[xyz]{\externalfigure
ffer{Quote}{
\doifoddpageelse
{\page[left]}
{\donothing}
{\definedfont[SerifItalic at 16pt]\quotation{\getbuffer[Quote]}\par}
\externalfigure[\PreImg][width=\textwidth]
\resetbuffer[Quote]
}{}
\page[right]
\stopsetups
\setupheadertexts[][pagenumber][pagenumber][chapter]
\setuphe
rvariable{subtitle}}{}{
\doifoddpageelse
{\page[left]}
{\donothing}
{\definedfont[SerifItalic at 16pt]\structureuservariable{subtitle}\par}
\externalfigure[dummy][width=\textwidth]
}
\page[right]
\stopsetups
\setupheadertexts[][pagenumber][pagenumber][chapter]
\setuphead[ch
idth]{%
\externalfigure[dummy][width=\textwidth]%
}
%\hfill\vfill\strut % doesn’t help
\stopstandardmakeup
}
\page[right]
%
\framed[
width=\textwidth,
offset=overlay,
align=flushleft,
]{%
\definedfont[Sans at 32pt]%#2
\structurevariable{title}%
}%
}
\setupheadertexts[][pagenu
able{subtitle}}{}{%
\startstandardmakeup
\framed[
width=\textwidth,height=fit,
offset=overlay,
align=flushleft,
]{%
\definedfont[SerifItalic at 16pt]
\structureuservariable{subtitle}%
}
\framed[width=\textwidth]{%
\externalfigure[dummy][width=\textwidth]%
}
%\hfill\v
[figure]
[align=tolerant]
\starttext
\startplacefigure[title={\samplefile{jojomayer}}]
\externalfigure[hacker][width=.75\textwidth]
\stopplacefigure
\setupcaption
[figure]
[hang=yes]
\startplacefigure[title={\samplefile{jojomayer}}]
\externalfigure[hacker][width=.75\textwidth]
\s
}{\overlaywidth}{\overlayheight}{\color[Watermark]{\CONTEXT}}}]
\defineoverlay
[watermark]
[{\scale[factor=fit]{\color[Watermark]{\CONTEXT}}}]
\setupexternalfigure[location=default]
\starttext
\externalfigure[mill][background={foreground,watermark}]
\stoptext
Wolfgang
Any way to put the watermark in front?
___
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-context
webpage :
, as well as using \startuseMPgraphic for direct
compilation from ConTeXt.
Many thanks for all the help.
>>> SNIPPET <<<
\startbuffer[tblcard]
\strut
\definelayer[tblplacecard]
\setlayer[tblplacecard][x=-1em,y=1em]{%
\externalfigure[figures/apollonius/apo
>> try to make an PDF/X.
>>
>> I hope that is solvable...
>>
>> \setupbackend[format=PDF/X-1a:2001]
>>
>> \starttext
>> \externalfigure[kinder/esel_kl]
>> \stoptext
>>
>>
>> Best, Hraban
>>
>> __
cy.
>
>
> Peter
>
>
confirmed, this is ok.
\setupbackend[format=PDF/X-4p]
\starttext
\externalfigure[esel_kl.png]
\stoptext
>
--
luigi
___
If your question is of interest to others as well, please add
ink this is the same problem that I had in Bassenge:
> The transparent part of PNGs like the attached one becomes black if I
> try to make an PDF/X.
>
> I hope that is solvable...
>
> \setupbackend[format=PDF/X-1a:2001]
>
> \starttext
> \externalfigure[kinder/esel_kl]
I think this is the same problem that I had in Bassenge:
The transparent part of PNGs like the attached one becomes black if I try to
make an PDF/X.
I hope that is solvable...
\setupbackend[format=PDF/X-1a:2001]
\starttext
\externalfigure[kinder/esel_kl]
\stoptext
Best, Hraban
rs.
>
> 2. You can use \setlayerframed to put paragraphs in a layer.
>
>
> \setuppapersize[A4,landscape]
>
> \setupexternalfigures[location=default]
>
> \definelayer[LAY]
>
> \starttext
>
> \startbuffer
>
> \setlayerframed
> [LAY]
> [x=0
in a layer.
\setuppapersize[A4,landscape]
\setupexternalfigures[location=default]
\definelayer[LAY]
\starttext
\startbuffer
\setlayerframed
[LAY]
[x=0pt,
y=-8pt]
[frame=off,
width=.35\textwidth,
align={normal,tolerant}]
{\externalfigure[cow][width=\hsize]
\blank[line
- MWE
-
\setuppapersize[A4,landscape]
\setupexternalfigures[location={default}]
\starttext
\definelayer[LAY]%
\setlayer[LAY][x=0pt,y=-8pt]%
{%
\vbox
{%
\hsize=.35\textwidth
\externalfigure[cow][width=\hsize]%
\vskip\lineheight
\input tufte
,newname))
end
\stopluacode
\starttext
\externalfigure
[t:/sources/hacker.jpg]
[conversion=lowres.jpg,resolution=50,width=10cm]
\stoptext
with gm replaced by whatever is needed to call imagemagick
Hans
-
Jon Wong schrieb am 04.12.2019 um 20:19:
A real float. Is that possible?
Can you give more details.
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
A real float. Is that possible?
___
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-context
webpage :
efficient runtime
anbyway) but for artistic images a mixture might work out ok.
In principle inclusion with externalfigure also works when
conversion=mps is set but, although I have some 1500 test images, not
all might work out well. There can be a lot of crap be hidden in svg
files and angl
Hi,
just a remark:
\startlinecorrection
\stoplinecorrection
is meant for stuff like
\startlinecorrection
\framed{}
\stoplinecorrection
\startlinecorrection
\externalfigure[...]
\stoplinecorrection
\startlinecorrection
\startMPcode
...
\stopMPcode
\stoplinecorrection
in the main text
\startxcell
\dontleavehmode
\externalfigure[cow.pdf]
[scale=500]
\stopxcell
\startxcell
\dontleavehmode
\externalfigure[cow.pdf
On 10/19/19 1:51 PM, Otared Kavian wrote:
> Hi Pablo,
>
> Yes, I can confirm that the PDF file is distorted by LMTX (version
> 2019.10.11 15:47) when included in another file with the command
> \externalfigure (even when the latter command is surrounded by
> \startplacefigure..
> \setuppapersize[A3, landscape]
> > \starttext
> > \externalfigure[fc-first.pdf]
> > \stoptext
> >
> > 1. LuaTeX inserts the document fine.
> >
> > 2. LMTX inserts the document distorting its aspect.
> >
> > I’m afraid this mi
On Sat, Oct 19, 2019 at 12:07:03PM +0200, Pablo Rodriguez wrote:
> Dear list,
>
> using the document attached to this message with the following sample
> gives different outputs:
>
> \setuppapersize[A3, landscape]
> \starttext
> \externalfigure[fc-first.pdf
Hi Pablo,
Yes, I can confirm that the PDF file is distorted by LMTX (version 2019.10.11
15:47) when included in another file with the command \externalfigure (even
when the latter command is surrounded by \startplacefigure... \stopplacefigure).
Hower the output is correct with mkiv (and mkii
Dear list,
using the document attached to this message with the following sample
gives different outputs:
\setuppapersize[A3, landscape]
\starttext
\externalfigure[fc-first.pdf]
\stoptext
1. LuaTeX inserts the document fine.
2. LMTX inserts the document distorting its aspect
\dontleavehmode
\externalfigure[cow.pdf]
[scale=500]
\stopxcell
\startxcell
\dontleavehmode
\externalfigure[cow.pdf]
[scale=500]
\stopxcell
\dontleavehmode\dorecurse{100}{
\externalfigure[cow.pdf][scale=50] }
\stopxcell
\startxcell
\input zapf
\stopxcell
\stopxrow
\stopxtable
\stoptext
Some time ago, there were no difference
}{
\externalfigure[cow.pdf][scale=50] }
\stopxcell
\startxcell
\input zapf
\stopxcell
\stopxrow
\stopxtable
\stoptext
Some time ago, there were no difference between images and text
remaining inside the frame
Dear list,
I have the following sample:
\setupexternalfigures[location=default]
\starttext
\startxtable[option={stretch, width}]
\startxrow
\startxcell
\dontleavehmode\dorecurse{100}{
\externalfigure[cow.pdf][scale=50
On 10/16/2019 5:02 PM, cont...@vivaldi.net wrote:
Hello,
the following code stopped working after today's Ctx update:
\setupexternalfigures[location=default]
\starttext
%\externalfigure[hacker]
\getrandomnumber\t{0}{20}
\rotate[rotation=\numexpr\t-10\relax]{\externalfigure[dummy
Hello,
the following code stopped working after today's Ctx update:
\setupexternalfigures[location=default]
\starttext
%\externalfigure[hacker]
\getrandomnumber\t{0}{20}
\rotate[rotation=\numexpr\t-10\relax]{\externalfigure[dummy]}
\stoptext
with:
"
tex error
601 - 700 of 3786 matches
Mail list logo