[NTG-context] LMTX distorts PDF aspect

2019-10-19 Thread Pablo Rodriguez
Dear list, using the document attached to this message with the following sample gives different outputs: \setuppapersize[A3, landscape] \starttext \externalfigure[fc-first.pdf] \stoptext 1. LuaTeX inserts the document fine. 2. LMTX inserts the document distorting its aspect

[NTG-context] issue splitting tables and horizontal mode

2019-10-18 Thread Pablo Rodriguez
\dontleavehmode \externalfigure[cow.pdf] [scale=500] \stopxcell \startxcell \dontleavehmode \externalfigure[cow.pdf] [scale=500] \stopxcell

Re: [NTG-context] issue with images in frames

2019-10-18 Thread Hans Hagen
\dontleavehmode\dorecurse{100}{ \externalfigure[cow.pdf][scale=50] } \stopxcell \startxcell \input zapf \stopxcell \stopxrow \stopxtable \stoptext Some time ago, there were no difference

Re: [NTG-context] issue with images in frames

2019-10-17 Thread Wolfgang Schuster
}{ \externalfigure[cow.pdf][scale=50] } \stopxcell \startxcell \input zapf \stopxcell \stopxrow \stopxtable \stoptext Some time ago, there were no difference between images and text remaining inside the frame

[NTG-context] issue with images in frames

