[NTG-context] Re: how to prevent item appearing in List of Figures

2024-05-30 Thread Rik Kabel
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

[NTG-context] Re: how to prevent item appearing in List of Figures

2024-05-30 Thread Charles Doherty via ntg-context
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.

[NTG-context] Re: how to prevent item appearing in List of Figures

2024-05-30 Thread Henning Hraban Ramm
, 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

[NTG-context] Re: how to prevent item appearing in List of Figures

2024-05-30 Thread Tomáš Hála
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

[NTG-context] how to prevent item appearing in List of Figures

2024-05-29 Thread Charles Doherty via ntg-context
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

[NTG-context] Re: Problem with PNG images in the latest standalone version

2024-05-24 Thread Hajtmar Jaroslav
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

[NTG-context] Re: Problem with PNG images in the latest standalone version

2024-05-24 Thread Wolfgang Schuster
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

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-23 Thread Joel via ntg-context
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

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread vm via ntg-context
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

[NTG-context] Re: minwidth not working ?

2024-04-22 Thread Denis Maier via ntg-context
dth for external figures? > >>> But this here does not work > >>> > >>> [...] > >>> > >>> Am I missing something here? > >> > >> There are no minwidth/minheight values for \externalfigure. > >> > >> Wolfga

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread Joel via ntg-context
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

[NTG-context] floats re-ordering and numbering

2024-04-22 Thread denis.maier
%%% \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

[NTG-context] Re: minwidth not working ?

2024-04-20 Thread Wolfgang Schuster
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

[NTG-context] Re: minwidth not working ?

