gt; location={middle,high,low},
> reference=fig:logo,
> title=]
> {\externalfigure[FCLogo][width=0.045\textwidth]}
> \stopplacefigure
>
> These are not part of the text and I don’t want them to appear in the list.
>
> The caption for the logo doesn’t appear in
and also no caption, I wouldn’t use floats
> (\placefigure) at all, but just plain \externalfigure.
>
> Hraban
***
CHARLES DOHERTY
13 BANCROFT ROAD
TALLAGHT
DUBLIN
D24 YH2V
home: +353 1 2447483
Mobile: +353 863868629
charles.
,
title=]
{\externalfigure[FCLogo][width=0.045\textwidth]}
\stopplacefigure
These are not part of the text and I don’t want them to appear in the list.
If you don’t need them in the list and also no caption, I wouldn’t use
floats (\placefigure) at all, but just plain \externalfigure.
Hraban
ome of which are logos (for the publisher and two
> granting bodies) that I have placed with:
>
>\setupcaptions[number=no]
> \starttplacefigure[
> location={middle,high,low},
> reference=fig:logo,
> title=]
> {\externalfigure[FCLogo][width=0.045\textwidth]}
> \s
ed with:
\setupcaptions[number=no]
\starttplacefigure[
location={middle,high,low},
reference=fig:logo,
title=]
{\externalfigure[FCLogo][width=0.045\textwidth]}
\stopplacefigure
These are not part of the text and I don’t want them to appear in the list.
The caption for the logo doesn’t ap
in different ways.
Thanx Jaroslav
\setupinteraction[state=start]
\starttext
JPG URL:
\externalfigure[https://hajtmar.cz/temp-ntg/gyzalogo-new.jpg][height=3.5cm]
\par
JPG local:
\externalfigure[gyzalogo-new.jpg][height=3.5cm]
\par
PNG URL:
\externalfigure[https://hajtmar.cz/temp-ntg/gyzalogo
Hajtmar believes.
\setupexternalfigure[location=default]
\starttext
\externalfigure[mill]
\stoptext
Wolfgang
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg
is outside the
placefigure, but color it white so its invisible:
\define\showafigure{
\cite[author2019]<--somehow hide this invisible
\placefigure{Caption\superscript{\currentfootnote}}}{\externalfigure[cow][width=\textwidth]}
<--this places a superscript number inside the caption, but i
On 22/04/2024 14:38, Joel via ntg-context wrote:
Is this the correct way to be using the \startpostponing code (see
example below)?
\starttext
\input knuth
\startpostponing
\placefigure{Caption\footnote{message
A}}{\externalfigure[cow][width=\textwidth]}
\stoppostponing
dth for external figures?
> >>> But this here does not work
> >>>
> >>> [...]
> >>>
> >>> Am I missing something here?
> >>
> >> There are no minwidth/minheight values for \externalfigure.
> >>
> >> Wolfga
I've managed to get a minimum working example. If you check, you'll see the
5th footnote inside a placefigure doesn't render anywhere:
\starttext
\input knuth
\placefigure{Caption\footnote{message
A}}{\externalfigure[cow][width=\textwidth]}
\input knuth
\placefigure{Caption
%%%
\setupexternalfigures
[location={local,global,default}]
\setupfloats[compress=no]
\setupfloat[figure][default=top]
\starttext
\input knuth
\placefigure{Cow 1}{\externalfigure[cow][
width=.5\textwidth,
]}
\placefigure{Cow 2}{\externalfigure[cow
here?
There are no minwidth/minheight values for \externalfigure.
Wolfgang
So the wiki is wrong here?
https://wiki.contextgarden.net/Command/setupexternalfigure
Yes the comment at the end of page is wrong and the text about the strut
setting can also be removed, only the orientation value
not work
==
\setupexternalfigures
[
maxwidth=\textwidth,
minwidth=\textwidth,
location={local,global,default},
]
\starttext
\externalfigure[cow.pdf
,
location={local,global,default},
]
\starttext
\externalfigure[cow.pdf]
\externalfigure[cow.pdf][width=\textwidth]
\stoptext
==
Am I missing something here?
There are no minwidth/minheight values for \externalfigure.
Wolfgang
cal,global,default}]
\starttext
\placefigure{A Cow}{\externalfigure[cow][
height=.5\textheight,
]}
\placefigure{A Cow}{\externalfigure[cow][
height=.3\textheight,
%height=.4\textheight,
]}
\placefigure{A Co
\showframe
\starttext
\doloopoverlist{none, width, height, maxwidth, maxheight}
{\externalfigure[cow.pdf][\recursestring=.125\textwidth]}
\page
\doloopoverlist{none, width, height, minwidth, minheight}
{\externalfigure[cow.pdf][\recursestring=.33\textwidth]}
\stoptext
Jus
set a default minimal width for external figures? But
this here does not work
==
\setupexternalfigures
[
maxwidth=\textwidth,
minwidth=\textwidth,
location={local,global,default},
]
\starttext
\externalfigure[cow.pdf
[location={local,global,default}]
\starttext
\placefigure{A Cow}{\externalfigure[cow][
height=.5\textheight,
]}
\placefigure{A Cow}{\externalfigure[cow][
height=.3\textheight,
%height=.4\textheight
Am 14.04.24 um 22:25 schrieb Denis Maier via ntg-context:
Thomas A. Schmitz <mailto:thomas.schm...@uni-bonn.de>> hat am 14.04.2024 22:18 CEST
geschrieben:
On 4/14/24 22:11, Joel via ntg-context wrote:
I have a document with PNG, JPG, and TIFF. When I try using
\externalfigure[filena
using
\externalfigure[filename][frame=on, width=.\textwidth] it displays
JPG and PNG fine, but the TIFF files don't render. Is TIFF not supported
in ConTeXt anymore? --Joel
I don't think tiff has ever be sup
On 4/14/24 22:11, Joel via ntg-context wrote:
I have a document with PNG, JPG, and TIFF. When I try using
\externalfigure[filename][frame=on, width=.\textwidth] it displays
JPG and PNG fine, but the TIFF files don't render. Is TIFF not supported
in ConTeXt anymore? --Joel
I don't think
I have a document with PNG, JPG, and TIFF. When I try using
\externalfigure[filename][frame=on, width=.\textwidth] it displays JPG and
PNG fine, but the TIFF files don't render. Is TIFF not supported in ConTeXt
anymore? --Joel
l in a row.
\startplacetable[mode=columns,reference=demo-1]
\externalfigure[cow][width=\textwidth]
\stopplacetable
\samplefile{tufte}
\stoptext
so basically we have an "at the spot" placement or a float
Is "mode" in floats something new? How is
n \in {table} [demo-1]} {below} we can
> have
>more than one cell in a row.
>
>\startplacetable[mode=columns,reference=demo-1]
>\externalfigure[cow][width=\textwidth]
>
nce=demo-1]
\externalfigure[cow][width=\textwidth]
\stopplacetable
\samplefile{tufte}
\stoptext
so basically we have an "at the spot" placement or a float
Hans
-
Han
Hi,
another graphics/floats question: consider the following example
%
\setupexternalfigures
[location={local,global,default}]
\starttext
\placefigure{A Cow}{\externalfigure[cow][
height=.5\textheight
\externalfigure[cow.pdf]
\externalfigure[cow.pdf][width=\textwidth]
\stoptext
==
Am I missing something here?
Best,
Denis
___
If your question is of interest to others
) for images?
Not automatically, of course (if someone wants AI descriptions they can
implement a module), just as a keyword in \externalfigure?
we can add a description option that then can eb used in the wrapper
(not that it helps much to make an image accessible)
btw, someone showed me what
descriptions they can
implement a module), just as a keyword in \externalfigure?
Hraban
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https
]
\starttext
\input{knuth}
\startlinecorrection
\placefigure[left, none]
[]{}\externalfigure[cow.pdf][width=40mm]
\input{knuth}
\stoplinecorrection
\stoptext
Thomas
Am 06.04.24 um 13:43 schrieb Wolfgang Schuster:
Henning Hraban Ramm schrieb am 06.04.2024 um 12:56:
Am 06.04.24 um 12:48 schrieb Thomas
On 3/30/2024 12:07 PM, Bruce Horrocks wrote:
On 30 Mar 2024, at 09:38, Henning Hraban Ramm wrote:
Am 30.03.24 um 03:15 schrieb Joel via ntg-context:
I have code like this:
\placefigure[here, force]{my caption}{%
\externalfigure[#1][frame=on, maxheight=1.2\textwidth,
maxwidth
> On 30 Mar 2024, at 09:38, Henning Hraban Ramm wrote:
>
> Am 30.03.24 um 03:15 schrieb Joel via ntg-context:
>> I have code like this:
>> \placefigure[here, force]{my caption}{%
>> \externalfigure[#1][frame=on, maxheight=1.2\textwidth,
>> maxwidth
Am 30.03.24 um 03:15 schrieb Joel via ntg-context:
I have code like this:
\placefigure[here, force]{my caption}{%
\externalfigure[#1][frame=on, maxheight=1.2\textwidth,
maxwidth=\textwidth]%
}%
I need some images to appear in a book. I need them to keep their proper
I have code like this:
\placefigure[here, force]{my caption}{%
\externalfigure[#1][frame=on, maxheight=1.2\textwidth, maxwidth=\textwidth]%
}%
I need some images to appear in a book. I need them to keep their proper
ratios, but scale up to the maximize the available space
pter[title={MetaPost}]
First : a draw sample with a simple command %\externalfigure
\externalfigure[smile.pdf]
% Hans comments on Metapost
Now gives the attached but it took me a while to figure out what works.
An inkscape export adds for instance something (globally applied) that
is
inkscape it works
> >> like a charm.
> >>
> >> But what is standard way of including an svg file with context if we
> >> want to inkscape render the images?
> >
> > \externalfigure[smile]
> >
> > without any other settings, but inkscape mu
?
\externalfigure[smile]
without any other settings, but inkscape must be callable on the command
line (which doesn’t work for me on MacOS any more, must investigate…).
\startMPcode
draw lmt_svg [ filename = "smile.svg"]
\stopMPcode
Now gives the attached but it took me a while
MWE will do).
\starttext
\input tufte
\externalfigure[smile03.pdf][conversion=mp]
\stoptext
It seems to me that Pablo has been struggling with the fine graining of
PDF files in recent months, but I think it was more about the
information contained in the PDF output than the processing of
Am 12.03.24 um 23:59 schrieb seyal zavira:
You are correct. when i convert this svg to pdf via inkscape it works
like a charm.
But what is standard way of including an svg file with context if we
want to inkscape render the images?
\externalfigure[smile]
without any other settings
:
\starttext
\input tufte
\externalfigure[smile.svg][conversion=mp]
\stoptext
Best//JP
Le 12/03/2024 à 15:01, Henning Hraban Ramm a écrit :
Am 12.03.24 um 14:53 schrieb seyal zavira:
> when i want to put some SVGs in my document the svg does not
render properly here is the c
MPcode
> \stoptext
I can confirm the problem also with the regular image call
\externalfigure[smile.svg][conversion=mp]
Hraban
___
If your question is of interest to others as well, please add an entry to the
Wi
Jim schrieb am 04.03.2024 um 15:30:
Recently I've been trying to make some PDFs smaller by using better
compression of JPEG pictures.
I was happy to see that \externalfigure cheerfully accepts .jp2 (JPEG 2000)
files. However, my understanding (and I could well be wrong, but I've seen
On Tue, Mar 5, 2024 at 15:18 (+0100), Taco Hoekwater wrote:
>> On 4 Mar 2024, at 15:30, Jim wrote:
>> Recently I've been trying to make some PDFs smaller by using better
>> compression of JPEG pictures.
>> I was happy to see that \externalfigure cheerfully accepts .
> On 4 Mar 2024, at 15:30, Jim wrote:
>
> Recently I've been trying to make some PDFs smaller by using better
> compression of JPEG pictures.
>
> I was happy to see that \externalfigure cheerfully accepts .jp2 (JPEG 2000)
> files. However, my understanding (and
Recently I've been trying to make some PDFs smaller by using better
compression of JPEG pictures.
I was happy to see that \externalfigure cheerfully accepts .jp2 (JPEG 2000)
files. However, my understanding (and I could well be wrong, but I've seen
it multiple places) is that JPEG 2000 *Part 2
\inmargin, \inouter etc.
Additional to Wolfgang’s suggestions:
If you need sidefloats that cover not only the margin but should
decrease the text width, you can move sidefloats into the margin like:
\startplacefigure[title={},location=outer]
\offset[rightoffset=-\marginwidth]{\externalfigure[cow
ner}{\flushnextbox}%
\else
\flushnextbox
\fi}
\hbox}
\setupfloat[table][command=\FloatTableALignment]
\setupfloat[figure][default=rightmargin]
\starttext
\inright{Lorem ipsum \unknown}\samplefile{lorem}
\startplacefigure
\externalfigure[dummy][width=\rightmarginwi
The scaling in \externalfigure[][] with option sy=number seems to have a discrete change in behaviour between sy=1.0 and sy=(not 1.0).The MWE (see below, FIGURE REMOVED BECAUSE OTHERWISE MESSAGE TOO LARGE) shows that factor sy≠1.0 is applied to the original height of the figure, but for sy=1.0
is a too generous statement.
I can't disagree with you! ;-)
> https://www.pragma-ade.com/general/qrcs/setup-en.pdf#page=218 shows
> which keys and values \setupexternalfigure allows.
Thanks for that pointer.
>> I tried to put a frame around a picture (using \externalfigure with
shows
which keys and values \setupexternalfigure allows.
> I tried to put a frame around a picture (using \externalfigure with
> frame=on) but I didn't get the frame to play nicely (see example below). I
> can get the frame where I want it if instead I do
> \framed[f
The wiki page for \setupexternalfigure says
"Show frame around image. Most(?) options of \setupframed are usable!"
I tried to put a frame around a picture (using \externalfigure with
frame=on) but I didn't get the frame to play nicely (see example below). I
can get the frame wh
Am 13.01.24 um 19:43 schrieb Henning Hraban Ramm:
(LMTX, latest beta with self-compiled binary on OSX-intel.)
With my book, I run into an Lua error while placing a sidefloat.
If I comment \externalfigure or replace the image with a different one,
the error disappears.
I can’t reproduce
(LMTX, latest beta with self-compiled binary on OSX-intel.)
With my book, I run into an Lua error while placing a sidefloat.
If I comment \externalfigure or replace the image with a different one,
the error disappears.
I can’t reproduce it in a minimal example, so I guess it depends
that there is a hyperlink, but will
not even open the pdf. Let alone jumping to the intended page.
mupdf does not respond to the link either
Is this even possible?
\goto{\externalfigure[thumb/20210213_142125-skel.png][width=30mm]}[url(__index.pdf#page=1)]
To open an external file, you need
alone jumping to the intended page.
mupdf does not respond to the link either
Is this even possible?
\goto{\externalfigure[thumb/20210213_142125-skel.png][width=30mm]}[url(__index.pdf#page=1)]
.Floris
___
If your
Am 11.01.24 um 16:15 schrieb vm via ntg-context:
How can I wrap an externalfigure into a box that can be placed within
running text?
\externalfigure[dummy][frame=on]
With or without a \placefigure
Should I wrap the externalfigure into a start/stop buffer, then place it?
I don’t see why
vm via ntg-context schrieb am 11.01.2024 um 16:15:
How can I wrap an externalfigure into a box that can be placed within
running text?
Should I wrap the externalfigure into a start/stop buffer, then place it?
There is no need any extra code because \externalfigure can be used in
running text
How can I wrap an externalfigure into a box that can be placed within
running text?
Should I wrap the externalfigure into a start/stop buffer, then place it?
Some hints?
.Floris
___
If your question is of interest
perfectly suited to perform
some tests, which cause lines to wrap.}]
{\externalfigure[cow][maxwidth=80mm]}
\stopplacefigure
More stuff\ininner{A1, A2, A3, A4 are well-known paper formats used in
Europe and in some other places.}.
\input zapf
Some more stuff\inouter{Some multi-line text to
-outname \externalfilteroutputfile},
output=\externalfilterbasefile.pdf,
cache=yes,
readcommand=\ReadImage,]
\define[1]\ReadImage{\externalfigure[#1]}
\starttext
Testing if we can include an asymptote image
\startplacefigure[location={here}, title={An Asymptote figure}]
\startASY
On Sun, 31 Dec 2023, Shiv Shankar Dayal wrote:
> It would be nice to either support Metapost 3D or Asymptote. Right now I
> generate images separately and embed them in PDF using externalfigure command
> which works but I have to maintain all the graphics separately.
It is possible
On 12/30/2023 8:04 PM, Shiv Shankar Dayal wrote:
Hi all,
It would be nice to either support Metapost 3D or Asymptote. Right now I
generate images separately and embed them in PDF using externalfigure
command which works but I have to maintain all the graphics separately.
next year we
Hi all,
It would be nice to either support Metapost 3D or Asymptote. Right now I
generate images separately and embed them in PDF using externalfigure
command which works but I have to maintain all the graphics separately.
Respect,
Shiv
; Hi,
>>
>> I got an error message as following:
>>
>> Control sequence expected instead of undefined
>>
>> If I comment out the “\externalfigure[][]” line, then there is no error
>> message.
>>
>> I don’t know what is wrong in the sample co
Jeong Dal via ntg-context schrieb am 25.12.2023 um 16:09:
Hi,
I got an error message as following:
Control sequence expected instead of undefined
If I comment out the “\externalfigure[][]” line, then there is no
error message.
I don’t know what is wrong in the sample code.
The problem
d of undefined
>
> If I comment out the “\externalfigure[][]” line, then there is no error
> message.
>
> I don’t know what is wrong in the sample code.
> Please check the code.
>
> Thank you for reading.
>
> Best regards,
>
> Dalyoung
>
> %%%
Hi,
I got an error message as following:
Control sequence expected instead of undefined
If I comment out the “\externalfigure[][]” line, then there is no error message.
I don’t know what is wrong in the sample code.
Please check the code.
Thank you for reading.
Best regards,
Dalyoung
][]{}
\externalfigure[blah.jpeg][scale=300]
\stopplacefigure
You can try the force option:
\startplacefigure[location=force,reference=fig:blah]
\externalfigure[blah.jpeg][scale=300]
\stopplacefigure
Wolfgang
___
If your question
could be doing wrong?
Do I need to increase the buffer? how?
This is what I have used to place each figure
\startplacefigure[location=here,reference=fig:blah][]{}
\externalfigure[blah.jpeg][scale=300]
\stopplacefigure
On 12/4/23 20:44, Hans Hagen via ntg-context wrote:
> On 12/4/2023 5:38 PM, Pablo Rodriguez via ntg-context wrote:
>>> […]
>> Does the above mean that ConTeXt will be able to sign PDF documents with
>> digital certificates?
> Well, that's what singing is, right? The problem is actually less in the
On 12/4/2023 5:38 PM, Pablo Rodriguez via ntg-context wrote:
On 11/24/23 18:16, Hans Hagen via ntg-context wrote:
[…]
will do for now ... i can't upload a new installer .. pending the built;
the advantage is that i can do some experiments that would otherwise
break the current version (making
On 11/24/23 18:16, Hans Hagen via ntg-context wrote:
> […]
> will do for now ... i can't upload a new installer .. pending the built;
> the advantage is that i can do some experiments that would otherwise
> break the current version (making compact font mode very close to
> normal, pdf signing […]
Hi,
>From the wiki <https://wiki.contextgarden.net/Command/externalfigure>:
"When the file extension is .auto or method=auto is used, ConTeXt reads the
first few bytes of the file to determine the filetype. Such an
auto-discovery is useful for remote images that do not have a
Hi Hans,
It works, thank you very much.
Le sam. 2 déc. 2023 à 16:24, Hans Hagen a écrit :
> On 12/2/2023 4:57 PM, Fabrice Couvreur wrote:
> > Hi Hans,
> > I have the same problem and definitely need to use \externalfigure[]
> > this weekend. In which file should this patch
On 12/2/2023 4:57 PM, Fabrice Couvreur wrote:
Hi Hans,
I have the same problem and definitely need to use \externalfigure[]
this weekend. In which file should this patch be added ?
Thanks.
cont-new.mkxl
Hi Hans,
I have the same problem and definitely need to use \externalfigure[] this
weekend. In which file should this patch be added ?
Thanks.
Fabrice
Le ven. 24 nov. 2023 à 17:16, Hans Hagen via ntg-context
a écrit :
> On 11/22/2023 10:02 PM, Hans van der Meer via ntg-context wrote:
>
On 11/22/2023 10:02 PM, Hans van der Meer via ntg-context wrote:
Here too, I find 'undefined' from \meaning\expandeddetokenize
\ifdefined\expandeddetokenize\else
\let\expandeddetokenize\detokenize
\fi
will do for now ... i can't upload a new installer .. pending the built;
the advantage is
Here too, I find 'undefined' from \meaning\expandeddetokenize
yours sincerely
dr. Hans van der Meer
> On 22 Nov 2023, at 21:55, Aditya Mahajan wrote:
>
> On Wed, 22 Nov 2023, Wolfgang Schuster wrote:
>
>> Hans van der Meer schrieb am 22.11.2023 um 21:22:
>>> The problem persists. Here the
On Wed, 22 Nov 2023, Wolfgang Schuster wrote:
> Hans van der Meer schrieb am 22.11.2023 um 21:22:
> > The problem persists. Here the new logfile.
>
> 1. What is the version of your Luametatex binary?
>
> luametatex --version
> This is LuaMetaTeX, Version 2.10.11
For me, it is the same:
On Wed, 22 Nov 2023, Wolfgang Schuster wrote:
> Hans van der Meer via ntg-context schrieb am 22.11.2023 um 20:55:
> > When \externalfigure could not find the file it used to graciously place a
> > rectangle kindly telling the user that the file has not been found.
> > But n
Hans van der Meer schrieb am 22.11.2023 um 21:22:
The problem persists. Here the new logfile.
1. What is the version of your Luametatex binary?
luametatex --version
This is LuaMetaTeX, Version 2.10.11
2. What do you get in your log-file with the following example!
\starttext
Hans van der Meer via ntg-context schrieb am 22.11.2023 um 20:55:
When \externalfigure could not find the file it used to graciously
place a rectangle kindly telling the user that the file has not been
found.
But now, however, it seems the default in this case is a crash. Very
annoying
When \externalfigure could not find the file it used to graciously place a rectangle kindly telling the user that the file has not been found.But now, however, it seems the default in this case is a crash. Very annoying in comparison with the earlier behaviour.I might make a mistake, but the MWE
On 11/12/2023 5:30 PM, Marco Patzer wrote:
On Sun, 12 Nov 2023 16:34:00 +0100
Hans van der Meer via ntg-context wrote:
In placing \externalfigure[file] I observe the figure is placed with
its bottom on the baseline, thus:
[externalfigure]
--- baseline
I looked
On Sun, 12 Nov 2023 16:34:00 +0100
Hans van der Meer via ntg-context wrote:
> In placing \externalfigure[file] I observe the figure is placed with
> its bottom on the baseline, thus:
>
> [externalfigure]
> --- baseline
>
> I looked
In placing \externalfigure[file] I observe the figure is placed with its bottom
on the baseline, thus:
[externalfigure]
--- baseline
I looked into the option list of setupexternalfigure but could not find one
whereby the location with respect to the baseline
On 11/10/2023 6:17 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
I have the following sample:
\setuplayout[page]
\starttext
\clip[hoffset=5mm, voffset=5mm, width=15mm, height=15mm]
{\externalfigure[xml-mkiv.pdf]}
\stopnotmode
\stoptext
Using PDF.js (from
Dear list,
I have the following sample:
\setuplayout[page]
\starttext
\clip[hoffset=5mm, voffset=5mm, width=15mm, height=15mm]
{\externalfigure[xml-mkiv.pdf]}
\stopnotmode
\stoptext
Using PDF.js (from current Firefox), xpdf, Evince, mupdf-gl, the viewer
is able to find
t;> with right side inline images.
> >>
> >> Here is a Minimal Working Example:
> >>
> >> ConTeXt ver: 2023.09.26 18:19 LMTX
> >>
> >> \setupbodyfont[mono]
> >>
> >> \starttext
> >>
> >> Image on the ri
]
\starttext
Image on the right side gets issues.
\placefigure[right]{}{\externalfigure[dummy]}
\input tufte \\
Image on the left side is fine.
\placefigure[left]{}{\externalfigure[dummy]}
\input tufte
\stoptext
I fear there’s something generally wrong with mono font calculations,
also affecting
to have issues
> > with right side inline images.
> >
> > Here is a Minimal Working Example:
> >
> > ConTeXt ver: 2023.09.26 18:19 LMTX
> >
> > \setupbodyfont[mono]
> >
> > \starttext
> >
> > Image on the right side gets issues.
> > \pla
.
\placefigure[right]{}{\externalfigure[dummy]}
\input tufte \\
Image on the left side is fine.
\placefigure[left]{}{\externalfigure[dummy]}
\input tufte
\stoptext
I fear there’s something generally wrong with mono font calculations,
also affecting line breaking, since I get overfull hboxes
Hi,
I was using mono font as my default font but it appears to have issues with
right side inline images.
Here is a Minimal Working Example:
ConTeXt ver: 2023.09.26 18:19 LMTX
\setupbodyfont[mono]
\starttext
Image on the right side gets issues.
\placefigure[right]{}{\externalfigure[dummy
Hello list,
Can I find the position of an image on the page after I have placed the image
with \externalfigure?
For example, the top, left corner of the image might be 50 mm in from left side
of page and 120 mm down from the top of the page.
I know I can use \getfiguredimensions to find
,title={my caption}]%
\externalfigure[dummy][width=2\textwidth,height=.95\textheight]%
\stopplacefigure
\dorecurse{5}{2\recurselevel\samplefile{lorem}\par}
\stopcolumnset
\stoptext
___
If your question is of interest
that the call to \rotate is the culprit.I enclose an MWE with a little jpeg figure as illustration.
yours sincerelydr. Hans van der Meer\def\formattitle#1{\color[\boxtitlecolor]{#1\strut}}\def\boxfigurerotate#1#2{% \rotate[rotation=10]% {% \externalfigure[#1]% [rulethickness=4pt,width=100pt,height=50pt
ault TIFF converters to the above function.
figures.converters.tif.pdf = convert
figures.converters.tif.jpg = convert
figures.converters.tif.default = convert
\stopluacode
\setfigureconversion[tif][jpg] % has no effect
\starttext
\externalfigure[test.tif][conver
,
alternative=setups,
setups=frontispiz,
color=white,
background=color,
backgroundcolor=Eifel,
]
\startsetups[frontispiz]
\starttransparent[tlumi]%
\externalfigure[\structureuservariable{image}][
width=\measure{MaxWidth},
]%
\stoptransparent%
\stopsetups
\setuphead[chapter][
page
Hi,
a current observation:
I have some floats with text wide images like:
\startplacefigure[location=top]
\externalfigure[dummy][width=\textwidth]
\stopplacefigure
These were moved to the last page until I decreased the width minimally
(by 0.1 mm).
So I guess there’s a rounding error
1 - 100 of 3793 matches
Mail list logo