2019-10-17 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupexternalfigures[location=default] \starttext \startxtable[option={stretch, width}] \startxrow \startxcell \dontleavehmode\dorecurse{100}{ \externalfigure[cow.pdf][scale=50

Re: [NTG-context] \numexpr in \rotate error

2019-10-16 Thread Hans Hagen
On 10/16/2019 5:02 PM, cont...@vivaldi.net wrote: Hello, the following code stopped working after today's Ctx update: \setupexternalfigures[location=default] \starttext   %\externalfigure[hacker]   \getrandomnumber\t{0}{20}   \rotate[rotation=\numexpr\t-10\relax]{\externalfigure[dummy

[NTG-context] \numexpr in \rotate error

2019-10-16 Thread context
Hello, the following code stopped working after today's Ctx update: \setupexternalfigures[location=default] \starttext %\externalfigure[hacker] \getrandomnumber\t{0}{20} \rotate[rotation=\numexpr\t-10\relax]{\externalfigure[dummy]} \stoptext with: " tex error

[NTG-context] LMTX: Linux and Windows

2019-10-12 Thread Pablo Rodriguez
Dear list, I have the following sample (slightly modified version taken from java-imp-vplayer.mkiv): \starttext \startTEXpage[offset=3em] \useJSscripts[vplayer] \setupinteraction [state=start] \externalfigure [shockwave] [frame

Re: [NTG-context] Problem inserting image within MP

2019-10-10 Thread Aditya Mahajan
On Thu, 10 Oct 2019, cont...@vivaldi.net wrote: Hello, this is a probably basic question, but the following code doesn't compile: \setupbackgrounds[page][background={Bkg}] \defineoverlay[Bkg][\useMPgraphic{Bkg}] \startuseMPgraphic{Bkg} externalfigure "hacker.png"; \stopus

Re: [NTG-context] Problem inserting image within MP

2019-10-10 Thread Taco Hoekwater
> On 10 Oct 2019, at 13:23, cont...@vivaldi.net wrote: > > Hello, > > this is a probably basic question, but the following code doesn't compile: > > > \setupbackgrounds[page][background={Bkg}] > > \defineoverlay[Bkg][\useMPgraphic{Bkg}] > > \star

[NTG-context] Problem inserting image within MP

2019-10-10 Thread context
Hello, this is a probably basic question, but the following code doesn't compile: \setupbackgrounds[page][background={Bkg}] \defineoverlay[Bkg][\useMPgraphic{Bkg}] \startuseMPgraphic{Bkg} externalfigure "hacker.png"; \stopuseMPgraphic \starttext Ahoj

Re: [NTG-context] new (lmtx) beta

2019-10-05 Thread Fabrice Couvreur
> ymin=-5, > ymax=5, > xstep=0.01, > ystep=0.01, > range={0}, > levels=1, > function="-15*x+2*x*y+5*x^4*y-10*x^2*y^3+y^5", > linecolor="orange", > linewidth=1, > legend=false, > cache=true, > ] xsized 10cm ; > \stopMPpage > > \st

Re: [NTG-context] new (lmtx) beta

2019-10-04 Thread Mikael P. Sundqvist
h=1, legend=false, cache=true, ] xsized 10cm ; \stopMPpage \startbuffer[mmainput] ContourPlot[ {-4+x^2+x^5+15y-y^2-10x^3y^2+5x*y^4 == 0, -15x+2x*y+5*x^4*y-10x^2*y^3+y^5 == 0}, {x, -5, 5}, {y, -5, 5}, Frame -> False] \stopbuffer \startTEXpage[offset=2bp] \typebuffer[mmainput] \externalfigure[ma

[NTG-context] Column sets (span) & unwanted vertical gap

2019-10-01 Thread Procházka Lukáš Ing .
\setuphead[MyTit] [style=\bf,color=MyBlue, before={\blank[none]},after={\blank[none]},inbetween={\blank[none]},beforesection={BS},aftersection={AS}, page=no,%grid=yes, ] % %\showframe %\showboxes %\showlayout % \starttext \startcolumnset[example] \startcolumnsetspan[wide]

Re: [NTG-context] Column(set)s & overlapping lines

2019-10-01 Thread Procházka Lukáš Ing .
] \startcolumnsetspan[wide] %\externalfigure[hacker][width=120mm] % Produces overlapping last two lines in the first column, too \vbox to80mm{} \stopcolumnsetspan \input knuth \stopcolumnset \stoptext The last two lines in the first column overlap (it seems that the last

Re: [NTG-context] Column(set)s & overlapping lines

2019-10-01 Thread Henri Menke
lumnsetspan[wide][n=2] > > \setupexternalfigures[location=default] > > % > > \starttext >\startcolumnset[example] > \startcolumnsetspan[wide] >%\externalfigure[hacker][width=120mm] % Produces overlapping last two > lines in the first column, too >\vbox to8

[NTG-context] Column(set)s & overlapping lines

2019-10-01 Thread Procházka Lukáš Ing .
Hello, I have the following code: \definecolumnset[example][n=3,balancing=no] \definecolumnsetspan[wide][n=2] \setupexternalfigures[location=default] % \starttext \startcolumnset[example] \startcolumnsetspan[wide] %\externalfigure[hacker][width=120mm] % Produces overlapping

[NTG-context] placefigure right or left error in ver: 2018.04.04 00:51 MKIV

2019-09-27 Thread Philippe Oechslin
]{}{\externalfigure[cow][width=3cm]} \input ward \stoptext The error happens when the location of placefigure is left or right, but not with center. The error is the following: context test.tex resolvers | trees | analyzing 'home:.texlive2018/texmf-config' mtx-context | run 1: luatex

Re: [NTG-context] Columns with non-equal width; nested columns

2019-09-25 Thread Procházka Lukáš Ing .
[subsubsubsubsubject][style=bold] \starttext \startcolumnset[example] \startcolumnsetspan[wide] \externalfigure[hacker][width=95mm] \stopcolumnsetspan \dorecurse{2}{ \subsubsubsubsubject{Sub} \input ward } \column \column \darkred \starttabulate[|rB|lp

Re: [NTG-context] special book layout problem in ConTeXt

2019-09-21 Thread nicolas mondon
gt; mechanism but a separate document is easier)." > > > Step 1: > > Create a document with a very big left margin where you can place all > floats. > > \setuppapersize >[A3,landscape] > > \setuplayout > [backspace=23.5cm, > width=15cm,edge=14cm]

Re: [NTG-context] special book layout problem in ConTeXt

2019-09-19 Thread Wolfgang Schuster
input ward \startplacefigure \externalfigure[dummy] \stopplacefigure \input knuth \startplacetable   \starttabulate[|c|c|c|]   \FL   \NC A \NC B \NC C \NC\NR   \ML   \NC X \NC Y \NC Z \NC\NR   \LL   \stoptabulate \stopplacetable \input zapf \stoptext Step 2: Split each page into two separate pages

Re: [NTG-context] Sidefloats inside framed

2019-09-15 Thread Wolfgang Schuster
--- \starttext \startplacefigure[location={none,right}] \externalfigure[cow][width=.5\hsize] \stopplacefigure \samplefile{lorem} \startframed [height=20\lineheight, width=\hsize, offset=0pt, align=width] \startplacefigure[location={none,right}] \externalfigure[cow

[NTG-context] Sidefloats inside framed

2019-09-14 Thread Henri Menke
={none,right}] \externalfigure[cow][width=.5\hsize] \stopplacefigure \samplefile{lorem} \startframed [height=20\lineheight, width=\hsize, offset=0pt, align=width] \startplacefigure[location={none,right}] \externalfigure[cow][width=.5\hsize] \stopplacefigure \samplefile{lorem

Re: [NTG-context] expansion problem: random location

2019-09-13 Thread Wolfgang Schuster
=.4\textwidth} \startplacefigure[location={#1},title={#1 \fakewords{3}{20}}] \externalfigure[place #1][width=\PicWidth,height=\dimexpr\textheight * \imgH / 10 \relax] \stopplacefigure } Put the value of the random location in a macro. \define[1]\Blindbild   {\edef\PicLocation{#1

[NTG-context] expansion problem: random location

2019-09-13 Thread Henning Hraban Ramm
\fakewords{3}{20}}] \externalfigure[place #1][width=\PicWidth,height=\dimexpr\textheight * \imgH / 10 \relax] \stopplacefigure } \starttext \dorecurse{3} {\chapter{\fakewords{5}{10}} \dorecurse{3} {\dorecurse{3}{\fakewords{50}{100}\endgraf} \Blindbild{\ctxlua

Re: [NTG-context] Arithmetic overflow on placing an external figure in MP

2019-09-08 Thread Hans Hagen
On 9/7/2019 10:47 PM, Henning Hraban Ramm wrote: Bear with me, I still got no experience in MetaPost… I’m trying to place a pixel image on a MP page. According to the MetaFun manual this should work: \startMPpage draw externalfigure "mill.png" scaled 5cm shifted (-6cm,0) ; \

Re: [NTG-context] Arithmetic overflow on placing an external figure in MP

2019-09-07 Thread Fabrice L
Hi, > Le 7 sept. 2019 à 16:47, Henning Hraban Ramm a écrit : > > Bear with me, I still got no experience in MetaPost… > > I’m trying to place a pixel image on a MP page. > > According to the MetaFun manual this should work: > > \startMPpage > draw externalfigure

[NTG-context] Arithmetic overflow on placing an external figure in MP

2019-09-07 Thread Henning Hraban Ramm
Bear with me, I still got no experience in MetaPost… I’m trying to place a pixel image on a MP page. According to the MetaFun manual this should work: \startMPpage draw externalfigure "mill.png" scaled 5cm shifted (-6cm,0) ; \stopMPpage And it works with mill.png (copied into m

[NTG-context] Again: Graphics placement with columnsets/page grids

2019-08-18 Thread Denis Maier
] \dorecurse{11}{ \input ward\par } \placefigure [btrl,none] {} { \externalfigure[placeholder][width=\columnsetspanwidth{2}] } \dorecurse{10}{ \input ward\par } \stopcolumnset \stoptext Shouldn't the figure stick to the bottom? Best, Denis

Re: [NTG-context] Convert SVG to MetaPost

2019-08-13 Thread Hans Hagen
\externalfigure[test.svg][width=10cm] and context will handle the conversion - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69

Re: [NTG-context] align figures verticaly centered in \startcombination mode

2019-08-08 Thread Wolfgang Schuster
] \usemodule[pre-60] \setupcombination[align=middle] \starttext \StartSteps \startplacefigure[] {\startcombination[2*2] {{\externalfigure[bogus][width=.3\makeupwidth]}{}\FlushStep} {{\externalfigure[bogus][height=.1\makeupheight]}{}\FlushStep} {{\externalfigure[bogus][width=.3\makeupwidth

[NTG-context] align figures verticaly centered in \startcombination mode

2019-08-08 Thread Jeong Dal
=middle] \starttext \StartSteps \startplacefigure[] {\startcombination[2*2] {{\externalfigure[bogus][width=.3\makeupwidth]}{}\FlushStep} {{\externalfigure[bogus][height=.1\makeupheight]}{}\FlushStep} {{\externalfigure[bogus][width=.3\makeupwidth]}{}\FlushStep} {{\externalfigure[bogus][width=.3

Re: [NTG-context] Captions with background

2019-08-04 Thread Hans Hagen
=footer, state=start] \setupfooter[strut=no] \useMPlibrary[dum] \showframe[frame=on] \dorecurse{10} { test \page[left] \setlayer [page] [x=-2mm, y=-2mm, preset=lefttop] {\externalfigure [bogus] [width=\dimexpr\paperwidth+2mm

Re: [NTG-context] Graphics placement with columnsets/page grids (was "no subject)

2019-07-28 Thread Denis Maier
of the page if we have no caption. ``` \usemodule[newcolumnsets] \setuplayout [grid=yes] \definecolumnset[example][n=2] \starttext \startcolumnset[example] \dorecurse{11}{ \input ward\par } \placefigure [btrl,none] {} { \externalfigure[placeholder][width=\columnsetspanwidth{2

[NTG-context] Graphics placement with columnsets/page grids (was "no subject)

2019-07-24 Thread Denis Maier
Hi, just a quick follow up: This (i.e., deleting the "none") gives the right result: ``` \placefigure [btrl] {} { \externalfigure[placeholder][width=\columnsetspanwidth{2}] } ``` The figure is indeed at the bottom of the page. Yet, `\placefigure [btrl,none]` seems to remove t

[NTG-context] (no subject)

2019-07-23 Thread Denis Maier
] \setuplayout [grid=yes] \setuplayout [backspace=20mm, cutspace=15mm, width=middle, height=middle] \setupsystem [random=1234] \setuppagenumbering [ alternative=, location=, ] \setupfootertexts [Laubblatt 2019/1] [{\externalfigure[cow][height=15mm]}] \setupfooter [style=\ss] \setuptolerance

Re: [NTG-context] Unwanted white box above float

2019-07-22 Thread Taco Hoekwater
re] > \setupfloat[thematicimage] > [default=right,none}, > offset=1em, > margin=0em, > background=color, > backgroundcolor=cyan, > rightmargindistance=-1em] > > \starttext > > \starttextbackground[TintBoxed

[NTG-context] Unwanted white box above float

2019-07-22 Thread Duncan Hothersall
, margin=0em, background=color, backgroundcolor=cyan, rightmargindistance=-1em] \starttext \starttextbackground[TintBoxedBackground] {\bf Lorem ipsum dolor sit amet}\blank \placethematicimage{}{\externalfigure[cow][width=0.30\makeupwidth]} Lorem ipsum dolor sit

Re: [NTG-context] Side figure bug in mkiv?

2019-07-18 Thread Henri Menke
xt overflows. The preceding and following paras which don't have {\bf > …} do behave properly. > > I wondered if emphasis like \bf should be done differently (with a start/stop > mechanism?) in mkiv, but I found nothing to suggest it. > > \starttext > Blah blah. > \place

[NTG-context] Side figure bug in mkiv?

2019-07-18 Thread Duncan Hothersall
…} do behave properly. I wondered if emphasis like \bf should be done differently (with a start/stop mechanism?) in mkiv, but I found nothing to suggest it. \starttext Blah blah. \placefigure[right,none]{}{\externalfigure[cow][width=0.30\makeupwidth]} Blah blah blah blah blah blah blah blah blah

Re: [NTG-context] Spacing after combination

2019-07-16 Thread Willi Egger
ion is > placed? > > \useMPlibrary [dum] > > \starttext > > \startcombination [2*2] > \startcontent \externalfigure \stopcontent > \startcaption Foo\stopcaption > \startcontent \externalfigure \stopcontent > \startcaption Bar \stopcaption > \startcontent \

[NTG-context] Spacing after combination

2019-07-16 Thread Marco Patzer
Hi! Is there a way to influence the spacing after a combination is placed? \useMPlibrary [dum] \starttext \startcombination [2*2] \startcontent \externalfigure \stopcontent \startcaption Foo\stopcaption \startcontent \externalfigure \stopcontent \startcaption Bar\stopcaption

Re: [NTG-context] problems with images, layers and crop marks

2019-07-08 Thread Henning Hraban Ramm
,     height=\pageheight]{% \externalfigure[hacker][height=\pageheight]} \page[right] \strut beware: \pagewidth and \pageheight are low level engine variables, use \paperwidth and \paperheight instead as these engine ones will be nilled Thank you for the hint. In my actual code I use other

Re: [NTG-context] problems with images, layers and crop marks

2019-07-08 Thread Hans Hagen
]{% \externalfigure[hacker][height=\pageheight]} \page[right] \strut beware: \pagewidth and \pageheight are low level engine variables, use \paperwidth and \paperheight instead as these engine ones will be nilled \stoptext Crop marks as well as some layers (not shown in example

Re: [NTG-context] problems with images, layers and crop marks

2019-07-08 Thread Henning Hraban Ramm
]{% \externalfigure[hacker][height=\pageheight]} \page[right] \strut \stoptext Crop marks as well as some layers (not shown in example) are shifted by \clip’s hoffset and voffset. I guess there’s some internal variables bleeding or the like? Greetlings, Hraban --- https://www.fiee.net http

[NTG-context] Strange behavior concerning pdf-output of .png-externalfigures

2019-05-21 Thread Rudolf Bahr
in:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games The .tiff-image is always too big for this forums upper limit \starttext \midaligned{ \externalfigure[image-no-red-frame.png][width=15mm,height=25mm] \hskip12pt \externalfigure[imagered-frame.png][width=15mm,height=25mm] \hskip12pt \externalfigur

[NTG-context] Bug or not?

2019-05-16 Thread Hans van der Meer
d="">Add \tex{setupcaption[align=middle,width=\makeupwidth]} as setting here:\par\setupcaption[align=middle,width=\makeupwidth]\setupframed[background="">\placefigure[][]{\type{\setupcaption[align=middle,width=\makeupwidth]}}{\externalfigure[test.jpg]}\setupframed[backgr

Re: [NTG-context] inserting figure labels

2019-05-12 Thread Hans van der Meer
mailto:havdm...@ziggo.nl>>: > >> Placing a float figure with >> \placefigure[][]{labeltext}{\externalfigure[]} >> delivers a figure with a label like "Figure V.3 labeltext" (depending on the >> setup) >> >> Now I want to intersperse th

Re: [NTG-context] inserting figure labels

2019-05-12 Thread Henning Hraban Ramm
Am 2019-05-11 um 21:39 schrieb Hans van der Meer : > Placing a float figure with > \placefigure[][]{labeltext}{\externalfigure[]} > delivers a figure with a label like "Figure V.3 labeltext" (depending on the > setup) > > Now I want to intersperse this with an

[NTG-context] inserting figure labels

2019-05-11 Thread Hans van der Meer
Placing a float figure with \placefigure[][]{labeltext}{\externalfigure[]} delivers a figure with a label like "Figure V.3 labeltext" (depending on the setup) Now I want to intersperse this with an \externalfigure[] not within a placefigure but still accompanied

Re: [NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-04-29 Thread Rudolf Bahr
efacts in the pdf-output. > > > > > > My MWE is: > > > > > > -- > > > \starttext > > > > > > \externalfigure > > > [input.png] > > > [width=100mm] > > > > > > \stoptext > >

Re: [NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-04-29 Thread Rudolf Bahr
On Sun, Apr 28, 2019 at 11:12:43PM +0200, Hans Hagen wrote: > On 4/28/2019 8:10 PM, Rudolf Bahr wrote: > > > > Dear list, > > > > I'm getting unexplainable artefacts in the pdf-output. > > > > My MWE is: > > > > ------ > >

Re: [NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-04-28 Thread Hans Hagen
On 4/28/2019 8:10 PM, Rudolf Bahr wrote: Dear list, I'm getting unexplainable artefacts in the pdf-output. My MWE is: -- \starttext \externalfigure [input.png] [width=100mm] \stoptext -- I append the output "MWE.pdf" and the in

[NTG-context] Strange behavior concerning pdf-output of externalfigures

2019-04-28 Thread Rudolf Bahr
Dear list, I'm getting unexplainable artefacts in the pdf-output. My MWE is: -- \starttext \externalfigure [input.png] [width=100mm] \stoptext -- I append the output "MWE.pdf" and the input-figure "input.png" for compariso

Re: [NTG-context] adjusting tikz pictures

2019-04-25 Thread Gour
ess the generate latex code through latex to generate standalone > pdfs and include them in your context document using > \externalfigure[...]. :-) > So, simply including the generated figures using \externalfigure[...] > will allow you to get productive right away. If and wh

Re: [NTG-context] adjusting tikz pictures

2019-04-24 Thread Aditya Mahajan
and include them in your context document using \externalfigure[...]. There are benefits of using the tikz/metapost code in the tex document. The main advantage is that your images and main text use the same fonts, but that can be handled by using the same fonts in latex when generating the image

Re: [NTG-context] *** Spam *** Drawing scaled externalfigure in Metapost produces erroneous size in the latest beta

2019-04-04 Thread Lutz Haseloff
ing to >recent beta. I don't have a clue exactly when this behaviour was >introduced since I switched just recently from the standard Texlive >version available in Arch Linux. > >\starttext >\startMPcode >draw externalfigure "test.pdf" scaled 10mm; >\stopMPc

Re: [NTG-context] Drawing scaled externalfigure in Metapost produces erroneous size in the latest beta

2019-04-04 Thread Hans Hagen
. \starttext \startMPcode draw externalfigure "test.pdf" scaled 10mm; \stopMPcode \stoptext Now it produces a graphic with size of approximately 110 mm at least in my system with various test files which previously scaled just fine.. Any help is greatly appreciated. scaled scaled the original siz

[NTG-context] Drawing scaled externalfigure in Metapost produces erroneous size in the latest beta

2019-04-04 Thread Thorsten S.
Hello! The simple Metapost code that follows worked fine until upgrading to recent beta. I don't have a clue exactly when this behaviour was introduced since I switched just recently from the standard Texlive version available in Arch Linux. \starttext \startMPcode draw externalfigure

[NTG-context] Question to floating figure and grid

2019-03-22 Thread Tomas Hala
] \placefigure[][#1]{#2}{\externalfigure[#3][#4]} \stopfloatcombination \stopplacefigure} \input knuth \myfig{fig1}{This is FIG1}{any.jpg}{scale=250} \input knuth \input knuth \stoptext ___ If your question

Re: [NTG-context] colorizing pictures

2019-03-19 Thread Henning Hraban Ramm
ernalfigure[cowi][cow.pdf][object=no,width=.3\textwidth] \define[1]\FIG{% \section{#1} \startcombination[3*1] {\externalfigure[milli][color=#1]} {grey} {\externalfigure[dodog][color=#1]} {grey} {\externalfigure[dodob][color=#1]} {bitmap} \stopcombination } \starttext %\FIG{blue} %\FIG{m

Re: [NTG-context] colorizing pictures

2019-03-19 Thread Hans Hagen
On 3/18/2019 7:45 PM, Henning Hraban Ramm wrote: \externalfigure has a "color" parameter. It used to be possible to colorize greyscale pictures with that, but it doesn’t work any more: %%% \setupcolors[state=start] \setupexternalfigures[     location={local,global,default}, ]

[NTG-context] colorizing pictures

2019-03-18 Thread Henning Hraban Ramm
\externalfigure has a "color" parameter. It used to be possible to colorize greyscale pictures with that, but it doesn’t work any more: %%% \setupcolors[state=start] \setupexternalfigures[ location={local,global,default}, ] \starttext \externalfigure[img/minidodo_g][width=.3

[NTG-context] Fwd: Fwd: IBM Wordcloud with the Filter Module

2019-03-14 Thread Jeroen
utfile}, output=\externalfilterbasefile.png, readcommand=\ExternalFigure, continue=yes, read=yes, cache=yes, purge=no,] \def\ExternalFigure#1{\externalfigure[#1]} \traceexternalfilters \starttext \startwordcloud Een bak cijfers vertalen naar een visuele weergave kan ervoor zorgen dat statis

Re: [NTG-context] IBM Wordcloud with the Filter Module

2019-03-11 Thread Jeroen
ercommand={/Program Files/Java/jre1.8.0_181/bin/java > > > > -jar /context/wordcloud/ibm-word-cloud.jar > > > > -c /context/wordcloud/examples/configuration.txt > > > > -w 800 > > > > -h 600 > > > > -o \externalfilteroutputfile\space > &

Re: [NTG-context] IBM Wordcloud with the Filter Module

2019-03-11 Thread Aditya Mahajan
/wordcloud/ibm-word-cloud.jar -c /context/wordcloud/examples/configuration.txt -w 800 -h 600 -o \externalfilteroutputfile\space -i \externalfilterinputfile}, output=\externalfilterbasefile.png, readcommand=\ExternalFigure, continue=yes, purge=no,] \def\ExternalFigure#1{\externalfigure[#1]}

[NTG-context] IBM Wordcloud with the Filter Module

2019-03-11 Thread Jeroen
-h 600 -o \externalfilteroutputfile\space -i \externalfilterinputfile}, output=\externalfilterbasefile.png, readcommand=\ExternalFigure, continue=yes, purge=no,] \def\ExternalFigure#1{\externalfigure[#1]} \starttext \startwordcloud %[width=100] Thus, I came to the conclusion that the designer of a n

[NTG-context] Meptapost Drawing not showing-up in Context Letter Style

2019-03-10 Thread Context NTG
)4234 4232}, email={peter.jan...@gmail.com}, date={\currentdate}, signature={\externalfigure[autograph][height=4\lineheight]\\\correspondenceparameter{name}},] % END LETTER SETUP, START LETTER \startletter [subject={Outstanding Invoices}, opening={Dear Sir,}, closing={Kind Regards

Re: [NTG-context] When newsizing an external figure by [width=], what will be its height in pt and viceversa?

2019-02-24 Thread Rudolf Bahr
On Sun, Feb 24, 2019 at 07:38:42AM +0900, Jeong Dal wrote: > Dear Rudolf, > > It is working for me. > Using my figure, I got > (45126287sp,31048991sp) > > (1372,944) > > > As Hans said, either change ~ to some path or set the directory of > externalfigure.

Re: [NTG-context] externalfigure broken with 20190222 beta

2019-02-23 Thread Hans Hagen
On 2/24/2019 12:25 AM, mf wrote: BTW \startsidebar ... \stopsidebar stopped working too. i'll upload a fix later today Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061

Re: [NTG-context] externalfigure broken with 20190222 beta

2019-02-23 Thread mf
value) with the current (20190222) beta.     \setupexternalfigures[location=default]     \starttext     \externalfigure[cow.pdf]     \stoptext Down for just me, or for everyone? i'll fix it (low level cleanup going

Re: [NTG-context] When newsizing an external figure bei [width=], what will be its height in pt and viceversa?

2019-02-23 Thread Jeong Dal
Dear Rudolf, It is working for me. Using my figure, I got (45126287sp,31048991sp) (1372,944) As Hans said, either change ~ to some path or set the directory of externalfigure. Best regards, Dalyoung > 2019. 2. 24. 오전 5:58, ntg-context-requ...@ntg.nl 작성: > > I fear it doesn'

Re: [NTG-context] externalfigure broken with 20190222 beta

2019-02-23 Thread Hans Hagen
\externalfigure[cow.pdf] \stoptext Down for just me, or for everyone? i'll fix it (low level cleanup going on) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

Re: [NTG-context] externalfigure broken with 20190222 beta

2019-02-23 Thread Rudolf Bahr
externalfigures[location=default] >\starttext >\externalfigure[cow.pdf] >\stoptext > > Down for just me, or for everyone? > > -- > Rik My context exits normally (ConTeXt ver: 2018.03.16 22:20 MKIV beta fmt:

[NTG-context] externalfigure broken with 20190222 beta

2019-02-23 Thread Rik Kabel
With the following example, I get: ...eXt/tex/texmf-context/tex/context/base/mkiv/grph-inc.lua:238: attempt to call upvalue 'imgwrap' (a nil value) with the current (20190222) beta. \setupexternalfigures[location=default] \starttext \externalfigure[cow.pdf] \stoptext Down

[NTG-context] getdocumentargument in Metafun

2019-02-22 Thread Fabrice L
:= \getdocumentargument{File} ; ThePage := \getdocumentargument{Page} ; draw textext("\externalfigure[" & FileName &"][page=" & ThePage &"]") xysized (48in,48in) ; \stopMPpage \stoptext I can get in the MPpage the page number in entry (9 in my example), but n

Re: [NTG-context] Frame

2019-02-22 Thread Ursula Hermann
humans had ever evolved or not. \placefigure [][fig:church] {Stephanus Church.} {\externalfigure[ma-cb-24][width=.4\textwidth]} \stopprettyblock \setupindenting[next] Below, we have two separate columns; but up here, for the nonce, we have but the one. \startcolumns [n=2] Text, text, text \dots

Re: [NTG-context] Frame

2019-02-21 Thread Wolfgang Schuster
,backgroundcolor=darkblue, foreground=color,foregroundcolor=white, align={flushleft}] {The Earth, as a habitat for animal life, is in old age and has a fatal illness. Several, in fact.\par \setupindenting[yes, small] It would be happening whether humans had ever evolved or not. \externalfigure[cow.pdf

Re: [NTG-context] Frame

2019-02-21 Thread Ursula Hermann
e, >align={flushleft}] > {The Earth, as a habitat for animal life, is in old age and has a > fatal illness. Several, in fact.\par \setupindenting[yes, small] It > would be happening whether humans had ever evolved or not. > > \externalfigure[cow.pdf][width=1cm]} > > \setupwhi

Re: [NTG-context] Frame

2019-02-21 Thread Marco Patzer
>foreground=color,foregroundcolor=white, >align={flushleft}] > {The Earth, as a habitat for animal life, is in old age and has a > fatal illness. Several, in fact.\par \setupindenting[yes, small] > It would be happening whether humans had ever evolved or not. >

Re: [NTG-context] Frame

2019-02-21 Thread Ursula Hermann
. Several, in fact.\par \setupindenting[yes, small] It would be happening whether humans had ever evolved or not. \externalfigure[cow.pdf][width=1cm]} \setupwhitespace[small] \starttext Below, we have two separate columns; but up here, for the nonce, we have but the one. \startcolumns[n=2] % Two

Re: [NTG-context] Frame

2019-02-20 Thread Lars
It's the same as with text, but instead of text you put \externalfigure[path/to-figure.pdf][setup=value] inside the parenthesis { }: \setuppapersize[A5] \starttext {\framed    [width=10cm,    background=color,backgroundcolor=darkblue,    foreground=color,foregroundcolor=white,    align

Re: [NTG-context] degrade module

2019-02-18 Thread Alan Braslau
u have a > "natural size". But that doesn't matter, if you want other dimensions. For example, in Context \externalfigure [myfigure] should give this natural size. Of course, you can always specify other dimensions, in which case it gets scaled. Since what counts for our use in Context

Re: [NTG-context] degrade module

2019-02-18 Thread Alan Braslau
uot;degrade" pixel resolution to whatever value one desires, then setting global macro (\FigRes) to this subdirectory name. So, for example, \def\FigRes{300/} ... \externalfigure [\FigRes MyFigureName] I do this as I have *very* high resolution images as my source (also high resolution

Re: [NTG-context] t-downsample.lua

2019-02-17 Thread Hans Hagen
and mill.png cache=/tmp,% where to put the low resolution images resolution=50, % resolution in DPI conversion=downsample.pdf] % use this module \starttext \externalfigure[hacker][width=0.4\textwidth] \setupexternalfigures[resolution=20] \externalfigure[mill

[NTG-context] t-downsample.lua

2019-02-17 Thread Peter Münster
,% where to put the low resolution images resolution=50, % resolution in DPI conversion=downsample.pdf] % use this module \starttext \externalfigure[hacker][width=0.4\textwidth] \setupexternalfigures[resolution=20] \externalfigure[mill][width=4in, height=3in] \setupexternalfigures

Re: [NTG-context] degrade module

2019-02-14 Thread Lutz Haseloff
ion(oldname,newname,resolution) > os.execute(string.format('gm convert "%s" "%s"',oldname,newname)) >end > >figures.converters["jpg"]["lowres.jpg"] = >function(oldname,newname,resolution) > os.execute(string.format('gm convert "%

Re: [NTG-context] degrade module

2019-02-14 Thread Hans Hagen
ldname,newname,resolution) os.execute(string.format('gm convert "%s" "%s"',oldname,newname)) end -- figures.suffixes["lowres.png"] = figures.suffixes.png -- suffix is automatically done \stopluacode \enabletrackers[graphics*] \starttext \externalfi

[NTG-context] Bad names

2019-02-08 Thread Marco Patzer
ing time: 0.021 seconds including tex, 14 processed images, 14 unique asked, 7 bad names A small test: \starttext \externalfigure [a] %% good \externalfigure [a.png] %% good \externalfigure [a.b.png] %% good \externalfigure [a.1.png] %% bad \externalfigure [a-1.

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-16 Thread Hans Hagen
y the last footnote is placed in the output. MWE: \starttext   \startplacefigure[title={OuterCap\footnote{Outer footnote}}] \startfloatcombination[nx=3] \placefigure{Fnote1\footnote{Hello}}{\externalfigure[cow][width={.2\textwidth}]} \placefigure{Fnote2\footnote{small}}{\externalfigure[cow][width={.2\text

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-15 Thread Jeong Dal
k] >>> \page[empty,right] >>> \popbackground} >>> \stopsetups >>> >>> \setuphead >>> [chapter] >>> [page=yes, >>>before=\directsetup{chapter:before}] >>> >>> \starttext >>> >>&

Re: [NTG-context] MetaFun: how to check the number of arguments

2019-01-15 Thread Hans Hagen
\startfloatcombination[nx=3] \placefigure{Fnote1\footnote{Hello}}{\externalfigure[cow][width={.2\textwidth}]} \placefigure{Fnote2\footnote{small}}{\externalfigure[cow][width={.2\textwidth}]} \placefigure{Fnote3\footnote{world}}{\externalfigure[cow][width={.2\textwidth}]} \stopfloatcombination

[NTG-context] MetaFun: how to check the number of arguments

2019-01-14 Thread Jeong Dal
-- > > Message: 2 > Date: Sun, 13 Jan 2019 21:06:42 +0100 > From: Wolfgang Schuster > To: mailing list for ConTeXt users , Lars > > Subject: Re: [NTG-context] Footnotes in float combinations missing in > output > Message-ID: > Content-Type: text/pla

Re: [NTG-context] Footnotes in float combinations missing in output

2019-01-13 Thread Wolfgang Schuster
}}]     \startfloatcombination[nx=3] \placefigure{Fnote1\footnote{Hello}}{\externalfigure[cow][width={.2\textwidth}]} \placefigure{Fnote2\footnote{small}}{\externalfigure[cow][width={.2\textwidth}]} \placefigure{Fnote3\footnote{world}}{\externalfigure[cow][width={.2\textwidth

[NTG-context] Fwd: Footnotes in float combinations missing in output

2019-01-11 Thread cryo shock
rendered properly, i. e. only the last footnote is placed in the output. MWE: \starttext \startplacefigure[title={OuterCap\footnote{Outer footnote}}] \startfloatcombination[nx=3] \placefigure{Fnote1\footnote{Hello}}{\externalfigure[cow][width={.2\textwidth}]} \placefigure{Fnote2\footnote

[NTG-context] Footnotes in float combinations missing in output

2019-01-09 Thread Lars
] \placefigure{Fnote1\footnote{Hello}}{\externalfigure[cow][width={.2\textwidth}]} \placefigure{Fnote2\footnote{small}}{\externalfigure[cow][width={.2\textwidth}]} \placefigure{Fnote3\footnote{world}}{\externalfigure[cow][width={.2\textwidth}]}     \stopfloatcombination   \stopplacefigure \stoptext

Re: [NTG-context] Update problems

2019-01-07 Thread Weber, Matthias
far: Some of my old pdf > images are not accepted as figures anymore. > > Example: > > \starttext > \externalfigure[cardioid.pdf][width=1.5in]{Cardioid} > \stoptext > Using the following pdf which is version 1.4 > > > More recent PDFs (1.5)seem to wor

[NTG-context] Update problems

2019-01-07 Thread Weber, Matthias
Dear List, After a while I decided updating my ConTeXt installation to ConTeXt ver: 2019.01.07 10:07 MKIV beta fmt: 2019.1.7. With an old document of mine I ran into two issues so far: Some of my old pdf images are not accepted as figures anymore. Example: \starttext \externalfigure

[NTG-context] (no subject)

2019-01-03 Thread Lars
  \startplacefigure[     title={Caption},     location=left]     \externalfigure[logo--context][width=]   \stopplacefigure   \input tufte \stoptext Greetings, Lars. ___ If your question is of interest to others as well

Re: [NTG-context] Itemize lists run into floats - how to add additional spacing

2018-12-19 Thread Hans Hagen
[packed, autointro] \starttext \startitemize \startitem Foo \startplacefigure [title=Lorem ipsum dolor sit amet consectetur] \externalfigure [hacker] \stopplacefigure Bar \stopitem \dorecurse{15}{%% \startitem Foobar \stopitem } \stopitemize \stoptext

<    3   4   5   6   7   8   9   10   11   12   >