2024-04-19 Thread Denis Maier via ntg-context
not work   == \setupexternalfigures   [   maxwidth=\textwidth,   minwidth=\textwidth,   location={local,global,default},   ]   \starttext   \externalfigure[cow.pdf

[NTG-context] Re: minwidth not working ?

2024-04-19 Thread Wolfgang Schuster
,   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

[NTG-context] Re: Weird (?) float placement for specific widths of image

2024-04-19 Thread Pablo Rodriguez via ntg-context
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

[NTG-context] Re: minwidth not working ?

2024-04-19 Thread Pablo Rodriguez via ntg-context
\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

[NTG-context] Re: minwidth not working ?

2024-04-19 Thread Denis Maier via ntg-context
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

[NTG-context] Re: Weird (?) float placement for specific widths of image

2024-04-19 Thread Denis Maier via ntg-context
[location={local,global,default}] \starttext \placefigure{A Cow}{\externalfigure[cow][ height=.5\textheight, ]} \placefigure{A Cow}{\externalfigure[cow][ height=.3\textheight, %height=.4\textheight

[NTG-context] Re: Is TIFF image no longer supported?

2024-04-14 Thread Henning Hraban Ramm
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

[NTG-context] Re: Is TIFF image no longer supported?

2024-04-14 Thread Denis Maier via ntg-context
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

[NTG-context] Re: Is TIFF image no longer supported?

2024-04-14 Thread Thomas A. Schmitz
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

[NTG-context] Is TIFF image no longer supported?

2024-04-14 Thread Joel via ntg-context
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

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Henning Hraban Ramm
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

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Willi Egger
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] >

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Hans Hagen
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

[NTG-context] Weird (?) float placement for specific widths of image

2024-04-10 Thread Denis Maier via ntg-context
Hi, another graphics/floats question: consider the following example % \setupexternalfigures [location={local,global,default}] \starttext \placefigure{A Cow}{\externalfigure[cow][ height=.5\textheight

[NTG-context] minwidth not working ?

2024-04-10 Thread denis.maier
\externalfigure[cow.pdf] \externalfigure[cow.pdf][width=\textwidth] \stoptext == Am I missing something here? Best, Denis ___ If your question is of interest to others

[NTG-context] Re: PDF/UA-2, WTPDF

2024-04-07 Thread Hans Hagen
) 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

[NTG-context] Re: PDF/UA-2, WTPDF

2024-04-07 Thread Henning Hraban Ramm
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

[NTG-context] Re: blank line and \placefigure

2024-04-06 Thread Thomas Meyer
] \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

[NTG-context] Re: How to get an image to fill the maximum available space?

2024-03-30 Thread Hans Hagen
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

[NTG-context] Re: How to get an image to fill the maximum available space?

2024-03-30 Thread Bruce Horrocks
> 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

[NTG-context] Re: How to get an image to fill the maximum available space?

2024-03-30 Thread Henning Hraban Ramm
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

[NTG-context] How to get an image to fill the maximum available space?

2024-03-29 Thread 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 ratios, but scale up to the maximize the available space

[NTG-context] Re: how to include an an svg file?

2024-03-16 Thread Jean-Pierre Delange
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

[NTG-context] Re: how to include an an svg file?

2024-03-15 Thread seyal zavira
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

[NTG-context] Re: how to include an an svg file?

2024-03-15 Thread Hans Hagen via ntg-context
? \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

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Jean-Pierre Delange
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

[NTG-context] Re: how to include an an svg file?

2024-03-13 Thread Henning Hraban Ramm
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

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread Jean-Pierre Delange
: \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

[NTG-context] Re: how to include an an svg file?

2024-03-12 Thread Henning Hraban Ramm
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

[NTG-context] Re: .jpx and .jxl

2024-03-05 Thread Wolfgang Schuster
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

[NTG-context] Re: .jpx and .jxl

2024-03-05 Thread Jim
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 .

[NTG-context] Re: .jpx and .jxl

2024-03-05 Thread Taco Hoekwater
> 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

[NTG-context] .jpx and .jxl

2024-03-05 Thread Jim
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

[NTG-context] Re: Text in Margin

2024-02-19 Thread Henning Hraban Ramm
\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

[NTG-context] Re: Text in Margin

2024-02-19 Thread Wolfgang Schuster
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

[NTG-context] behaviour sy in externalfigure

2024-02-16 Thread Hans van der Meer via ntg-context
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

[NTG-context] Re: \framed{\externalfigure} vs \externalfigure[frame=on]

2024-01-27 Thread Jim
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

[NTG-context] Re: \framed{\externalfigure} vs \externalfigure[frame=on]

2024-01-27 Thread Pablo Rodriguez via ntg-context
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

[NTG-context] \framed{\externalfigure} vs \externalfigure[frame=on]

2024-01-27 Thread Jim
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

[NTG-context] Re: font error in float placement?

2024-01-13 Thread Henning Hraban Ramm
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

[NTG-context] font error in float placement?

2024-01-13 Thread 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 it in a minimal example, so I guess it depends

[NTG-context] Re: [ flowing figures ]

2024-01-11 Thread Henning Hraban Ramm
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

[NTG-context] Re: [ flowing figures ]

2024-01-11 Thread Floris van Manen via ntg-context
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

[NTG-context] Re: [ flowing figures ]

2024-01-11 Thread Henning Hraban Ramm
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

[NTG-context] Re: [ flowing figures ]

2024-01-11 Thread Wolfgang Schuster
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

[NTG-context] [ flowing figures ]

2024-01-11 Thread vm via ntg-context
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

[NTG-context] Width of captions and notes in outer margin not correct on even pages

2024-01-09 Thread Milan cel Mare via ntg-context
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

[NTG-context] Re: Status of Asymptote

2024-01-03 Thread Jeroen
    -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

[NTG-context] Re: Status of Asymptote

2023-12-30 Thread Aditya Mahajan
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

[NTG-context] Re: Status of Asymptote

2023-12-30 Thread Hans Hagen
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

[NTG-context] Re: Status of Asymptote

2023-12-30 Thread Shiv Shankar Dayal
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

[NTG-context] Re: error: Control sequence expected instead of undefined

2023-12-25 Thread Jeong Dal via ntg-context
; 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

[NTG-context] Re: error: Control sequence expected instead of undefined

2023-12-25 Thread Wolfgang Schuster
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

[NTG-context] Re: error: Control sequence expected instead of undefined

2023-12-25 Thread Willi Egger
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 > > %%%

[NTG-context] error: Control sequence expected instead of undefined

2023-12-25 Thread Jeong Dal via ntg-context
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

[NTG-context] Re: \placefigure[location=here...] problem

2023-12-09 Thread Wolfgang Schuster
][]{} \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

[NTG-context] \placefigure[location=here...] problem

2023-12-09 Thread anton . chigurh
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

[NTG-context] Re: externalfigure crashed

2023-12-06 Thread Pablo Rodriguez via ntg-context
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

[NTG-context] Re: externalfigure crashed

2023-12-04 Thread Hans Hagen via ntg-context
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

[NTG-context] Re: externalfigure crashed

2023-12-04 Thread Pablo Rodriguez via ntg-context
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 […]

[NTG-context] externalfigure regression?

2023-12-03 Thread Thangalin
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

[NTG-context] Re: externalfigure crashed

2023-12-03 Thread Fabrice Couvreur
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

[NTG-context] Re: externalfigure crashed

2023-12-02 Thread Hans Hagen
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

[NTG-context] Re: externalfigure crashed

2023-12-02 Thread Fabrice Couvreur
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: >

[NTG-context] Re: externalfigure crashed

2023-11-24 Thread Hans Hagen via ntg-context
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

[NTG-context] Re: externalfigure crashed

2023-11-22 Thread Hans van der Meer via ntg-context
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

[NTG-context] Re: externalfigure crashed

2023-11-22 Thread Aditya Mahajan
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:

[NTG-context] Re: externalfigure crashed

2023-11-22 Thread Aditya Mahajan
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

[NTG-context] Re: externalfigure crashed

2023-11-22 Thread Wolfgang Schuster
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    

[NTG-context] Re: externalfigure crashed

2023-11-22 Thread Wolfgang Schuster
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

[NTG-context] externalfigure crashed

2023-11-22 Thread Hans van der Meer via ntg-context
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

[NTG-context] Re: placing \externalfigure

2023-11-12 Thread Hans Hagen
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

[NTG-context] Re: placing \externalfigure

2023-11-12 Thread Marco Patzer
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

[NTG-context] placing \externalfigure

2023-11-12 Thread Hans van der Meer via ntg-context
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

[NTG-context] Re: hard clipping in ConTeXt?

2023-11-11 Thread Hans Hagen via ntg-context
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

[NTG-context] hard clipping in ConTeXt?

2023-11-10 Thread Pablo Rodriguez via ntg-context
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

[NTG-context] Re: Mono font goes inside right inline image

2023-10-28 Thread Mia Bikey
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

[NTG-context] Re: Mono font goes inside right inline image

2023-10-28 Thread Hans Hagen
] \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

[NTG-context] Re: Mono font goes inside right inline image

2023-10-28 Thread Mia Bikey
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

[NTG-context] Re: Mono font goes inside right inline image

2023-10-28 Thread Henning Hraban Ramm
. \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

[NTG-context] Mono font goes inside right inline image

2023-10-28 Thread Mia Bikey
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

[NTG-context] Finding the position of an image on the page.

2023-10-01 Thread peter.hopcroft--- via ntg-context
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

[NTG-context] page floats don’t work in columnsets

2023-09-21 Thread Henning Hraban Ramm
,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

[NTG-context] rotation weirdness

2023-09-16 Thread Hans van der Meer via ntg-context
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

[NTG-context] Re: tiffs: autoconversion via graphicsmagick produces invalid pdfs

2023-09-13 Thread denis.maier
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

[NTG-context] Re: how to define an environment with key=value arguments

2023-09-08 Thread Henning Hraban Ramm
, 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

[NTG-context] textwide float too wide for text width

2023-09-08 Thread Henning Hraban Ramm
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   2   3   4   5   6   7   8   9   10   >