[NTG-context] Re: How to force indents to always appear, even after figure?

2025-05-12 Thread Denis Maier via ntg-context
figure is placed, the next paragraph no longer gets an indent. My copy editor has warned that because my target audience is children, this will confuse them, so I need to make sure the start of a new paragraph always has an indent. I tried adding the 'always' detail to \setupindenting, see

[NTG-context] How to force indents to always appear, even after figure?

2025-05-12 Thread Joel via ntg-context
\starttext     \setupindenting[yes, big, always]     \input knuth          \placefigure{...}{%     \externalfigure[cow][frame=on, width=.\textwidth]%     }%          \input knuth      \stoptext With the code above, you will notice that after the figure is placed, the next

[NTG-context] Re: Shadow around a figure

2025-05-11 Thread Jeroen
centered (upper- > > right) shadow around a figure? > > This a simple version (the \setupexternalfigures line is needed to load > the example image because it won't wotk with dummy graphics): > > \startuseMPgraphic{shadow} >fill OverlayBox shifted (EmWidth/2,EmWid

[NTG-context] Re: Shadow around a figure

2025-05-11 Thread Wolfgang Schuster
Am 10.05.2025 um 21:39 schrieb Jeroen: Is there a way with metapost to get a slightly off-centered (upper- right) shadow around a figure? This a simple version (the \setupexternalfigures line is needed to load the example image because it won't wotk with dummy graphics): \startuseMPgr

[NTG-context] Re: Shadow around a figure

2025-05-11 Thread Jeroen
. > > > https://wiki.contextgarden.net/Graphics_and_media/Collections_of_tips_and_tricks/Drop_shadows_with_overlay_and_Metapost > > Best Wishes > Keith > > On Sat, 10 May 2025, 20:45 Jeroen, wrote: > >> Is there a way with metapost to get a slightly off-ce

[NTG-context] Re: Shadow around a figure

2025-05-11 Thread Keith McKay
tly off-centered (upper-right) > shadow around a figure? > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > http

[NTG-context] Shadow around a figure

2025-05-10 Thread Jeroen
Is there a way with metapost to get a slightly off-centered (upper-right) shadow around a figure? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl

[NTG-context] Re: Change Figure Capture

2025-05-10 Thread Wolfgang Schuster
Am 10.05.2025 um 14:41 schrieb Jeroen: I eventually got it to work as following: \definefloat   [figure] You don't need \definefloat because "figure" as a float command/environment is predefined. begin example \setupcaption[figure][style=italic] \starttext \startpl

[NTG-context] Re: Change Figure Capture

2025-05-10 Thread Jeroen
I eventually got it to work as following: \definefloat [figure] \setupcaption [figure] [style=italic] Op za 10 mei 2025 om 13:17 schreef Wolfgang Schuster < wolfgang.schuster.li...@gmail.com>: > Am 10.05.2025 um 12:58 schrieb Jeroen: > > Is there an easy way to change th

[NTG-context] Re: Change Figure Capture

2025-05-10 Thread Wolfgang Schuster
Am 10.05.2025 um 12:58 schrieb Jeroen: Is there an easy way to change the capture below all figure captures to italic? Use \setupcaption [figure] [style=italic] to change the style of \placefigure only or use \setupcaption [style=italic] to change the style of all floats, i.e

[NTG-context] Change Figure Capture

2025-05-10 Thread Jeroen
Is there an easy way to change the capture below all figure captures to italic? Many thanks, Jeroen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

[NTG-context] Re: setting the space after a figure

2025-02-13 Thread Hans Hagen via ntg-context
On 2/13/2025 12:11 PM, mf wrote: Hello, I want to set to space between a figure (float) and the main text. I thought this worked: \setupfloat[figure][spaceafter=2cm] but it does not, while this: \setupfloat[spaceafter=2cm] works, but -- I suppose -- it does effect every float, not just

[NTG-context] setting the space after a figure

2025-02-13 Thread mf
Hello, I want to set to space between a figure (float) and the main text. I thought this worked: \setupfloat[figure][spaceafter=2cm] but it does not, while this: \setupfloat[spaceafter=2cm] works, but -- I suppose -- it does effect every float, not just figures. Here's a MWE to te

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Henning Hraban Ramm
Am 10.04.24 um 14:21 schrieb Hans Hagen: It fails for me as well, when "mode=columns" is used. compare with and without mode columns: \starttext     \enablemode[columns]     As we see \doifelsemode {columns} {in \in {table} [demo-1]} {below} we can have     more than one cell in a row.

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Willi Egger
Hm, I see. This question appeared while using the tug-boat-style. Taking the example at the end of the style I adapted my article accordingly. However I missed the point to enable the mode “columns”… Thanks for the explanation! Willi > On 10 Apr 2024, at 14:21, Hans Hagen wrote: > > On 4/10/

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Hans Hagen
On 4/10/2024 1:30 PM, Taco Hoekwater wrote: On 10 Apr 2024, at 13:04, Willi Egger wrote: Hello, It seems, that the referencing mechanism is failing. I detected this with the January version and the current version: 2024.04.01 08:59. Could some one confirm this? It fails for me as well,

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Taco Hoekwater
> On 10 Apr 2024, at 13:04, Willi Egger wrote: > > Hello, > > It seems, that the referencing mechanism is failing. I detected this with the > January version and the current version: 2024.04.01 08:59. > > Could some one confirm this? It fails for me as well, when "mode=columns" is used. B

[NTG-context] Figure reference failing

2024-04-10 Thread Willi Egger
Hello, It seems, that the referencing mechanism is failing. I detected this with the January version and the current version: 2024.04.01 08:59. Could some one confirm this? Kind regards Willi test.pdf Description: Adobe PDF document test.tex Description: Binary data _

Re: [NTG-context] Moving up a Figure

2023-06-06 Thread Jeroen via ntg-context
This one works very nicely, though the movesidefloat gives nicely complete control. \samplefile{tufte} \startplacefigure [location={right,halfline}, number=no] \externalfigure[autocad.png][width=0.6\textwidth] \stopplacefigure \samplefile{tufte} Below the figure there is quite some space

Re: [NTG-context] Moving up a Figure

2023-06-05 Thread Aditya Mahajan via ntg-context
On Mon, 5 Jun 2023, Alan Braslau via ntg-context wrote: > On 05/06/23 05/06/23, 00:08, Mikael Sundqvist via ntg-context wrote: > > On Mon, Jun 5, 2023 at 4:03 AM Jeroen via ntg-context > > wrote: > >> Not fully, it indeed moves up the figure but a little too much. Is th

Re: [NTG-context] Moving up a Figure

2023-06-05 Thread Alan Braslau via ntg-context
On 05/06/23 05/06/23, 00:08, Mikael Sundqvist via ntg-context wrote: On Mon, Jun 5, 2023 at 4:03 AM Jeroen via ntg-context wrote: Not fully, it indeed moves up the figure but a little too much. Is there a more granular method? Not that I know of, but maybe {right,halfline} will do? Maybe

Re: [NTG-context] Moving up a Figure

2023-06-04 Thread Mikael Sundqvist via ntg-context
Hi, On Mon, Jun 5, 2023 at 4:03 AM Jeroen via ntg-context wrote: > > Not fully, it indeed moves up the figure but a little too much. Is there a > more granular method? Not that I know of, but maybe {right,halfline} will do?

Re: [NTG-context] Moving up a Figure

2023-06-04 Thread Jeroen via ntg-context
Not fully, it indeed moves up the figure but a little too much. Is there a more granular method? Op za 3 jun 2023 om 20:24 schreef Mikael Sundqvist via ntg-context < ntg-context@ntg.nl>: > Hi, > > On Sat, Jun 3, 2023 at 6:36 PM Jeroen via ntg-context > wrote: > > > &

Re: [NTG-context] Moving up a Figure

2023-06-03 Thread Mikael Sundqvist via ntg-context
Hi, On Sat, Jun 3, 2023 at 6:36 PM Jeroen via ntg-context wrote: > > With the following example, the figure is placed a little lower than the > first text line. The top of the figure is at about the middle of the first > line. Is there a way to move-up the figure slightly to align

[NTG-context] Moving up a Figure

2023-06-03 Thread Jeroen via ntg-context
With the following example, the figure is placed a little lower than the first text line. The top of the figure is at about the middle of the first line. Is there a way to move-up the figure slightly to align it with the top of the text line? \useMPlibrary[dum] \starttext \startplacefigure

Re: [NTG-context] How to really force figure to appear "here"?

2023-05-24 Thread Henning Hraban Ramm via ntg-context
Am 21.05.23 um 15:17 schrieb Wolfgang Schuster via ntg-context: Joel via ntg-context schrieb am 21.05.2023 um 15:11: Here, I've created an example that does just that. I want the figure to appear immediately after the bold text. Even if a lot of whitespace is placed and the figure appea

Re: [NTG-context] How to really force figure to appear "here"?

2023-05-21 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 21.05.2023 um 15:11: Here, I've created an example that does just that. I want the figure to appear immediately after the bold text. Even if a lot of whitespace is placed and the figure appears on the next page, that is fine, but I don't want the nex

Re: [NTG-context] How to really force figure to appear "here"?

2023-05-21 Thread Joel via ntg-context
Here, I've created an example that does just that. I want the figure to appear immediately after the bold text. Even if a lot of whitespace is placed and the figure appears on the next page, that is fine, but I don't want the next group of text to appear until *after* the figur

Re: [NTG-context] How to really force figure to appear "here"?

2023-05-20 Thread Mikael Sundqvist via ntg-context
ect to see a > picture, but its somehow appearing two pages later. I don't care it it > requires a huge blank area on the page before it, how can I make it so any > text after \placefigure[here, force] doesn't appear before the figure? > > --Joel You submit no example, b

[NTG-context] How to really force figure to appear "here"?

2023-05-20 Thread Joel via ntg-context
it it requires a huge blank area on the page before it, how can I make it so any text after \placefigure[here, force] doesn't appear before the figure? --Joel ___ If your question is of interest to others as well, ple

Re: [NTG-context] SVG ViewBox figure battle

2023-05-20 Thread Max Chernoff via ntg-context
Hi, > Any ideas on how to force that setting without modifying grph-con.lua? This seems to work: \startluacode function figures.converters.svg.pdf(oldname, newname) figures.programs.inkscape.runner { format = "filename", resolution = "600", crop

Re: [NTG-context] SVG ViewBox figure battle

2023-05-20 Thread Thangalin via ntg-context
Hi again, I changed tex/texmf-context/tex/context/base/mkiv/grph-con.lua to replace "" with "--export-area-page" in the inkscapecrop function: local function inkscapecrop(specification) return (specification and specification.crop == v_yes) and "--export-area-drawing" or "--export-are

[NTG-context] SVG ViewBox figure battle

2023-05-19 Thread Thangalin via ntg-context
Hi there! The following document contains SVG. Save the SVG as "problem.svg" and run the document through LMTX version 2023.05.08 17:39: % SOF \startbuffer[csvg] \stopbuffer \starttext % honours viewbox \placefigure[none]{}{\includesvgbuffer[csvg]} \page % dishonours viewbox \e

Re: [NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Hans Hagen via ntg-context
On 3/2/2023 11:49 AM, Denis Maier via ntg-context wrote: Ok, I’ve somehow managed to isolate the issue in my real document. There, the issue happens only when a new paragraph starts after the tabulate. If there’s nothing after the tabulate, the footnotes appears... Also, if I’m using location=p

Re: [NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
s Von: ntg-context Im Auftrag von Denis Maier via ntg-context Gesendet: Donnerstag, 2. März 2023 09:21 An: ntg-context@ntg.nl Cc: Maier, Denis Christian (UB) Betreff: [NTG-context] Disappearing footnote in figure / tabulate Hi, I have a strange case where a footnote in a tabulate disappears. S

[NTG-context] Disappearing footnote in figure / tabulate

2023-03-02 Thread Denis Maier via ntg-context
tartbuffer[test] a2 b a2 b \stopbuffer \startxmlsetups xml:test \xmlsetsetup{\xmldocument}{document|table-wrap|table|figure|p|footnote}{xml:*} \stopxmlsetups \xmlregistersetup{xml:test} \startxmlsetu

Re: [NTG-context] MP figure continuation

2023-01-06 Thread Alan Braslau via ntg-context
On Fri, 6 Jan 2023 15:43:07 +0100 Alexandre Christe via ntg-context wrote: > Dear list, > > Is there a way to "continue" an MP figure? Like keeping the axes, > etc. and just adding code to the figure? > > Maybe I missed something, otherwise I'd find it super u

Re: [NTG-context] MP figure continuation

2023-01-06 Thread Alexandre Christe via ntg-context
Aye, thanks Mikael and Gavin. Hard 2023 re-start... Le ven. 6 janv. 2023 à 15:58, Gavin a écrit : > Hi Alex, > > > Is there a way to "continue" an MP figure? Like keeping the axes, etc. > and just adding code to the figure? > > Buffers might be what yo

Re: [NTG-context] MP figure continuation

2023-01-06 Thread Gavin via ntg-context
Hi Alex, > Is there a way to "continue" an MP figure? Like keeping the axes, etc. and > just adding code to the figure? Buffers might be what you want. From the MetaFun manual: > Buffers can be used to stepwise build graphics. By putting code in multiple > buffers, you c

Re: [NTG-context] MP figure continuation

2023-01-06 Thread Mikael Sundqvist via ntg-context
On Fri, Jan 6, 2023 at 3:43 PM Alexandre Christe via ntg-context wrote: > > Dear list, > > Is there a way to "continue" an MP figure? Like keeping the axes, etc. and > just adding code to the figure? > > Maybe I missed something, otherwise I'd find it sup

[NTG-context] MP figure continuation

2023-01-06 Thread Alexandre Christe via ntg-context
Dear list, Is there a way to "continue" an MP figure? Like keeping the axes, etc. and just adding code to the figure? Maybe I missed something, otherwise I'd find it super useful. Thanks in advance and happy

Re: [NTG-context] Margin figure in itemize

2022-11-22 Thread Alain Delmotte via ntg-context
] % \showframe \definefloat   [marginfigure]   [figure] \setupfloat   [marginfigure]   [outermargindistance=-\outermargintotal,   default={outermargin,height,high,low,none}] \starttext \startstaticMPfigure{square}   draw fullsquare scaled 3cm; \stopstaticMPfigure \startitemize   \placemarginfigure

[NTG-context] Margin figure in itemize

2022-11-21 Thread Alexandre Christe via ntg-context
] \setuplayout [header=0pt, margin=4cm, footerdistance=.5cm, topspace=1cm, backspace=1cm, cutspace=2cm, width=fit, height=\dimexpr \paperheight-\topspace+\footerheight+\footerdistance-4cm\relax] % \showframe \definefloat [marginfigure] [figure] \setupfloat [marginfigure

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-17 Thread Fabrice Couvreur via ntg-context
Hi Bruce and Pablo, I'm sorry for the late reply but I'm running out of time right now. Thanks for trying to solve the problem. I think the problem comes from the pyramid.png file. Fabrice Le dim. 13 nov. 2022 à 14:37, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> a écrit : > On 11/13/22

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-16 Thread Fabrice Couvreur via ntg-context
Hi Bruce and Pablo, I'm sorry for the late reply but I'm running out of time right now. Thanks for trying to solve the problem. I think the problem comes from the pyramid.png file. Fabrice Le mer. 16 nov. 2022 à 14:55, Fabrice Couvreur a écrit : > Hi Bruce and Pablo, > I'm sorry for the late rep

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-13 Thread Pablo Rodriguez via ntg-context
On 11/13/22 11:32, Fabrice Couvreur via ntg-context wrote: > Hi Pablo, > Indeed but I posted these two files in a previous post. Hi Fabrice, the output from your ie_3.tex is too big for the list, so https://pdf.ousia.tk/ie_3.pdf contains it. I see no problem there, but I think that the output fr

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-13 Thread Fabrice Couvreur via ntg-context
Hi Pablo, Indeed but I posted these two files in a previous post. Fabrice Le dim. 13 nov. 2022 à 09:24, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> a écrit : > On 11/12/22 15:09, Fabrice Couvreur via ntg-context wrote: > > Hi Pablo and Bruce, > > Please try to f

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-13 Thread Pablo Rodriguez via ntg-context
On 11/12/22 15:09, Fabrice Couvreur via ntg-context wrote: > Hi Pablo and Bruce, > Please try to figure out what is not working. > I'm sorry but I forgot in my previous post files. Hi Fabrice, I get empty files when compiling premiere-modules.tex and premiere-macros.tex and erro

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-12 Thread Fabrice Couvreur via ntg-context
Hi Pablo and Bruce, Please try to figure out what is not working. I'm sorry but I forgot in my previous post files. Fabrice Le sam. 12 nov. 2022 à 12:28, Pablo Rodriguez via ntg-context < ntg-context@ntg.nl> a écrit : > On 11/11/22 21:58, Bruce Horrocks via ntg-context wrote: >

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-12 Thread Pablo Rodriguez via ntg-context
On 11/11/22 21:58, Bruce Horrocks via ntg-context wrote: >> On 10 Nov 2022, at 17:06, Fabrice Couvreur via ntg-context wrote: >> >> Hi, >> Sorry to come back to you, but it seems to me that there is enough space >> here. >> Fabrice > > For some reason your PNG images came through in extremely low

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-11 Thread Bruce Horrocks via ntg-context
> On 10 Nov 2022, at 17:06, Fabrice Couvreur via ntg-context > wrote: > > Hi, > Sorry to come back to you, but it seems to me that there is enough space here. > Fabrice For some reason your PNG images came through in extremely low resolution. Without having the ConTeXt source it's hard to say

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-10 Thread Fabrice Couvreur via ntg-context
gt;>>> >>>>> On 9 Nov 2022, at 18:22, Pablo Rodriguez via ntg-context < >>>>> ntg-context@ntg.nl> wrote: >>>>> > >>>>> > On 11/9/22 17:51, Fabrice Couvreur via ntg-context wrote: >>>>> &g

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-10 Thread Fabrice Couvreur via ntg-context
; > > > On 11/9/22 17:51, Fabrice Couvreur via ntg-context wrote: > >> Hi, > >> I find that for some time (but maybe the problem comes from me !), the > >> placement of a figure at the bottom of the page causes a page break when > >> it seems to me

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-09 Thread Bruce Horrocks via ntg-context
On 9 Nov 2022, at 18:22, Pablo Rodriguez via ntg-context wrote: > > On 11/9/22 17:51, Fabrice Couvreur via ntg-context wrote: >> Hi, >> I find that for some time (but maybe the problem comes from me !), the >> placement of a figure at the bottom of the page causes a pag

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-09 Thread Pablo Rodriguez via ntg-context
On 11/9/22 17:51, Fabrice Couvreur via ntg-context wrote: > Hi, > I find that for some time (but maybe the problem comes from me !), the > placement of a figure at the bottom of the page causes a page break when > it seems to me that there is enough space, which poses some probl

[NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-09 Thread Fabrice Couvreur via ntg-context
Hi, I find that for some time (but maybe the problem comes from me !), the placement of a figure at the bottom of the page causes a page break when it seems to me that there is enough space, which poses some problems in the pagination of my documents. Thanks. Fabrice \useMPlibrary[dum

Re: [NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Wolfgang Schuster via ntg-context
work and I haven’t found out why. Maybe I totally use it the wrong way. I would appreciate if someone could help me or has a tipp. Here is an example code, where the figure does not behave as expected, i.e. the figure is behind the text: [...] You have to use the textbackground mechanism to

Re: [NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Oliver Sieber via ntg-context
Dear Uschi Thanks for the example. But unfortunately it behaves similiar. As soon as I want to place the figure to the right by using \placefigure [right]… with floating text to the left. The framed environment behaves strange, i.e. it seems to ignore the image. Just using a centered image

Re: [NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Ursula Hermann via ntg-context
. Oktober 2022 11:31 An: ntg-context@ntg.nl Cc: Oliver Sieber Betreff: [NTG-context] Floating Figure in framed-environment Dear ConTeXt Users I am relatively new to context and I am suffering with a problem with the framed environment. I want to use a framed textbox for Definitions in my script. I

[NTG-context] Floating Figure in framed-environment

2022-10-19 Thread Oliver Sieber via ntg-context
wrong way. I would appreciate if someone could help me or has a tipp. Here is an example code, where the figure does not behave as expected, i.e. the figure is behind the text: \starttext \framed[corner=round, rulethickness=2pt, width=\textwidth, align=flushleft, offset=1em,background=color

[NTG-context] TIL: figure combinations

2022-08-11 Thread Henning Hraban Ramm via ntg-context
You probably know about combinations to place images side by side: \startcombination[3*1] {\externalfigure[cow]}{cow} {\externalfigure[mill]}{mill} {\externalfigure[hacker]}{hacker} \stopcombination Now, the widths aren’t calculated automatically. You could define them on your own: \start

Re: [NTG-context] Set up external figure for particular image type

2022-08-01 Thread Hans Hagen via ntg-context
On 8/1/2022 2:29 AM, Thangalin via ntg-context wrote: Got it working. Complete solution: |\setupexternalfigures[ location={local,global,default}, width=\textwidth ] \defineexternalfigure[svg][width=1cm] \defineexternalfigure[jpg][width=2cm] \defineexternalfigure[png][width=4cm] % Won't be app

Re: [NTG-context] Set up external figure for particular image type

2022-07-31 Thread Thangalin via ntg-context
Got it working. Complete solution: \setupexternalfigures[ location={local,global,default}, width=\textwidth ]\defineexternalfigure[svg][width=1cm]\defineexternalfigure[jpg][width=2cm]\defineexternalfigure[png][width=4cm] % Won't be applied because there's no process action.% Default (\textwidt

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Wolfgang Schuster via ntg-context
Thangalin via ntg-context schrieb am 18.07.2022 um 19:10: Thank you, Wolfgang. That looks promising. SVG files are converted using MetaPost. I thought the following would work: svg=>{\externalfigure[#1][svg][conversion=mp]} You can probably remove the second argument ([svg]) which was used

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Thangalin via ntg-context
Thank you, Wolfgang. That looks promising. SVG files are converted using MetaPost. I thought the following would work: svg=>{\externalfigure[#1][svg][conversion=mp]} Is there anything else that needs to happen to ensure SVG files are piped through MetaPost? Thanks again! > \setupexternalfig

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Thangalin via ntg-context
Of course, you could also use pandoc to go directly to ConTeXt; that is > currently my preferred way of producing PDF from Markdown. > Thanks Albert! I'm going to stick with my desktop text editor, KeenWrite , rather than use shell scripts

Re: [NTG-context] Set up external figure for particular image type

2022-07-18 Thread Thangalin via ntg-context
aban. > > The source comes from Markdown, which is converted to XML, then typeset > using ConTeXt. There's no Markdown-specific mechanism to relate images to a > particular external figure definition, unfortunately. All images use the > same syntax and are treated the same way. The

Re: [NTG-context] Set up external figure for particular image type

2022-07-12 Thread Albert Krewinkel via ntg-context
Thangalin via ntg-context writes: > The source comes from Markdown, which is converted to XML, then typeset > using ConTeXt. There's no Markdown-specific mechanism to relate images > to a particular external figure definition, unfortunately. All images > use the same syntax an

Re: [NTG-context] Set up external figure for particular image type

2022-07-12 Thread Rik Kabel via ntg-context
On 2022-07-12 14:11, Thangalin via ntg-context wrote: Thank you for the suggestion Hraban. The source comes from Markdown, which is converted to XML, then typeset using ConTeXt. There's no Markdown-specific mechanism to relate images to a particular external figure definition, unfortun

Re: [NTG-context] Set up external figure for particular image type

2022-07-12 Thread Wolfgang Schuster via ntg-context
Thangalin via ntg-context schrieb am 12.07.2022 um 20:11: Thank you for the suggestion Hraban. The source comes from Markdown, which is converted to XML, then typeset using ConTeXt. There's no Markdown-specific mechanism to relate images to a particular external figure defin

Re: [NTG-context] Set up external figure for particular image type

2022-07-12 Thread Thangalin via ntg-context
Thank you for the suggestion Hraban. The source comes from Markdown, which is converted to XML, then typeset using ConTeXt. There's no Markdown-specific mechanism to relate images to a particular external figure definition, unfortunately. All images use the same syntax and are treated the

Re: [NTG-context] Set up external figure for particular image type

2022-07-08 Thread Henning Hraban Ramm via ntg-context
Am 08.07.22 um 17:46 schrieb Thangalin via ntg-context: I'd like to change the `maxheight` option for only PNG images, such as: Define your own figure class with \definexternalfigure: https://wiki.contextgarden.net/Command/defineexternalfigure It won’t automatically chose the file forma

[NTG-context] Set up external figure for particular image type

2022-07-08 Thread Thangalin via ntg-context
erent external figure setups based on image type? Thank you! ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinf

Re: [NTG-context] Space around figure

2022-04-28 Thread Alain Delmotte via ntg-context
value is big for each, but you can override that with null. Something like \setupfloat[figure][spacebefore=,spaceafter=] Hope that helps. Duncan On Thu, 28 Apr

Re: [NTG-context] Space around figure

2022-04-28 Thread Duncan Hothersall via ntg-context
You should be able to change the space above and below a float with the spacebefore and spaceafter keys to \setupfloat. I think the default value is big for each, but you can override that with null. Something like \setupfloat[figure][spacebefore=,spaceafter=] Hope that helps. Duncan On Thu

[NTG-context] Space around figure

2022-04-28 Thread Alain Delmotte via ntg-context
Hi, When one insert a figure in a text, I think that the default behaviour is to add space around the figure. Is tit possible to manage that space or suppress it? Thanks in advance, -- Alain

Re: [NTG-context] Full-page Figure?

2022-03-31 Thread Michael Urban via ntg-context
> On Mar 30, 2022, at 11:38 PM, Hans Hagen wrote: > > does adding page=no help? > Yes. Once again, everyone’s help has been spot on. ___ If your question is of interest to others as well, please add an entry to t

Re: [NTG-context] Full-page Figure?

2022-03-30 Thread Hans Hagen via ntg-context
On 3/30/2022 11:41 PM, Michael Urban via ntg-context wrote: Almost there. But if I add \setuppagenumbering [alternative=doublesided] to the example, there is a blank page before the makeup page, and an unnumbered blank page after. If I add doublesided=no to the \setupmakeup options, the unnum

Re: [NTG-context] Full-page Figure?

2022-03-30 Thread śrīrāma via ntg-context
On Tuesday, March 29, 2022 4:18 AM Michael Urban via ntg-context wrote: > Is there a simple way to accomplish this? Aside from the other solution using makeup, a simpler way might be to just use the 'page' option for positioning the float. The following MWE achieves the same result as that with

Re: [NTG-context] Full-page Figure?

2022-03-30 Thread śrīrāma via ntg-context
On Thursday, March 31, 2022 3:11 AM Michael Urban via ntg-context wrote: > Almost there. But if I add \setuppagenumbering [alternative=doublesided] > to the example, there is a blank page before the makeup page, and an > unnumbered blank page after. If I add doublesided=no to the > \setupmakeup

Re: [NTG-context] Full-page Figure?

2022-03-30 Thread Michael Urban via ntg-context
Almost there. But if I add \setuppagenumbering [alternative=doublesided] to the example, there is a blank page before the makeup page, and an unnumbered blank page after. If I add doublesided=no to the \setupmakeup options, the unnumbered blank page is not there, but there is still a blank pag

Re: [NTG-context] Full-page Figure?

2022-03-28 Thread śrīrāma via ntg-context
On Tuesday, March 29, 2022 4:18 AM Michael Urban via ntg-context wrote: > Is there a simple way to accomplish this? I suppose you need 'postponing'. See https://wiki.contextgarden.net/Command/startpostponing [One can specify a page explicitly, or, more conveniently, an offset] First, we define

[NTG-context] Full-page Figure?

2022-03-28 Thread Michael Urban via ntg-context
I want to have a float (illustration for fiction, with caption) that takes up just one page, irrespective of the size of the image in the figure. This can be done with a \startmakeup, but makeup pages do not float, as near as I can tell; they interrupt the text (leaving a partly blank page

Re: [NTG-context] Bad linebreak in figure caption

2021-12-03 Thread Denis Maier via ntg-context
Patzer via ntg-context Gesendet: Freitag, 3. Dezember 2021 13:21:40 An: mailing list for ConTeXt users Cc: Marco Patzer Betreff: Re: [NTG-context] Bad linebreak in figure caption On Fri, 3 Dec 2021 09:14:59 +0100 Taco Hoekwater wrote: > Captions have their own alignment sett

Re: [NTG-context] Bad linebreak in figure caption

2021-12-03 Thread Marco Patzer via ntg-context
On Fri, 3 Dec 2021 09:14:59 +0100 Taco Hoekwater wrote: > Captions have their own alignment setting: > > \setupcaption[figure][align={verytolerant,stretch}] Thanks. Wikified: https://wiki.contextgarden.net/Command/setuptolerance Is there a good reason why captions (as well as e.

Re: [NTG-context] Bad linebreak in figure caption

2021-12-03 Thread Taco Hoekwater via ntg-context
x this? Captions have their own alignment setting: \setupcaption[figure][align={verytolerant,stretch}] Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] Bad linebreak in figure caption

2021-12-02 Thread Marco Patzer via ntg-context
On Mon, 29 Nov 2021 16:44:07 +0100 Marco Patzer via ntg-context wrote: > Why does ConTeXt not break the line between "unnecessary" and "FOO"? Any ideas how to fix this? Marco ___ If your question is of interest to o

[NTG-context] Caption with hanging figure label

2021-11-30 Thread Ben Moon via ntg-context
Hi, I’d like to create a caption with the first line hanging/outdented compared to the lines afterwards, like this: > Figure 1. Here is the line of text >that goes on to a second line. The >first line is hanging. I’ve posted this question here: <https://tex.stackexchange.

[NTG-context] Bad linebreak in figure caption

2021-11-29 Thread Marco Patzer via ntg-context
Hi! The caption "FOO" runs into the right figure's caption: \setuplayout [width=18.4cm] \setuptolerance [verytolerant, stretch] %% even with stretch \starttext \startplacefigure \startfloatcombination \startplacefigure [title=Unexpectedly unnecessary FOO-BAR whatever] \frame

[NTG-context] figure not added in current latest

2021-11-17 Thread Pablo Rodriguez via ntg-context
Hi Hans, I have the following sample: \setuppapersize[S6] \startbuffer[flag] \setuppapersize[S6] \starttext \startmakeup[page][align=center] \dontleavehmode \externalfigure[uk-flag.pdf][width=.8\textwidth] \stopmakeup \stoptext \stopbuffer \starttext \startmakeup[page][ali

Re: [NTG-context] positioning of metapost figure

2021-09-12 Thread Sylvain Hubert via ntg-context
> > \startuniqueMPgraphic{concept} > > draw fullcircle scaled 1cm shifted (10cm,10cm); > > \stopuniqueMPgraphic > > \defineoverlay[concept][\uniqueMPgraphic{concept}] > > \setupbackgrounds[page][background=concept] > > \starttext > > . > > \stoptext > >

Re: [NTG-context] positioning of metapost figure

2021-09-12 Thread Hans Hagen via ntg-context
ay[concept][\uniqueMPgraphic{concept}] \setupbackgrounds[page][background=concept] \starttext . \stoptext How should the metapost background figure be positioned correctly? \startuniqueMPgraphic{concept} StartPage; draw fullcircle scaled 1cm shifted (10cm,10cm); draw Page withpen

[NTG-context] positioning of metapost figure

2021-09-12 Thread Sylvain Hubert via ntg-context
nd=concept] \starttext . \stoptext How should the metapost background figure be positioned correctly? Thanks! Best, Sylvain ___ If your question is of interest to others as well, please add an entry to the Wiki! mail

[NTG-context] Expanding a figure into the second column

2021-05-16 Thread Jeroen
I have the following MWE whereby the figure nicely fits the first column. If I now have a picture with more details and want to expand it partially into the second column, it will not work with width=1.5\textwidth , is there a simple way to achieve this? \starttext \startcolumns[n=2] \input

Re: [NTG-context] adding url as a footnote in the caption of figure

2020-12-30 Thread Jeong Dal
Dear Pablo, Thank you for your reply. I just search wiki not the mailing list. I never used \setupnote before. > I would say that LMTX is causing an issue here (but for sure Hans knows > better). > > The issue with your MWE is solved by adding: > > \setupnote[footnote][width=\textwidth] It wo

[NTG-context] adding url as a footnote in the caption of figure

2020-12-29 Thread Jeong Dal
Hi, I am trying to add a url as a footnote in the caption. There is no error, but it is written in two lines in the footnote. I also try \hyphenatedurl, \letterslash in the wiki, but it is no use. I am using "ConTeXt ver: 2020.12.22 22:14 LMTX”. Thank you for reading. Best regards, Dalyoung

Re: [NTG-context] adding url as a footnote in the caption of figure

2020-12-29 Thread Pablo Rodriguez
On 12/29/20 8:23 PM, Jeong Dal wrote: > [...] > I am trying to add a url as a footnote in the caption. > There is no error, but it is written in two lines in the footnote. > I also try \hyphenatedurl, \letterslash in the wiki, but it is no use. > I am using "ConTeXt  ver: 2020.12.22 22:14 LMTX”. H

Re: [NTG-context] LMTX ignores figure size

2020-12-04 Thread Hans Hagen
On 12/4/2020 11:19 AM, Henning Hraban Ramm wrote: Hi, with latest LMTX, the size (width) of external figures is ignored in floats, while it works outside of floats and with MkIV. It also works with metapost figures (e.g. dum library). \setupexternalfigure[location=default] \starttext \start

[NTG-context] LMTX ignores figure size

2020-12-04 Thread Henning Hraban Ramm
Hi, with latest LMTX, the size (width) of external figures is ignored in floats, while it works outside of floats and with MkIV. It also works with metapost figures (e.g. dum library). \setupexternalfigure[location=default] \starttext \startplacefigure[location=here] \externalfigure[cow][widt

Re: [NTG-context] embed metapost figure into document

2020-11-09 Thread Sylvain Hubert
Jairo :) > Hi Jairo, Thank you very much for the suggestion and the thorough explanation. I extracted the metapost code to a new file because I felt it would be a bit lengthy and noisy to stay with the text content. But you're right, an extra compilation step is not any better. I should p

  1   2   3   4   5   6   7   8   9   >