iki-page (for lmtx with externalfigure) doesn't
> work. Error is:
>
> tex error > tex error on line 1 in file
> virtual://buffer.svg-sin-inclusion.1: Undefined control sequence
>
> \font_basics_predefine #1#2->\font_basics_defined_font_yes
> [#2]
Hi
with the latest version of lmtx (upgraded a minute ago), the
gnuplot-example from the wiki-page (for lmtx with externalfigure) doesn't
work. Error is:
tex error > tex error on line 1 in file
virtual://buffer.svg-sin-inclusion.1: Undefined control sequence
\font_basics_predefine #
On Thu, 19 Nov 2020, Hans Hagen wrote:
> On 11/19/2020 8:12 AM, Aditya Mahajan wrote:
>
> > I use \externalfigure[filename.mp4] to include a video in a presentation. Is
> > it possible to autostart the video automatically when the page is loaded?
> Video (and audio) and ac
On 11/19/2020 8:12 AM, Aditya Mahajan wrote:
I use \externalfigure[filename.mp4] to include a video in a presentation. Is it
possible to autostart the video automatically when the page is loaded?
This works here:
\setupinteraction[state=start]
\starttext
\gotobox{\externalfigure[cow.pdf
On 11/19/2020 8:12 AM, Aditya Mahajan wrote:
I use \externalfigure[filename.mp4] to include a video in a presentation. Is it
possible to autostart the video automatically when the page is loaded?
Video (and audio) and acrobat ... any browser can play a video but it
seems too complex
Hi,
I use \externalfigure[filename.mp4] to include a video in a presentation. Is it
possible to autostart the video automatically when the page is loaded?
Thanks,
Aditya
___
If your question is of interest
]
[numberconversion=characters,
numberstopper=)]
\setuplabeltext
[subfigure=]
\definecounter
[subfigure]
[way=bytext]
\starttext
\startplacefigure [title=First, reference=first]
\startfloatcombination [nx=2, ny=1]
\startplacesubfigure
\externalfigure
\stopplacesubfigure
important
> beginfig (1);
> draw fullcircle scaled cm
> %withcolor black
> ;
> endfig;
> end
>
> so when you compile it via
>
> mpost nice.mp
>
> (obviously supposing you have Metapost installed) you'll get a file called
> nice.1 and
>
> \starttext
>
st installed) you'll get a file called
nice.1 and
\starttext
\externalfigure[nice.1][width=4cm]
\stoptext
will work. However, as you can see, ConTeXt deals with such minutiae for
you and extends Metapost capabilities too, so the second alternative is not
the ConTeXt way to go.
I hope it helps.
Dear List,
I'm trying to embed a metapost image into the document. According the MetaFun
manual <http://www.pragma-ade.com/general/manuals/metafun-p.pdf>,
"embedding such a graphic is done by:
\externalfigure[graphic.123][width=4cm]", but the following example
produc
are available (when to delete
dirlist.* files), as described in workflows-mkiv.pdf.
Looks like the cache parameter in \externalfigure is used only if some
conversion is going on.
I could create a conversion which does nothing or only envelopes JPG in PDF
as .jpg.pdf (loading could be faster
Hello Hraban!
On Sat, 31 Oct 2020 at 17:56, Henning Hraban Ramm wrote:
> Hi,
> I‘m despairing about my index – some sections contain only an image
> (\externalfigure), but I need to set several index entries for the image
> contents.
> The index entries get postponed until
Hi,
> I‘m despairing about my index – some sections contain only an image
> (\externalfigure), but I need to set several index entries for the image
> contents.
> The index entries get postponed until after the next chapter.
> I guess the problem is that there’s no (text) cont
Hi,
I‘m despairing about my index – some sections contain only an image
(\externalfigure), but I need to set several index entries for the image
contents.
The index entries get postponed until after the next chapter.
I guess the problem is that there’s no (text) content, but \par and \strut
> Hans) but for gnuplot there is a new module by Hans which uses
> \externalfigure to load the graphic.
>
> https://www.mail-archive.com/ntg-context@ntg.nl/msg93713.html
>
> Wolfgang
>
>
___
I
) but for gnuplot there is a new module by Hans which uses
\externalfigure to load the graphic.
https://www.mail-archive.com/ntg-context@ntg.nl/msg93713.html
Wolfgang
___
If your question is of interest to others
efigure[location={left,none}]
> \externalfigure[dummy][width=3em]
> \stopplacefigure
>
> \dorecurse {4} {
> \samplefile{ward}\par
> }
> }
> \stoppagecolumns
>
> \stoptext
>
> don't tell Hraban
I promise. ;-)
I can't test it thorou
}]
\externalfigure[dummy][width=3em]
using width=13em gives funny output ...
Herbert
\stopplacefigure
\dorecurse {4} {
\samplefile{ward}\par
}
}
\stoppagecolumns
\stoptext
On 10/14/2020 6:58 PM, Jan U. Hasecke wrote:
Hi,
how can I get a graphic that floats left or right from the text in
columns or columnsets?
\starttext
\startcolumns[2]
\placefigure[left, high, none]{}
{\externalfigure[dummy][width=3em]}
\input ward
\input ward
\stopcolumns
Hi,
how can I get a graphic that floats left or right from the text in
columns or columnsets?
\starttext
\startcolumns[2]
\placefigure[left, high, none]{}
{\externalfigure[dummy][width=3em]}
\input ward
\input ward
\stopcolumns
\blank
\placefigure[left, high, none
ateinserts % nop in LMTX
\showframe
\setupcaptions[
headstyle={\ss\bfx},
align={flushleft,high},
prefixsegments=none,
location={bottom,low},
hang=yes,
]
\setupfootnotes[
width=\textwidth,
]
\starttext
\startplacefigure[location=page,title={\fakewords{5}{7}\footnote{\fakewords{20}{30}}}]%
dorecurse{\noffigurepages}
>{\vbox to \paperheight
>
> {\vskip-\dimexpr\headerheight+\headerdistance+\topspace\relax
> \hbox to \hsize
> {\hskip-\backspace
> \layeredtext[]
> [boffset=3pc]
>
[boffset=3pc]
{\red\userpagenumber}
{\externalfigure[HannahBW.pdf][page=#1]}%
\hss}%
\vss}\page
}
where the extra \page command allows ConTeXt to properly process the page
breaks.
Be
[]
[boffset=3pc]
{\red\userpagenumber}
{\externalfigure[HannahBW.pdf][page=#1]}%
\hss}%
\vss}
}
\dorecurse{\noffigurepages}
{\vbox to \paperheight
{\vskip-\dimexpr\headerheight+\headerdistance+\topspace\relax
\hbox to \hsize
{\hskip-\backspace
\layeredtext
]
\layeredtext[]
[boffset=3pc, roffset=3pc]
{\darkmagenta\subpagenumber}
{\externalfigure[HannahBW.pdf][page=#1]}
\stopTEXpage
}
\stoptext
which works, though it would arguably be better if there is a way to
prevent the subpage number on the first page of every included file.
Alan
On Fri, Sep 25
> On 27 Sep 2020, at 11:42, Henning Hraban Ramm wrote:
>
> Hi,
> I’m struggling with scaling images:
>
> \externalfigure[hacker][width=0.5\textwidth]
>
> looks right.
>
>
> If I use the scale / xscale / yscale options, the image gets smaller,
> regar
Hi,
I’m struggling with scaling images:
\externalfigure[hacker][width=0.5\textwidth]
looks right.
If I use the scale / xscale / yscale options, the image gets smaller,
regardless of height/width settings, i.e. with
\externalfigure[hacker][width=0.5\textwidth,yscale=500,xscale=1000
/context-blog/post/include-multi-page-pdf/
When both document have the same size you can replace TeXpage with a "page"
layout.
\startlayout[page]
\dorecurse{\noffigurepages}{\externalfigure[...][page=\recurselevel]}
\stoplayout
Thanks for the comment (also I didn't know about \s
ttps://adityam.github.io/context-blog/post/include-multi-page-pdf/
>
> When both document have the same size you can replace TeXpage with a "page"
> layout.
>
> \startlayout[page]
> \dorecurse{\noffigurepages}{\externalfigure[...][page=\recurselevel]}
> \stoplayout
Tha
[location=default]
\starttext
...
\page
\getfiguredimensions[texit.pdf]
\noheaderandfooterlines
\dorecurse{\noffigurepages}
{\vbox to \vsize
{\vskip-\dimexpr\headerheight+\topspace\relax
\hbox to \hsize
{\hskip-\backspace
\externalfigure[texit.pdf][page=\recurselevel
side of the
current page.
But at least there is a command to typeset a caption standalone, so perhaps
that will help? You would then *not* use the \startplacebigfigure, but place
the caption and the image manually:
\page
\placefloatcaption[bigfigure][title={A cow}]
\page
\externalfigure[cow
\starttext
\showframe
\dorecurse{2}{\input{knuth}}
\setuppapersize[rotate] % this doesn't work because is in same page
\startplacebigfigure[title={A cow}]{\externalfigure[cow]}\stopplacebigfigure
\setuppapersize[default]
\dorecurse{2}{\input{knuth}}
\stoptext
mbination
%\startplacefigure[location=none]
%\startfloatcombination[2*1]
\startplacefigure[title={\fakewords{5}{10}\footnote[f:1]{\fakewords{10}{30}}}]
\externalfigure[001][width=.34\textwidth]
\stopplacefigure
\startplacefigure[title={\fakewords{5}{10}\footnote[f:2]{\fakewords{10}{30}}}]
\externalfigure
tnotes, but no combination
%\startplacefigure[location=none]
%\startfloatcombination[2*1]
\startplacefigure[title={1 Image with footnote\footnote[f:1]{\input lorem }}]
\externalfigure[001][width=.34\textwidth]
\stopplacefigure
\startplacefigure[title={2 Another image with footnote\footno
>> \starttext
>> \input lorem
>> \startplacefigure[location=none]
>> \startfloatcombination[2*1]
>> \startplacefigure[title={Left Image\footnote[f:3]{\input knuth }}]
>> \externalfigure[003][width=.48\textwidth]
>> \stopplacefigure
>> \startplacefigure[title={Rig
nothing in lmtx
\showframe
\starttext
\input lorem
\startplacefigure[location=none]
\startfloatcombination[2*1]
\startplacefigure[title={Left Image\footnote[f:3]{\input knuth }}]
\externalfigure[003][width=.48\textwidth]
\stopplacefigure
\startplacefigure[title={Right Image\footnote[f:4
=\stopquotation]
\starttext
%\fakewords{50}{60}
\startplacefigure[location={right,-line},title={\fakewords{7}{10}}]
\externalfigure[022][width=0.33\textwidth,height=0.75\textheight]
\stopplacefigure
\startZitat
\fakewords{30}{60}
\stopZitat
\fakewords{30}{60}
\startZitat
\fakewords{15}{20
.
\useMPlibrary[dum]
\automigrateinserts
\showframe
\starttext
\input lorem
\startplacefigure[location=none]
\startfloatcombination[2*1]
\startplacefigure[title={Left Image\footnote[f:3]{\input knuth }}]
\externalfigure[003][width=.48\textwidth]
\stopplacefigure
\startplacefigure[title={Right Image
}}]
\externalfigure[001][width=.48\textwidth]
\stopplacefigure
\startplacefigure[title={Another image with footnote\footnote[f:2]{Something}}]
\externalfigure[002][width=.48\textwidth]
\stopplacefigure
%\stopfloatcombination
%\stopplacefigure
\input lorem
\startplacefigure[location=none
,grid=yes]
\showframe
\usemodule[newcolumnsets]
\definecolumnset[colset][n=2]
\starttext
\startcolumnset[colset]
\section{One section}
\dorecurse{16}{\input ward \par}
\placefigure[page]{Legend. \input ward
}{\externalfigure[dummy][width=\makeupwidth,height=15cm]}
\section{Two section
at the
bottom of the page? I hope what I ask makes sense.
/Mikael
\useMPlibrary[dum]
\definefloat[bottomfigure][bottomfigures][figure]
\setupfloat[bottomfigure][default=bottom]
\starttext
\dorecurse{4}{\samplefile{knuth}}
\startplacebottomfigure
\externalfigure[dummy][width=\textwidth
\startsectionblockenvironment [backpart] \setuppagenumber[state=stop] \stopsectionblockenvironment \stopenvironment end environment begin component\startcomponent fm-frontpage \product product \startstandardmakeup [top=,pagestate=start,align=middle,color=Modu_Blue] % \dontleavehmode\extern
]
\stopsectionblockenvironment
\stopenvironment
end environment
begin component
\startcomponent fm-frontpage
\product product
\startstandardmakeup [top=,pagestate=start,align=middle,color=Modu_Blue]
% \dontleavehmode\externalfigure[frontpage-logo.png][width=12cm]
\framed
[height=5cm,width=broad
umbers]\definestructureconversionset [appendix:pagenumber] [][numbers]= The fm-frontpage.tex file\startcomponent currentcomponent \product product % Front page layout\startstandardmakeup % Place logo centered on page\framed[height=5cm,width=broad,frame=off]{\external
]
\definestructureconversionset
[appendix:pagenumber] [][numbers]
=
*The fm-frontpage.tex file*
\startcomponent currentcomponent
\product product
% Front page layout
\startstandardmakeup
% Place logo centered on page
\framed[height=5cm,width=broad,frame=off]
{\externalfigure
\startcomponent currentcomponent \product product % Front page layout\startstandardmakeup % Place logo centered on page \framed[height=5cm,width=broad,frame=off] {\externalfigure[frontpage-logo.png][width=12cm]} % Place course titles\blank[6*big]\color[Modu_Blue]{\midaligned{\bfc \MyManual
On Wed, Sep 2, 2020 at 4:36 PM Hans Hagen wrote:
> On 9/2/2020 3:35 PM, Christoph Reller wrote:
> > Dear List,
> >
> > I am using ConTeXt LMTX 2020.08.31 22:16. Consider the following MWE:
> >
> >\starttext
> >\externalfigure[resolutionTest.png]
On 9/2/2020 3:35 PM, Christoph Reller wrote:
Dear List,
I am using ConTeXt LMTX 2020.08.31 22:16. Consider the following MWE:
\starttext
\externalfigure[resolutionTest.png]
\stoptext
When comparing the output with ConTeXt MKIV, then the image size is
extremely small. gimp reports
Dear List,
I am using ConTeXt LMTX 2020.08.31 22:16. Consider the following MWE:
\starttext
\externalfigure[resolutionTest.png]
\stoptext
When comparing the output with ConTeXt MKIV, then the image size is
extremely small. gimp reports the resolution of resolutionTest.png as
71.984 DPI
ption[figure][state=stop,numberstopper={\convertedcounter[subfigure]}]}
>
> \def\unsetsubfigures
> {\setupcaption[figure][state=start,numberstopper=]}
>
> %usage
> \setsubfigures
>
> \startplacefigure[title=Test figure]
> \externalfigure[dummy]
> \stopplacefigur
r=]}
%usage
\setsubfigures
\startplacefigure[title=Test figure]
\externalfigure[dummy]
\stopplacefigure
\incrementnumber[subfigure]
\startplacefigure[title=Test another figure]
\externalfigure[dummy]
\stopplacefigure
\unsetsubfigures
I could not find a safe way to increment the subfigure number automatic
Hi,
If there are a few special numberings of floats, and one wants floats numbered
1.6a and 1.6b, the following seems to work:
Best regards: Otared
%%% begin ownnumber-in-floats.tex
\useMPlibrary[dum]
\starttext
\startsection[title=One]
\startplacefigure[title=Test]
\externalfigure[dummy
um]
\starttext
\startsection[title=One]
\startplacefigure[title=Test]
\externalfigure[dummy]
\stopplacefigure
\stopsection
\startsection[title=Two]
\startplacefigure[title=Test]
\externalfigure[dummy]
\stopplacefigure
\stopsection
\setcounter[figure][5] % next figure is no.6
\startsection[ownnumbe
r the same (according to the
source they’re synonymous) – does section use a different counter name or is it
no counter at all?
\setnumber[figure][10] works (but only with integers, not some alphanumerical
stuff, sorry Duncan).
Hraban
\useMPlibrary[dum]
\starttext
\startsection[title=One]
\st
?
\externalfigure[#1][#2][#3]% or
\externalfigure[#1][#2,\c!display=,\c!mask=,\c!object=\v!no]%
\stopnointerference}
I guess this is not intentional and was left over at some point. Could
you please fix this?
Cheers,
Henri
lohi},columndistance=0em]
\startxrow
\startxcell
\dontleavehmode
\externalfigure[cow.pdf]
[scale=500]
\stopxcell
\stopxrow
\stopxtable
\stoptext
> But why that is? I do not have any other good ideas. And
> unfortunately lots of diffe
figures with captions included
>> in the usual numbering of figures and not one number & caption for the
>> combination.
>> How can I achieve this?
>
> Use a float combination:
>
> \startplacefigure[location=none]
>\startfloatcombination[2*1]
>\s
tion for the combination.
How can I achieve this?
Use a float combination:
\useMPlibrary[dum]
\starttext
\input ward
\startplacefigure[title={Dummy}]
\externalfigure[dummy]
\stopplacefigure
\input jojomayer
\startplacefigure[location=none]
\startfloatcombination[2*1]
\startplacefigure[title={
t this moment I have:
>>>
>>> \startsetups endsection
>>> \vfil
>>> \placefigure[middle,none][]{}{\externalfigure[ornament2][height=2\lineheight]}
>>> \stopsection
>>> \stopsetups
>>>
>>> \def\stopmysection{\setups{endsection}}
>>>
;>
>> Hi, Hans
>>
>> I'm on a linux64 machine, and there is indeed a mtx-fonts.lua file:
>>
>> ~/context/tex/texmf-context/scripts/context/lua/mtx-fonts.lua
>>
>> Am I missing something?
>
> Refresh the database:
>
> luatools --gene
have:
\startsetups endsection
\vfil
\placefigure[middle,none][]{}{\externalfigure[ornament2][height=2\lineheight]}
\stopsection
\stopsetups
\def\stopmysection{\setups{endsection}}
I use then instead of \stopsection the \stopmysection. This works except that
the ornament is in some cases
t I have:
>
> \startsetups endsection
> \vfil
>
> \placefigure[middle,none][]{}{\externalfigure[ornament2][height=2\lineheight]}
> \stopsection
> \stopsetups
>
> \def\stopmysection{\setups{endsection}}
>
> I use then instead of \stopsection the \stopmysection. Th
Good evening!
I have a bookproject in which sections are ended with a small graphical
element. Now as usual this graphic might be moved to a new page which is of
course unwanted.
At this moment I have:
\startsetups endsection
\vfil
\placefigure[middle,none][]{}{\externalfigure[ornament2
On 7/28/2020 10:58 AM, Fabrice Couvreur wrote:
Hi Hans,
I updated the version of lmtx and wanted to test the following code
\useMPlibrary[dum]
\starttext
\placefigure[right]{}{\externalfigure[dummy]}
\input ward\par
\placefigure[right]{}{\externalfigure[dummy]}
{\bf \input ward} \par
add
Hi Hans,
I updated the version of lmtx and wanted to test the following code
\useMPlibrary[dum]
\starttext
\placefigure[right]{}{\externalfigure[dummy]}
\input ward\par
\placefigure[right]{}{\externalfigure[dummy]}
{\bf \input ward} \par
\stoptext
This returns the error message
runtime error
ent
• \em, \bf, \cap,
• \startitemize, \startitem, \starthead,
• \placefigure, \externalfigure,
• \placetable, \starttable,\starttabulate, \setupTABLE, \bTABLE
• \index, \completeindex
• \setuplayout, \setupfootertexts et \setupheadertexts
• \definedescription, \defineenumeration
• \at, \in
Anyway, t
,
frame=off,
location=always,
]
\showframe
\starttext
\starttextbackground[fondpaille]
\startplacefigure[number=no,location=right]
\externalfigure[dummy]
\stopplacefigure
\startitemize[n]
\dorecurse{3}{\startitem \input ward
tbackground[fondpaille]
> [background=color,
> backgroundcolor=fondpaille,
> frame=off,
> location=always]
>
> \starttext
>
> \starttextbackground[fondpaille]
> \startplacefigure[number=no,location=right]
> \externalfigure[dummy]
&
gt; \starttext
>
> \starttextbackground[fondpaille]
> \startplacefigure[number=no,location=right]
> \externalfigure[dummy]
> \stopplacefigure
> \startitemize[n]
> \dorecurse{3}{\startitem \input ward \stopitem}
> \s
\starttextbackground[fondpaille]
\startplacefigure[number=no,location=right]
\externalfigure[dummy]
\stopplacefigure
\startitemize[n]
\dorecurse{3}{\startitem \input ward \stopitem}
\stopitemize
\stoptextbackground
\stoptext
Best regards
,background=color,backgroundcolor=fondpaille]
\placefloat[][right,none]{}
{\externalfigure[dummy]}
\startitemize[n]
\dorecurse{3}{\startitem \input ward \stopitem}
\stopitemize
\stopframedtext
\stoptext
Side floats don't work in frames, use the textbackground
]
\placefloat[][right,none]{}
{\externalfigure[dummy]}
\startitemize[n]
\dorecurse{3}{\startitem \input ward \stopitem}
\stopitemize
\stopframedtext
\stoptext
___
If your question is of interest
code: 256
> >
> > Does the gnuplot module need adjustments?
> No, i messed up something ... will be fixed tomorrow
>
> Do you have lmtx installed? It has nicer gnuplot support:
>
> m-gnuplot-demo.gp :
>
> -
e lmtx installed? It has nicer gnuplot support:
m-gnuplot-demo.gp :
set format xy "$%g$"
set title 'This is a plot of $y=\\sin(x)$'
set xlabel 'This is the $x$ axis'
set ylabel 'This is the $y$ axis'
plot [0:6.28] [0:1] sin(x)
------
precisely: I thought that \placetable is special case (specialization)
of \placefloat), I'm a bit surprised that \placefloat[none] keeps caption
whilst \placetable[none] supresses it. See the sample:
\setupexternalfigures[location=default]
\starttext
\placetable[force,none]{}{\external
ecial case (specialization)
of \placefloat), I'm a bit surprised that \placefloat[none] keeps caption
whilst \placetable[none] supresses it. See the sample:
\setupexternalfigures[location=default]
\starttext
\placetable[force,none]{}{\externalfigure[cow]} % [1]
\placefloat[
float[none] keeps caption
whilst \placetable[none] supresses it. See the sample:
\setupexternalfigures[location=default]
\starttext
\placetable[force,none]{}{\externalfigure[cow]} % [1]
\placefloat[force,none]{}{\externalfigure[cow]}
\stoptext
(I'm aware that I'm placing \exte
t;> but would like to have some single images defined by height and proportional
>> width, like
>>
>> \externalfigure[dummy][width=auto,height=.5\textheight]
>>
>> but height and width only take dimensions.
>>
>> Can you give me a hint?
>
> N
Henning Hraban Ramm schrieb am 06.07.2020 um 21:03:
Hi,
for collecting a lot of images into a booklet I set
\setupexternalfigures[width=\textwidth,maxheight=\textheight]
but would like to have some single images defined by height and proportional
width, like
\externalfigure[dummy][width=auto
Hi,
for collecting a lot of images into a booklet I set
\setupexternalfigures[width=\textwidth,maxheight=\textheight]
but would like to have some single images defined by height and proportional
width, like
\externalfigure[dummy][width=auto,height=.5\textheight]
but height and width only take
t=0pt,width=max,frame=off]
> \getinlineuserdata
> \stopframedtext}
> \stopsetups
>
> \showframe
> \starttext
> \startuserdata[margintext]
> {\bf Remarque — }\input ward
> \stopuserdata
> \startuserdata[margintext]
> \externalfigure[dummy][width=\rightma
\stopframedtext}
\stopsetups
\showframe
\starttext
\startuserdata[margintext]
{\bf Remarque — }\input ward
\stopuserdata
\startuserdata[margintext]
\externalfigure[dummy][width=\rightmarginwidth]
\stopuserdata
\startchapter[title=First chapter]
\dorecurse{2}{\input knuth}
\stopchapter
\stoptext
> On 6
ward
> \stopuserdata
> \marginfigure{\externalfigure[dummy][width=\rightmarginwidth,location=high]}
\marginfigure{\externalfigure[dummy][width=\rightmarginwidth,location=top]}
> \startuserdata[margintext]
> \input ward
> \stopuserdata
> \marginfigure{\externalfigure[dummy
Hi Marco,
Thanks, it works but only for a comment and a picture. Indeed, if I add a
comment and an image, the first image is placed on the second comment.
Fabrice
\starttext
\startuserdata[margintext]
\input ward
\stopuserdata
\marginfigure{\externalfigure[dummy][width=\rightmarginwidth,location
align={flushleft,broad}]
> {{\bf Remarque — }\getinlineuserdata}
> \stopsetups
> \marginfigure{\externalfigure[dummy][width=\rightmarginwidth]}
\marginfigure{\externalfigure[dummy][width=\rightmarginwidth,location=high]}
Marco
___
={\switchtobodyfont[9pt]},
width=\rightmarginwidth,
align={flushleft,broad}]
{{\bf Remarque — }\getinlineuserdata}
\stopsetups
\showframe
\starttext
\startuserdata[margintext]
\input ward
\stopuserdata
\marginfigure{\externalfigure[dummy][width=\rightmarginwidth]}
\startchapter[title=First chapter
gefrac{}{\displaystyle\gefrac{#1+}{}#2}%
> >}%
> > }
> > \def\cofracnorule#1#2{%
> > {%
> > \rlap{\gefrac{\displaystyle\phantom{1}}{\displaystyle\phantom{#1}}}%
> > \gefrac{}{\displaystyle\gefrac{#1}{}#2}%
> > }%
> > }
> > \def\endfrac#1{\cofr
}}{\displaystyle\phantom{#1}}}%
\gefrac{}{\displaystyle\gefrac{#1}{}#2}%
}%
}
\def\endfrac#1{\cofracnorule{#1}{\phantom{1}}}
\startTEXpage
\startplacefigure[location=force,number=no]
\externalfigure[cofrac.png]
\stopplacefigure
\startformula
\alpha +
\cofrac{\alpha'}{\cofrac{\alpha''}{\cofrac{\alpha
}}{\displaystyle\phantom{#1}}}%
\gefrac{}{\displaystyle\gefrac{#1}{}#2}%
}%
}
\def\endfrac#1{\cofracnorule{#1}{\phantom{1}}}
\startTEXpage
\startplacefigure[location=force,number=no]
\externalfigure[cofrac.png]
\stopplacefigure
\startformula
\alpha +
\cofrac{\alpha'}{\cofrac
state=stop]
\definelayer[BG][
x=0mm,y=0mm,
width=\LWidth,height=\LHeight,
state=repeat]
\setupbackgrounds[page][background=BG,]
\setlayerframed[BG][
frame=on,
framecolor=yellow,
width=\LWidth,height=\LHeight,
align=flushleft,
]{\strut}
\setlayer[BG][
preset=rightbottom,
hoffse
On 6/25/2020 12:00 AM, Sytse Knypstra wrote:
Today I discovered that my LMTX version (2020.06.20) does not render an
\externalfigure with .jpeg extension. After renaming to .jpg the picture
is correctly shown. I would suggest to add the .jpeg extension to the
list of allowed graphic types
Today I discovered that my LMTX version (2020.06.20) does not render an
\externalfigure with .jpeg extension. After renaming to .jpg the picture
is correctly shown. I would suggest to add the .jpeg extension to the
list of allowed graphic types in LMTX.
With greetings,
Sytse Knypstra
]
pdf("RPlots/MyHistogram.pdf",5,5)
X <- rnorm(200,mean=10,sd=2)
hist(X, col = "red3" , xlab="Score QI" , main="", ylab="fréquence")
\stopR
\externalfigure[RPlots/MyHistogram.pdf][width=.5\textwidth]
\stoptext
Thanks so much for yo
utputfile},
> output=\externalfilterbasefile.out,
> directory=output,
> readcommand=\ShowOutput,
> read=no,
> cache=yes,
> purge=yes, % THE COMMA WAS MISSING
> ]
>
> \starttext
>
> Some text...
>
> \startR[read=yes]
> pdf(&
]
\starttext
Some text...
\startR[read=yes]
pdf("RPlots/MyHistogram.pdf",5,5)
X <- rnorm(200,mean=10,sd=2)
hist(X, col = "red3" , xlab="Score QI" , main="", ylab="fr
>>>", "RUNNING R CMD")
os.execute("R CMD BATCH --no-timing --save --restore output/code.r
output/out")
\stopluacode
\externalfigure[RPlots/MyHistogram.pdf][width=.5\textwidth]
\stoptext
Aditya___
t;Score QI" , main="", ylab="fréquence")
\stopR
\externalfigure[RPlots/MyHistogram.pdf][width=.5\textwidth]
\stoptext
3) Finally, using "R CMD BATCH… » as the filtercommand add an extra line at the
end of the output file which can be typeset to visualize resu
ot; , main="", ylab="fréquence")\stopR\externalfigure[MyHistogram.pdf][width=.5\textwidth] \stoptext% —Sorry for the three questions… and thanks for any help.Fabrice.
MyHistogram.pdf
Description: Adobe PDF document
__
=\select{language}{English float title}{Dutch
float title}]
\externalfigure[dummy]
\stopplacefigure
\stoptext
Finally in the attached PDF below, I noticed that a double space appears
depending on the position of the text and curly bracket. Is this intended?
Yes because you add spaces
]
\defineexternalfigure[dummy]
\starttext
\startplacefigure[location=left,number=no,title={}]
\externalfigure[dummy][width=.45\textwidth]
\stopplacefigure
\dontleavehmode % if this is commented out then the text and the
figure are placed on top of each other
\startframedtext[frame=off]
\input
501 - 600 of 3788 matches
Mail list logo