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

2024-01-27 Thread Jim
On Sat, Jan 27, 2024 at 19:12 (+0100), Pablo Rodriguez via ntg-context wrote: > On 1/27/24 17:44, Jim wrote: >> The wiki page for \setupexternalfigure says >> "Show frame around image. Most(?) options of \setupframed are usable!" Hi Pablo, > I’m afraid that this

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

2024-01-27 Thread Pablo Rodriguez via ntg-context
On 1/27/24 17:44, Jim wrote: > The wiki page for \setupexternalfigure says > "Show frame around image. Most(?) options of \setupframed are usable!" Hi Jim, I’m afraid that this is a too generous statement. https://www.pragma-ade.com/general/qrcs/setup-en.pdf#page=218

[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: placing \externalfigure

2023-11-12 Thread Hans Hagen
into the option list of setupexternalfigure but could not find one whereby the location with respect to the baseline is either top, bottom or center. Maybe this is what you're looking for: \useMPlibrary [dum] \setuplayout [grid=yes] \showgrid \starttext foo \externalfigure[][][location=high

[NTG-context] Re: placing \externalfigure

2023-11-12 Thread Marco Patzer
into the option list of setupexternalfigure but could not > find one whereby the location with respect to the baseline is either > top, bottom or center. Maybe this is what you're looking for: \useMPlibrary [dum] \setuplayout [grid=yes] \showgrid \starttext foo \externalfigure[][][location=high]

[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: Low res output possible?

2023-08-22 Thread Henning Hraban Ramm
e(cmd) end -- Set the PDF and default JPEG converters to the above function. figures.converters.jpg.pdf = downsampler figures.converters.jpg.default = downsampler \stopluacode You can set the resolution in \setupexternalfigure this way. But the calculation doesn’t take scaling into account, I have

[NTG-context] Re: setupexternalfigures and resoĺution

2023-07-28 Thread Benjamin Buchmuller
\ -dColorImageDownsampleThreshold=1.0 \ -dGrayImageDownsampleThreshold=1.0 \ -dMonoImageDownsampleThreshold=1.0 \ input.pdf Now, I'm wondering how to adapt grph-downsample.lua to do this? I've tried: \setupexternalfigure[ resolution=\Resolution, conversion=lowres.pdf ] And added to grph

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-24 Thread Aditya Mahajan
e that \externalfigure can extract > the (maybe named) destinations of inner.pdf and translate them in such a > way, that I can use \in within the outer document to link to them. According to https://wiki.contextgarden.net/Command/setupexternalfigure \externalfigure[][interaction=referen

[NTG-context] Link from a PDF to a reference of an embedded PDF

2023-07-20 Thread Gerion Entrup
Hi, I found the "interaction" parameter in the documentation for setupexternalfigure/externalfigure [1]. I, however do not quite understand it. When embedding another PDF with this command, it seems to be possible to include the references of the underlying PDF. It is possible to li

[NTG-context] Re: access image properties in Lua

2023-07-17 Thread Henning Hraban Ramm
ownsampler = downsampler figures.converters.jpg.pdf = downsampler figures.converters.jpg.default = downsampler \stopluacode \setupexternalfigure[ conversion=downsampler, resolution=200, ] """ Any suggestions on how to hook-in such reporting? local report = logs.reporter("alan.

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Hans Hagen via ntg-context
process crap, then load) Hi Hans, it would be great to have something like: \loadsection [1] [2] [3] 1FILE 2REFERENCE 3inherits from \setupexternalfigure Just in case it may be relevant to the discussion. that is not flexible ... we're talking about a rather special

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Pablo Rodriguez via ntg-context
Hi Hans, it would be great to have something like: \loadsection [1] [2] [3] 1 FILE 2 REFERENCE 3 inherits from \setupexternalfigure Just in case it may be relevant to the discussion. Many t

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Wolfgang Schuster via ntg-context
. \setupexternalfigure [location=default] \setupdelimitedtext    [quotation]    [ left={\externalfigure[cow][height=\strutht]},     right={\externalfigure[cow][height=\strutht]}] I *like* cow delimiters (but shouldn't the right one be reflected?) ;-) Better? \setupdelimitedtext   [quotation

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Alan Braslau via ntg-context
On 12/10/22 12/10/22, 14:25, Wolfgang Schuster via ntg-context wrote: Denis Maier via ntg-context schrieb am 12.10.2022 um 21:17: Instead of what? By default the symbols are placed with a box because you aren't limited to normal quotation marks. \setupexternalfigure [location=default

Re: [NTG-context] \quotation, protrusion and linebreaking

2022-10-12 Thread Wolfgang Schuster via ntg-context
Denis Maier via ntg-context schrieb am 12.10.2022 um 21:17: Instead of what? By default the symbols are placed with a box because you aren't limited to normal quotation marks. \setupexternalfigure [location=default] \setupdelimitedtext   [quotation]   [ left={\externalfigure[cow][height

[NTG-context] floats disturb grid setting

2022-10-03 Thread Henning Hraban Ramm via ntg-context
As soon as I use floats, text isn’t typeset on the grid any more: \setuppaper[A5] \setuplayout[grid=yes] \showframe\showgrid \setupexternalfigure[ location={local,global,default}, ] \starttext \samplefile{lorem} \startplacefigure[location=left,title=left]% \externalfigure[mill][width=.25

[NTG-context] \startcolumnset ... \stopcolumnset is working.

2022-09-14 Thread Jeong Dal via ntg-context
] \setuppagenumbering[location=footer] \setupcolors[state=start] %\setupexternalfigure[directory={/Users/graph/Documents/figures,}] \headTitle{2021. 12. 12.}{Set Theory}{Final Exam} \starttext \startcolumnset[exam] \startitemize[n] \item The first problem. \column \item The second problem. \column

Re: [NTG-context] setupexternalfigures and resoĺution

2022-09-02 Thread Keith McKay via ntg-context
On Thu, 1 Sep 2022, 09:52 Henning Hraban Ramm via ntg-context, < ntg-context@ntg.nl> wrote: > Am 01.09.22 um 10:44 schrieb juh+ntg-context--- via ntg-context: > > > > Hi, > > > > what is resolution meant to do? > > > > Whatever I insert as resolution,

Re: [NTG-context] setupexternalfigures and resoĺution

2022-09-01 Thread Henning Hraban Ramm via ntg-context
Am 01.09.22 um 10:44 schrieb juh+ntg-context--- via ntg-context: Hi, what is resolution meant to do? Whatever I insert as resolution, I get no change. \setupexternalfigure[location={default,local},resolution=30] \starttext \externalfigure[hacker] \stoptext What am I missing

[NTG-context] setupexternalfigures and resoĺution

2022-09-01 Thread juh+ntg-context--- via ntg-context
Hi, what is resolution meant to do? Whatever I insert as resolution, I get no change. \setupexternalfigure[location={default,local},resolution=30] \starttext \externalfigure[hacker] \stoptext What am I missing? TIA juh

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

2022-07-18 Thread Thangalin via ntg-context
the > file name extension (and header within the file). > > One possibility would be something like: > > \setupexternalfigure[ > width=1em, > height=1em, > order={svg,pdf,png,jpg}, > location={local,default,global}, > ] > \defineexternalfigure[p

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

2022-07-12 Thread Rik Kabel via ntg-context
. All images use the same syntax and are treated the same way. The only part that differs is the file name extension (and header within the file). One possibility would be something like: |\setupexternalfigure[ width=1em, height=1em, order={svg,pdf,png,jpg}, location={local,default,global

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

2022-07-12 Thread Wolfgang Schuster via ntg-context
, unfortunately. All images use the same syntax and are treated the same way. The only part that differs is the file name extension (and header within the file). One possibility would be something like: |\setupexternalfigure[ width=1em, height=1em, order={svg,pdf,png,jpg}, location={local,default,global

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

2022-07-12 Thread Thangalin via ntg-context
way. The only part that differs is the file name extension (and header within the file). One possibility would be something like: \setupexternalfigure[ width=1em, height=1em, order={svg,pdf,png,jpg}, location={local,default,global}, ] \defineexternalfigure[png][ width=\textwidth

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

2022-07-08 Thread Thangalin via ntg-context
A document has a mix of SVG and PNG images. Changing the parameters for `\setupexternalfigure` affects both SVG and PNG images. Consider the following code: \setupexternalfigures[ order={svg,pdf,png,jpg}, location={local,default,global}, directory={images}, maxwidth

Re: [NTG-context] Why are some images rendered very tiny?

2022-06-15 Thread Henning Hraban Ramm via ntg-context
on the page. I check the image file and they are not small, but somehow is rendered small with the code above. What is wrong in my code? There are no parameters "minwidth" or "minheight", see https://wiki.contextgarden.net/Command/setupexternalfigure It’s probable that your

Re: [NTG-context] Does \startnotallmodes work?

2022-05-11 Thread Gerben Wierda via ntg-context
notallmodes[FR,RU]% english is the default >> \enablemode[EN] >> \stopnotallmodes >> >> \startmode[EN] >> % \BLURBTWO >> \setuplanguage[en][patterns={en}] >> \setupexternalfigure[directory=../LMTX-Output/without-ids/en/ArchiMate 3.1 >> Metamodel ESv4

Re: [NTG-context] Does \startnotallmodes work?

2022-05-10 Thread Rik Kabel via ntg-context
mode=EN is not turned on. %\startmode[FR] %  \BLURBONE %  \stopmode \startnotallmodes[FR,RU]% english is the default \enablemode[EN] \stopnotallmodes \startmode[EN] %  \BLURBTWO \setuplanguage[en][patterns={en}] \setupexternalfigure[directory=../LMTX-Output/without-ids/en/ArchiMate 3.1 Metamodel

Re: [NTG-context] Can I use language as a mode (set on the command line) and simplify this?

2022-05-10 Thread Gerben Wierda via ntg-context
Fix > On 10 May 2022, at 22:41, Gerben Wierda via ntg-context > wrote: > > I currently have: > > \startnotallmodes[FR,RU]% english is the default > \enablemode[EN] > \stopnotallmodes > \startmode[EN] > \setuplanguage[en][patterns={en}] > \setupexternalfigure

[NTG-context] Does \startnotallmodes work?

2022-05-10 Thread Gerben Wierda via ntg-context
% \stopmode \startnotallmodes[FR,RU]% english is the default \enablemode[EN] \stopnotallmodes \startmode[EN] % \BLURBTWO \setuplanguage[en][patterns={en}] \setupexternalfigure[directory=../LMTX-Output/without-ids/en/ArchiMate 3.1 Metamodel ESv4] \stopmode \startmode[FR] \setuplanguage[fr][patterns

[NTG-context] Can I use language as a mode (set on the command line) and simplify this?

2022-05-10 Thread Gerben Wierda via ntg-context
I currently have: \startnotallmodes[FR,RU]% english is the default \enablemode[EN] \stopmode \startmode[EN] \setuplanguage[en][patterns={en}] \setupexternalfigure[directory=../LMTX-Output/without-ids/en/ArchiMate 3.1 Metamodel ESv4] \stopmode \startmode[FR] \setuplanguage[fr][patterns={en,fr

[NTG-context] \startcolumnset ... \stopcolumnset fatal error: return code 11

2021-12-16 Thread Jeong Dal via ntg-context
off, background=screen] \define[3]\headTitle{\setupheadertexts[][\bf #1 \hfill #2 \hfill #3 \hfill ID: \hskip 2cm Name: \hskip 2cm]} \setupmathematics[autopunctuation=no, integral=nolimits] \setupbodyfont[rm,10pt] \setuppagenumbering[location=footer] \setupcolors[state=start] %\setupexternalfig

[NTG-context] using the newcolumnsets module

2021-12-09 Thread Jeong Dal via ntg-context
off, background=screen] \define[3]\headTitle{\setupheadertexts[][\bf #1 \hfill #2 \hfill #3 \hfill ID: \hskip 2cm Name: \hskip 2cm]} \setupmathematics[autopunctuation=no, integral=nolimits] \setupbodyfont[rm,10pt] \setuppagenumbering[location=footer] \setupcolors[state=start] %\setupexternalfig

Re: [NTG-context] vertical align in combination

2021-10-22 Thread Pablo Rodriguez via ntg-context
On 10/22/21 5:46 PM, Hans Hagen via ntg-context wrote: > On 10/22/2021 5:20 PM, Pablo Rodriguez via ntg-context wrote: >> [...] >> How could I get all lines with images vertically centered? > > maybe by using the command the right way ... > >\setupexte

Re: [NTG-context] vertical align in combination

2021-10-22 Thread Hans Hagen via ntg-context
On 10/22/2021 5:20 PM, Pablo Rodriguez via ntg-context wrote: Dear list, I have the following sample: \starttext \setupexternalfigure[location=default] \startcombination[nx=3, ny=2, location={middle}] {\externalfigure[mill.png][width=.25\textwidth]} {\externalfigure[cow.pdf

[NTG-context] vertical align in combination

2021-10-22 Thread Pablo Rodriguez via ntg-context
Dear list, I have the following sample: \starttext \setupexternalfigure[location=default] \startcombination[nx=3, ny=2, location={middle}] {\externalfigure[mill.png][width=.25\textwidth]} {\externalfigure[cow.pdf][width=.25\textwidth]} {\externalfigure[cow.pdf][width=.25\textwidth

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-08-01 Thread Hans Hagen via ntg-context
extension): [...] after that you have a file -slide.tex that has the slides that you can process (or include in a wrapper): Is there a way to set a folder for \typesetfile where I can put files similar to     \setupexternalfigure[directory=...] or     \usepath[...] At the moment I can use

Re: [NTG-context] Code document and simpleslides and create in one go the document with simpleslides added

2021-08-01 Thread Wolfgang Schuster via ntg-context
-slide.tex that has the slides that you can process (or include in a wrapper): Is there a way to set a folder for \typesetfile where I can put files similar to     \setupexternalfigure[directory=...] or     \usepath[...] At the moment I can use \typesetfile only when the processed file

Re: [NTG-context] \externalfigure for only one page of a multiple page pdf

2021-04-18 Thread a . rosenstock
t...@web.de: > > Hi all, > > how is it possible to include only one page of a multiple page pdf in my document? I found nothing in the manuals ... Dou you mean via \externalfigure? It has a documented "page" parameter: https://wiki.contextgarden.net/Command/setupexternalfigu

Re: [NTG-context] \externalfigure for only one page of a multiple page pdf

2021-04-15 Thread Henning Hraban Ramm
tps://wiki.contextgarden.net/Command/setupexternalfigure To include a whole pdf as full pages, you can use \copypages, but in your case you’d need \filterpages: https://wiki.contextgarden.net/Command/filterpages Hraban

Re: [NTG-context] new font trickery

2021-01-24 Thread Pablo Rodriguez
On 1/24/21 4:44 PM, Hans Hagen wrote: > \starttext > > \setupexternalfigure[directory={global,default}] > > \startsetups box:demo:103 > \externalfigure[cow-brown.pdf][height=12pt] > \stopsetups > > \startsetups box:demo:104 > \externalfigure[cow-black.p

[NTG-context] new font trickery

2021-01-24 Thread Hans Hagen
are quite efficient. \starttext \setupexternalfigure[directory={global,default}] \startsetups box:demo:103 \externalfigure[cow-brown.pdf][height=12pt] \stopsetups \startsetups box:demo:104 \externalfigure[cow-black.pdf][height=10pt] \stopsetups \startsetups box:demo:105 \externalfigure

Re: [NTG-context] lmtx

2021-01-19 Thread Jan U. Hasecke
Hi, I am afraid that clip stops working in current version: 2021.01.18 18:19 \setupexternalfigure[location=default] \showframe \starttext \clip[height=50mm,voffset=10mm] {\externalfigure[cow.pdf][width=\textwidth]} \stoptext juh -- Autoren-Homepage: . http

Re: [NTG-context] lmtx

2021-01-19 Thread Hans Hagen
On 1/19/2021 8:12 PM, Jan U. Hasecke wrote: Hi, I am afraid that clip stops working in current version: 2021.01.18 18:19 \setupexternalfigure[location=default] \showframe \starttext \clip[height=50mm,voffset=10mm] {\externalfigure[cow.pdf][width=\textwidth]} \stoptext hm, i access

Re: [NTG-context] image align in \clip

2020-12-09 Thread Pablo Rodriguez
your issue. I thought of another approach (which isn’t your case): \showframe\showgrid \setupindenting[yes, always, big] \setupexternalfigure[location=default] \showframe \starttext \clip[height=50mm] {\externalfigure[cow.pdf][width=\textwidth]} \dontleavehmode \c

[NTG-context] image align in \clip

2020-12-09 Thread Jan U. Hasecke
Dear all, I use \clip to simplify working with images. I have a problem that I am unable to reproduce in a MWE. \setupexternalfigure[location=default] \showframe \starttext \externalfigure[cow.pdf][width=\textwidth] \clip[height=50mm] {\externalfigure[cow.pdf][width=\textwidth

Re: [NTG-context] image align in \clip

2020-12-09 Thread Hans Hagen
On 12/9/2020 9:38 AM, Jan U. Hasecke wrote: Dear all, I use \clip to simplify working with images. I have a problem that I am unable to reproduce in a MWE. \setupexternalfigure[location=default] \showframe \starttext \externalfigure[cow.pdf][width=\textwidth] \clip[height=50mm

[NTG-context] Uploaded LuaMetaTeX version

2020-12-04 Thread Rik Kabel
, 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 \startplacefigure[location=here

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

[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

Re: [NTG-context] Bug (?) using \externalfigure with layers and backgrounds

2020-12-03 Thread Jairo A. del Rio
cal image (say, if "cow" is in the same folder as the > > main file), but it doesn't find sample images (cow, hacker, etc.). Is > > that a bug or an intended result? Thank you in advance. > >

Re: [NTG-context] Bug (?) using \externalfigure with layers and backgrounds

2020-12-03 Thread Wolfgang Schuster
Thank you in advance. This is normal, to load figures from the tex directory use \setupexternalfigures[location=default]. More information are on the wiki: https://wiki.contextgarden.net/Command/setupexternalfigure

Re: [NTG-context] Full page image and caption in another page?

2020-09-23 Thread Taco Hoekwater
] Another problem is that setting the width and height of a float does not affect any externafigure side. You need to do a \setupexternalfigure for that. And there is (afaik) no support for having a “two-page” float. The “opposite” key is used to put the float (including caption) on the opposite

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-06 Thread Jan Willem Flamma
es (\copypages use the figure mechanism) with \setupexternalfigure[location=...]. Below is a modified (but untested) version of your sample document. Wolfgang   begin product\startproduct product \environment env-WA % \setvariables%   [document]%   [ manual={Course Manual},%  tit

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-04 Thread Wolfgang Schuster
setups from the document content into the environment file. 4. Use pagestate=start to increase the page counter with \startstandardmakeup. 5. Set search path for figures (\copypages use the figure mechanism) with \setupexternalfigure[location=...]. Below is a modified (but untested) version

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Wolfgang Schuster
=\structureuservariable{image}]}] \setupexternalfigure[location=default] \starttext \startchapter [title={Tufte}] [image=cow] \dorecurse{4}{\samplefile{tufte}} \stopchapter \startchapter [title={Knuth}] [image=mill] \dorecurse{8}{\samplefile{knuth}} \stopchapter \startchapter [title={Zapf}] [image=hacker

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Wolfgang Schuster
] \setupbackgrounds[page][background=color,backgroundcolor=blue,] \page[empty,right] \popbackground} \stopsetups \setuphead [chapter] [ page=yes, before=\directsetup{chapter:before}, ] \setupexternalfigure[location=default] \starttext \startchapter [title={foo

[NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread juh
,backgroundcolor=blue,] \page[empty,right] \popbackground} \stopsetups \setuphead [chapter] [ page=yes, before=\directsetup{chapter:before}, ] \setupexternalfigure[location=default] \starttext \startchapter [title={foo}] \dorecurse{2}{\input tufte \par} \stopchapter \startchapter

Re: [NTG-context] startcombination place reference left of images instead below

2020-03-26 Thread Wolfgang Schuster
that works or \itemtag simply ignores it which would explain amongst others why it stayed undocumented. Anyway i do get my Subfigure tags positioned and aligned the way i need it. \setupexternalfigure[location=default] \starttext \starttabulate[|l|l|] \NC A \NC \tbox{\externalfigure[hacker]} \NC

Re: [NTG-context] Watermark is behind \externalfigure

2019-12-27 Thread Wolfgang Schuster
}{\overlaywidth}{\overlayheight}{\color[Watermark]{\CONTEXT}}}] \defineoverlay   [watermark]   [{\scale[factor=fit]{\color[Watermark]{\CONTEXT}}}] \setupexternalfigure[location=default] \starttext \externalfigure[mill][background={foreground,watermark}] \stoptext Wolfgang

Re: [NTG-context] 'figures.getinfo()' not to exit ConTeXt

2018-12-06 Thread Wolfgang Schuster
ch mechanism). Is there a way so that the function 'figures.getinfo()' does't exit ConTeXt, it just returns 'nil', or even gives info which directories (or even which file types) were searched? You can use the \doifelsefigure command for a simple check \setupexternalfigure[location={local,gl

Re: [NTG-context] Completecontent has problems with chapter, in table

2018-12-03 Thread Wolfgang Schuster
\headtextcontent } \stopsetups \defineheadalternative [chapterimage] [alternative=vertical, renderingsetup=chapter:image] \setuphead [chapter] [distance=2ex, alternative=chapterimage] \setupexternalfigure [location={local,global,default}] \starttext \startchapter [title={Knuth

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Wolfgang Schuster
are searched when you use the \component command to load chapters etc. in your product (or component) files. To load images from other folder you use \setupexternalfigure[directory=...] where you can also use "../images" to load them from a global folder for all documents in your project.

Re: [NTG-context] handling an external sag file as a text character

2018-10-02 Thread Wolfgang Schuster
\setupexternalfigure[location=default] \definefiguresymbol [textmill] [mill] [height=1.7ex] \starttext A \externalfigure[mill][height=1.7ex] B \figuresymbol[mill] C \figuresymbol[mill][height=1.7ex] D \symbol[textmill] E \stoptext Wolfgang Floris van Manen schrieb am 02.10.18 um 20:07

Re: [NTG-context] ConTeXt ignores crop in some pdf graphics

2018-09-04 Thread Henning Hraban Ramm
ore, but the MediaBox (full sheet). Or maybe the TrimBox (cut size). >> It would make sense to have than configurable, but the change in >> behaviour is really inconvenient. > > Hi Mari and Hraban, > > I have just discovered that \setupexternalfigure has a &q

Re: [NTG-context] ConTeXt ignores crop in some pdf graphics

2018-09-04 Thread Pablo Rodriguez
. > It would make sense to have than configurable, but the change in > behaviour is really inconvenient. Hi Mari and Hraban, I have just discovered that \setupexternalfigure has a "size" option with values "none media crop trim art". They don’t seem to work, but I wonder w

Re: [NTG-context] beta

2018-06-22 Thread Wolfgang Schuster
s file be loaded? \stopbuffer \typesetbuffer[scale=500] \stoptext end example or when I try to insert cow.pdf begin example \setupexternalfigure[location=default] \starttext \externalfigure[cow] \stoptext end example Wo

Re: [NTG-context] Question about a pair of floating fugures

2018-03-25 Thread Tomas Hala
Hi Wolfgang, that's genious! Thank you very much. Tomáš Sun, Mar 25, 2018 ve 02:37:17PM +0200 Wolfgang Schuster napsal(a): #Hi Thomas, # #you have to put your images in a floatcombination environment. # #\setupexternalfigure[location=default] # #\starttext

Re: [NTG-context] Question about a pair of floating fugures

2018-03-25 Thread Wolfgang Schuster
Hi Thomas, you have to put your images in a floatcombination environment. \setupexternalfigure[location=default] \starttext \startplacefigure[location=none] \startfloatcombination[2*1] \placefigure{A dutch cow}{\externalfigure[cow][height=5cm]} \placefigure{A dutch mill

[NTG-context] Scale figure to fill a box

2018-02-04 Thread Wolfgang Schuster
the image extends outside of the borders of the frame. A option to clip parts – which can be disabled – of the image which are outside of the frame would be a nice extension to this command (e.g. in case you want a image in a table cell). \setupexternalfigure[location=default] \defineframed

Re: [NTG-context] Bug? numberstopper in references

2018-01-16 Thread Otared Kavian
version 2018.01.14 15:55. Best regards: OK begin caption-numberstopper-0.tex \setupexternalfigure[location=default] \setupcaptions[numberstopper={:}] \starttext Take a look at \at{picture}[fig:cow] below. \startplacefigure[reference=fig:cow,title=A dutch cow] \externalfigure[cow

Re: [NTG-context] complete cut marks

2017-11-28 Thread Hans Hagen
On 11/28/2017 9:29 PM, Pablo Rodriguez wrote: Hans, I have the following sample: \setuppapersize[A5][A4] \setuplayout [marking=on] \setupexternalfigure[location=default] \setuppagenumbering[location=] \starttext \externalfigure[cow][width=\textwidth

[NTG-context] complete cut marks

2017-11-28 Thread Pablo Rodriguez
Hans, I have the following sample: \setuppapersize[A5][A4] \setuplayout [marking=on] \setupexternalfigure[location=default] \setuppagenumbering[location=] \starttext \externalfigure[cow][width=\textwidth] \stoptext These cut marks are lost after the first cut

Re: [NTG-context] ICC profiles for \externalfigure

2017-10-09 Thread Hans Hagen
=no, pagecolormodel=auto] \setupexternalfigure[location=default] \startTEXpage[offset=1em, align=center] \dontleavehmode \externalfigure[cow-black] \dontleavehmode \externalfigure[cow-brown] \dontleavehmode \externalfigure[basic-figures.pdf][scale=200

[NTG-context] ICC profiles for \externalfigure

2017-10-08 Thread Pablo Rodriguez
Dear Luigi and Hans, I have the following sample: \setupbackend [format=PDF/A-3a, intent=sRGB IEC61966-2.1, profile={sRGB.icc,default_gray.icc}, level=0] \setuptagging[state=start] \setupcolors[cmyk=no, pagecolormodel=auto] \setupexternalfigure

Re: [NTG-context] aligning external figures

2017-06-07 Thread Hans Hagen
On 6/7/2017 8:23 PM, Pablo Rodriguez wrote: On 06/07/2017 03:55 PM, Hans Hagen wrote: On 6/4/2017 11:29 AM, Pablo Rodriguez wrote: [...] Does anyone know how the align key in \setupexternalfigure works? it doesn't (no clue what it should be doing anyway) Many thanks for your reply, Hans

Re: [NTG-context] aligning external figures

2017-06-07 Thread Pablo Rodriguez
On 06/07/2017 03:55 PM, Hans Hagen wrote: > On 6/4/2017 11:29 AM, Pablo Rodriguez wrote: >> [...] >> Does anyone know how the align key in \setupexternalfigure works? > > it doesn't (no clue what it should be doing anyway) Many thanks for your reply, Hans. grph-inc.mkiv i

Re: [NTG-context] aligning external figures

2017-06-07 Thread Hans Hagen
On 6/4/2017 11:29 AM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupexternalfigure[location=default, align=middle] \starttext \dontleavehmode\externalfigure[cow.pdf] \externalfigure[cow.pdf] \stoptext As you can see, \dontleavehmode makes

[NTG-context] aligning external figures

2017-06-04 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupexternalfigure[location=default, align=middle] \starttext \dontleavehmode\externalfigure[cow.pdf] \externalfigure[cow.pdf] \stoptext As you can see, \dontleavehmode makes no difference. Does anyone know how the align key

[NTG-context] adding fill-in fields to an existing PDF

2017-03-28 Thread Pablo Rodriguez
fields in the resulting PDF document. \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \setupexternalfigure[interaction=all] \setupinteraction[state=start

Re: [NTG-context] keep interaction with \insertpages and \filterpages

2017-01-18 Thread Hans Hagen
[1.pdf][page=3,interaction=all]\stopTEXpage \setuplayout[page] \setupexternalfigure[interaction=all] \filterpages[1.pdf][1,2,3] \page \setuplayout[reset] \typefile{1.tex} \stoptext

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-14 Thread Wolfgang Schuster
Jean-Pierre Delange <mailto:adeiman...@free.fr> 14. August 2016 um 16:06 Hi Pablo, Many thanks to be patient. I apologize to be a little bit slow minded : I presume that the \setupexternalfigure[location=default] command would say that the figure is in the same directory than C

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-14 Thread Pablo Rodriguez
On 08/14/2016 04:06 PM, Jean-Pierre Delange wrote: > Hi Pablo, > > Many thanks to be patient. I apologize to be a little bit slow minded : > I presume that the > > \setupexternalfigure[location=default] command > > would say that the figure is in the same directory

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-14 Thread Jean-Pierre Delange
Wolfgang ! With Pablo help, I can manage this flyer. But how to insert a logo on the top right ? Jean-Pierre, I included it in the sample. Here you have it again: \setupexternalfigure[location=default] \definelayer[logo_layer][state=start] \setlayer[logo_layer][preset=lefttop, y

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-14 Thread Jean-Pierre Delange
Hi Pablo, Many thanks to be patient. I apologize to be a little bit slow minded : I presume that the \setupexternalfigure[location=default] command would say that the figure is in the same directory than ConTeXt documents (i.e. 'default'). I have requested an external figure in *.svg

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-14 Thread Pablo Rodriguez
On 08/13/2016 12:45 PM, Jean-Pierre Delange wrote: > Thank you very much Wolfgang ! With Pablo help, I can manage this flyer. > But how to insert a logo on the top right ? Jean-Pierre, I included it in the sample. Here you have it again: \setupexternalfigure[location=d

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-13 Thread Jean-Pierre Delange
] [style={\setupinterlinespace[line=5ex]}] \setupexternalfigure[location=default] \definelayer[logo_layer][state=start] \setlayer[logo_layer][preset=lefttop, y=.01\paperheight, x=.82\paperwidth]{\externalfigure[spider][height=0.2\textwidth]} \setupbackgrounds

Re: [NTG-context] Interlining in a TwoColumns set

2016-08-12 Thread Pablo Rodriguez
here (see http://wiki.contextgarden.net/Layers#State). Right after your closing bracket. And here you have a shorter sample: \mainlanguage[fr] \defineparagraphs[TwoColumns][n=2, align={hz,hanging}] \setupparagraphs[TwoColumns][1][width=200pt] \setupparagraphs[TwoColumns][2]

Re: [NTG-context] bug in image scaling

2016-07-10 Thread Pablo Rodriguez
On 07/10/2016 12:51 PM, Hans Hagen wrote: > On 7/9/2016 8:10 PM, Pablo Rodriguez wrote: >> Dear list, >> >> I have the following sample: >> >> \setupexternalfigure[location=default] >> \starttext >> \insertpages[cow.pdf][width=\textwidth]

Re: [NTG-context] bug in image scaling

2016-07-10 Thread Hans Hagen
On 7/9/2016 8:10 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupexternalfigure[location=default] \starttext \insertpages[cow.pdf][width=\textwidth] \stoptext Using latest beta from 2016.07.08 17:19, scaling doesn’t work. next beta

Re: [NTG-context] bug in image scaling

2016-07-10 Thread Hans Hagen
On 7/9/2016 8:10 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupexternalfigure[location=default] \starttext \insertpages[cow.pdf][width=\textwidth] \stoptext Using latest beta from 2016.07.08 17:19, scaling doesn’t work. Am I missing something

[NTG-context] bug in image scaling

2016-07-09 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupexternalfigure[location=default] \starttext \insertpages[cow.pdf][width=\textwidth] \stoptext Using latest beta from 2016.07.08 17:19, scaling doesn’t work. Am I missing something or have I hit a bug? Just in case it might me

Re: [NTG-context] Equivalent in ConTeXt mkiv for LaTeX's picture environment?

2016-06-26 Thread Wolfgang Schuster
ements and coordinates on the go, like the stuff provided by the picture package on LaTeX. (It's labels for cider bottles this time.) A third method apart from layers and metapost is the positioning environment. \setupexternalfigure[location=default] \starttext \startpositioning \position(0,0){\external

Re: [NTG-context] invert colors in \externalfigure

2016-01-20 Thread Pablo Rodriguez
onary (according to the PDF spec). I’m going to report the issue for Ghostscript, mupdf and poppler, so that they have the feature implemented. Many thanks for your help, Pablo > \setupexternalfigure[location=default] > > \starttext > > \externalfigure[cow][width=\textwidth] >

Re: [NTG-context] invert colors in \externalfigure

2016-01-20 Thread Wolfgang Schuster
invert the colors in the external figure without having to edit the image file? Many thanks for your help, You have to use the Adobe Reader to view the PDF. \setupexternalfigure[location=default] \starttext \externalfigure[cow][width=\textwidth] \startnegative \externalfigure[cow][width=\tex

Re: [NTG-context] Splitting a combination of figures (also a philosophical question)

2015-05-21 Thread Mojca Miklavec
if this is doable. I would like to hear if anyone had a similar challenge and what solution you used. \setupexternalfigure[location=default] \starttext \dorecurse{5}{\input ward } %\dorecurse{2}{\input ward } \startplacefigure[location=split,title=Float dummy] \startxtable[frame=off,align

Re: [NTG-context] Splitting a combination of figures (also a philosophical question)

2015-05-21 Thread Hans Hagen
, but I'm not sure if this is doable. I would like to hear if anyone had a similar challenge and what solution you used. \setupexternalfigure[location=default] \starttext \dorecurse{5}{\input ward } %\dorecurse{2}{\input ward } \startplacefigure[location=split,title=Float dummy

Re: [NTG-context] Splitting a combination of figures (also a philosophical question)

2015-05-20 Thread Wolfgang Schuster
to hear if anyone had a similar challenge and what solution you used. \setupexternalfigure[location=default] \starttext \dorecurse{5}{\input ward } %\dorecurse{2}{\input ward } \startplacefigure[location=split,title=Float dummy] \startxtable[frame=off,align=middle

Re: [NTG-context] output file size with repeated image

2015-04-14 Thread Hans Hagen
On 4/14/2015 7:07 PM, Pablo Rodriguez wrote: Dear list, I have the following sample: \setupexternalfigure[location=default] \starttext \startmode[repeated-image] \dorecurse{10}{ \dorecurse{10}{ \dorecurse{10}{ \externalfigure[cow

  1   2   >