[NTG-context] Suggestions and problems of the manuals

2024-01-17 Thread Gerion Entrup
rmation. 362 Here are some differences in rendering. In \OPENTYPE\ the super- and subscript of 363 an integral are moved right and left half of the italic correction. 364 365 \startlinecorrection 366 \startcombination[6*1]

[NTG-context] Asking help for better way to make tickets.

2024-01-12 Thread Jeong Dal via ntg-context
;), .75A + .25B);\stopuseMPgraphic\starttext\dorecurse{4}{\startcombination[3*1]%distance=0mm]{\useMPgraphic{ticket}{i=\recurselevel,j=2}}{}{\useMPgraphic{ticket}{i=\recurselevel,j=1}}{}{\useMPgraphic{ticket}{i=\recurselevel,j=0}}{}\stopcombination\startcombination[3*1]%distance=0mm]{\useMPg

[NTG-context] Re: Large unwanted white space

2023-10-22 Thread Fabrice Couvreur
n: > > drawdot(0,i*u) shifted(t*u,0) withcolor \MPcolor{blue}; > >endfor > >endgroup > >enddef; > > \stopMPcode > > __ %horizontal > line > > % big unwanted w

[NTG-context] Re: Large unwanted white space

2023-10-21 Thread Hans Hagen
% big unwanted white space \starttext % \startex First exercise \startlinecorrection[blank] \startmidaligned \startcombination[1*2] {\startMPcode Suite(2,0); cross(1,1); Suite(4,4); cross(2,6

[NTG-context] Large unwanted white space

2023-10-21 Thread Fabrice Couvreur
\startcombination[1*2] {\startMPcode Suite(2,0); cross(1,1); Suite(4,4); cross(2,6); Suite(6,10); cross(3,13); \stopMPcode }{\tfx \bf Suite 1} {\startMPcode suite

[NTG-context] Re: [ odd spacing ]

2023-08-15 Thread Hans Hagen via ntg-context
. There is probably a reason for this to happen, but how to avoid it ? .Floris [MWE] \starttext \startTEXpage[offset=10mm, pagestate=start] \startcombination[nx=3, ny=5] \startcontent\externalfigure[p1-4_4-01-56-25-015.png][height=.2\textwidth,width=.2\textwidth]\stopcontent \startcontent\externalfigure[p1

[NTG-context] [ odd spacing ]

2023-08-15 Thread vm via ntg-context
Placing identical images in a n x m grid shows extra space every two rows. Also the vertical and horizontal spaces are different. There is probably a reason for this to happen, but how to avoid it ? .Floris [MWE] \starttext \startTEXpage[offset=10mm, pagestate=start] \startcombination[nx

[NTG-context] Re: new upload

2023-07-10 Thread Hans Hagen
} \dorecurse{4}{\samplefile{tufte}\par} } \stoptext \stopbuffer \startplacefigure[location=here,reference=fig:vz-1,title={Cheating with vertical expansion: \type {[vz=no]}.}] \startcombination[4*1] {\typesetbuffer[vz-1][width=\combinationwidth,page=1,frame=on]} {} {\typesetbuffer[vz-1

Re: [NTG-context] new version

2023-06-23 Thread Marcus Vinicius Mesquita via ntg-context
? > No, it's an independent feature of the linebreak mechanism. You can run > this and see how it kicks in > > \starttext > > \definecolor[ttest][a=1,t=.5] > \definecolor[rtest][a=1,t=.5,r=1] > > \dostepwiserecurse{80}{120}{1}{ > \startTEXpage[of

Re: [NTG-context] new version

2023-06-23 Thread Hans Hagen via ntg-context
] \definecolor[rtest][a=1,t=.5,r=1] \dostepwiserecurse{80}{120}{1}{ \startTEXpage[offset=1ts] \startcombination[1*3] {\startoverlay {\vtop{\showmakeup[space]\hsize #1mm\ttest \samplefile{tufte}}} {\vtop{\showmakeup[space]\hsize #1mm\rtest

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-17 Thread Keith McKay via ntg-context
]{{\startcombination[nx=3,ny=1,distance=15mm] {\externalfigure[cow][width=15mm]}{} \rotate[rotation=90]{\externalfigure[cow][width=15mm]}{} {\externalfigure[cow][width=15mm]}{} \stopcombination}} \null \stoptext BTW, A4 portrait is the default page size

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-17 Thread Keith McKay via ntg-context
, ] \setuppagenumbering[state=start,alternative=doublesided,location=margin] \useMPlibrary [dum] \starttext %%% Me %%% \showframe [text] [text] \definelayer[test3] \setlayer[test3][] \centerbox{ {\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle] {\externalfigure[dummy

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Keith McKay via ntg-context
gt; > > > > [backspace=2.5cm, > > > > > > topspace=1cm, > > > > > > height=28cm, > > > > > > width=17cm, > > > > > > header=0cm, > > > > > > footer=0.75cm, > > > > > > ] &

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Alan Braslau via ntg-context
> > [backspace=2.5cm, > > > > topspace=1cm, > > > > height=28cm, > > > > width=17cm, > > > > header=0cm, > > > > footer=0.75cm, > > > > ] > > > > \useMPlibrary [dum] > > > > \start

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Pablo Rodriguez via ntg-context
grounds[page] \setupbackgrounds[text] [background=test3] \starttext \setlayer[test3][location={middle}] \framed[offset=overlay]{{\startcombination[nx=3,ny=1,distance=15mm] {\externalfigure[cow][width=15mm]}{} \rotate[rotation=90]{\externalfigure[cow

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Wolfgang Schuster via ntg-context
, height=28cm, width=17cm, header=0cm, footer=0.75cm, ] \useMPlibrary [dum] \starttext \definelayer[test3] \setlayer[test3][x=2cm,y=15cm] {\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle] {\externalfigure[dummy]}{} \rotate[rotation=90]{\externalfigure[dummy

[NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Keith McKay via ntg-context
, ] \useMPlibrary [dum] \starttext \definelayer[test3] \setlayer[test3][x=2cm,y=15cm] {\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle] {\externalfigure[dummy]}{} \rotate[rotation=90]{\externalfigure[dummy]}{} {\externalfigure[dummy][]}{} \stopcombination} \flushlayer[test3

Re: [NTG-context] MP figure continuation

2023-01-06 Thread Mikael Sundqvist via ntg-context
\startuseMPgraphic{vanderwaerden012} \includeMPgraphic{vanderwaerdenbas} draw function(1,"x","vdw(2,x)+vdw(1,x)+vdw(0,x)",epsed(-1),epsed(1),1/1000) scaled u ; \stopuseMPgraphic \startuseMPgraphic{vanderwaerden0123} \includeMPgraphic{vanderwaerdenbas} draw function(1,&qu

Re: [NTG-context] Why are my captions overlapping next text in combinations?

2022-11-26 Thread Wolfgang Schuster via ntg-context
Joel via ntg-context schrieb am 25.11.2022 um 23:25: I have some combinations used throughout my document like this: \starttext \startcombination[4*2]             {%  \framed[width=.25\textwidth, height=.25\textwidth]{}%  }{%                 \strut word \\ \thinrule\hairline\hairline

[NTG-context] Why are my captions overlapping next text in combinations?

2022-11-25 Thread Joel via ntg-context
I have some combinations used throughout my document like this: \starttext   \startcombination[4*2]            {%                 \framed[width=.25\textwidth, height=.25\textwidth]{}%             }{%                 \strut word \\ \thinrule\hairline\hairline

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

2022-11-13 Thread Fabrice Couvreur via ntg-context
umettes comme ci-après . En poursuivant ainsi, on obtient des pyramides à autant d'étages que l'on souhaite à condition, bien sûr, d'avoir assez d'allumettes. \startlinecorrection[blank] \startmidaligned \startcombination[3*1] {\externalfigure[pyramide_1.pdf]}{\tf

[NTG-context] Write a long chapter title in two lines

2022-08-18 Thread Jeong Dal via ntg-context
le, style=\BigFontOne, numbercommand=\outlineTitle, % align = middle, number=yes] \setupexternalfigures[location={default,local,global}] %\definefont[fancy][Zapfino at 24pt] \starttext \startchapter[title={Very Long Long Long Title}] \startcombination[3*1] {\externalfigure[cow] [combina

[NTG-context] Write a long chapter title in two lines

2022-08-15 Thread Jeong Dal via ntg-context
Long Long Title}] \startcombination[3*1] {\externalfigure[cow] [combination]}{cow} {\externalfigure[mill] [combination]}{mill} {\externalfigure[hacker][combination]}{hacker} \stopcombination \stopchapter \stoptext > On Aug 15, 2022, at 7:42 PM, Pablo Rodriguez via ntg-context > wrote

[NTG-context] TIL: figure combinations

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

Re: [NTG-context] upload

2022-07-09 Thread Hans Hagen via ntg-context
] \setupbodyfont[modern] \setuppapersize[A5] \setuplayout[tight] \setupmathematics[threshold=big] \dorecurse {950} { test $\darkblue \showboxes x + #1$ test $\darkred \showboxes x + #1 + z$ } \stopbuffer \starttext \dorecurse {10} { \startcombination[2

Re: [NTG-context] dorecurse within combination

2022-07-07 Thread Wolfgang Schuster via ntg-context
based alternative. \starttext \startcollecting % \startcollect \startcombination[3*1] \stopcollect % \dorecurse{3}   {\startcollect    {\externalfigure[dummy]}{}    \stopcollect} % \startcollect \stopcombination \stopcollect % \stopcollecting \stoptext Wolfgang

[NTG-context] dorecurse within combination

2022-07-07 Thread Henning Hraban Ramm via ntg-context
Hi, I’d like to place pages from a multipage PDF in a combination: \startcombination[3*1] \dorecurse{3}{% {\externalfigure[multipage][width=\textwidth/3,page=\recurselevel]}{} } \stopcombination That doesn’t work, because ConTeXt expects a { after \startcombination. (“A left brace

[NTG-context] Space before/after combinations + centring

2021-11-17 Thread Marco Patzer via ntg-context
: \unprotect \unexpanded\def\startcombination {\blank[halfline]%% \startalignment[middle]%% \dontleavehmode \bgroup \pack_combinations_push \dodoubleempty\pack_combinations_start} \unexpanded\def\stopcombination {\bgroup\normalexpanded{\egroup{}\ntimes{{}{}}\c_pack_combinations_y}% brr

Re: [NTG-context] vertical align in combination

2021-10-22 Thread Pablo Rodriguez via ntg-context
rnalfigure[location=default] >\startcombination[nx=3, ny=2, location={middle}] >{\externalfigure[mill.png][width=.25\textwidth]} {} Many thanks for your fast reply and your help, Hans. Pablo -- http://www.ousia.tk ___

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] new upload

2021-06-01 Thread Hans Hagen
correction prevention, as shown in: \starttext \startTEXpage[offset=10pt] \showglyphs \startcombination[nx=3,ny=1] \startcontent \framed[strut=no,align=normal,offset=1ex]\bgroup \showmakeup[math,kern]% $a = b + c$\par $b = c + d$\par $c = e

Re: [NTG-context] combinations

2021-05-22 Thread Willi Egger
Hello everybody, this example given by Hans is interesting. I added it to the Wiki to the command \startcombination. Willi > On 14 May 2021, at 11:39, Hans Hagen wrote: > > On 5/14/2021 6:30 AM, Benny Schurig wrote: >> Hi Julian, >> for me first reply ever with a su

Re: [NTG-context] combinations

2021-05-14 Thread Hans Hagen
On 5/14/2021 6:30 AM, Benny Schurig wrote: Hi Julian, for me first reply ever with a suggestion: You have to set a caption https://wiki.contextgarden.net/Command/startcombination That worked fine for me: \startplacefigure[location=here]   \setupcombination[distance=0mm,after

Re: [NTG-context] combinations

2021-05-13 Thread Benny Schurig
Hi Julian, for me first reply ever with a suggestion: You have to set a caption https://wiki.contextgarden.net/Command/startcombination That worked fine for me: \startplacefigure[location=here] \setupcombination[distance=0mm,after=] {\startcombination[2*1] {\externalfigure[res1.jpg

[NTG-context] combinations

2021-05-13 Thread jbf
Hi list, The following MWE is giving me two photos under each other, not beside each. What am I doing wrong? Julian \startplacefigure[location=here] \setupcombination[distance=0mm,after=] {\startcombination[2*1] {\externalfigure[res1.jpg][width=.4\textwidth]} {\externalfigure[res2.jpg

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

2020-12-29 Thread Jeong Dal
young Here is a MWE. \useMPlibrary[dum] \unexpanded\def\myurl#1{% \bgroup{\hyphenatedurl{#1}}\egroup} \starttext \startplacefigure[] {\startcombination[2*1] {\externalfigure[dummyz][width=.35\makeupwidth]}{Pegasus\footnote{\myurl{https://www.mcescher.com/gallery\letterslash recognition-su

Re: [NTG-context] Combinations not working as expected

2020-12-01 Thread Hans Hagen
On 12/1/2020 9:02 AM, Christoph Reller wrote: Dear list, In the latest version 2020.11.28 13:18 of ConTeXt LMTX, combinations don't seem to work as expected. Example: \starttext \startcombination[2*1]   {first}{a}   {second}{b} \stopcombination \blank[big] \startcombination[1*2]   {first

[NTG-context] Combinations not working as expected

2020-12-01 Thread Christoph Reller
Dear list, In the latest version 2020.11.28 13:18 of ConTeXt LMTX, combinations don't seem to work as expected. Example: \starttext \startcombination[2*1] {first}{a} {second}{b} \stopcombination \blank[big] \startcombination[1*2] {first}{a} {second}{b} \stopcombination \stoptext

Re: [NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Wolfgang Schuster
as well but the input is different because everything is hidden. \starttext \startplacefigure[title={A combination of three figures}]     \startcombination[3*1]     {\externalfigure[image-1.pdf][width=4cm]}{a}     {\externalfigure[image-2.pdf][width=4cm]}{b}     {\externalfigure[image-3

Re: [NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Otared Kavian
text > > \startplacefigure > {\startplacefigure[location=none] > \startcombination[2*1]% >{\startcombination[1*2]% > {\framed[width=6cm]{a}}{\externalfigure[image-1.pdf][width=6cm]}{}{} > %{a} >\stopcombination% > % OR > % {\startcomb

Re: [NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Wolfgang Schuster
the figure \startcombination[3*1] {\externalfigure[image-1.pdf][width=4cm]}{a} % a appears above image-1 {\externalfigure[image-2.pdf][width=4cm]}{b} % b appears above image-2 {\externalfigure[image-3.pdf][width=4cm]}{c} % c appears above image

Re: [NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Tomas Hala
\startplacefigure {\startplacefigure[location=none] \startcombination[2*1]% {\startcombination[1*2]% {\framed[width=6cm]{a}}{\externalfigure[image-1.pdf][width=6cm]}{}{} %{a} \stopcombination% % OR % {\startcombination[1*2]% % {\framed[width=6cm]{a}}{}{\externalfigure

Re: [NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Otared Kavian
Hi Tomás, Thank you for your help. That works for the simple combination I sent to the list, but it does not work for another case in my document where I have several combinations, as in the following: \startplacefigure[location=none] \startcombination[1*2

Re: [NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Tomas Hala
Hi Otared, maybe there is a better, more system solution, but the following works: \setupcaptions[figure][location=bottom] \startplacefigure[title={A combination of three figures}] % this title appears below the figure \startcombination[3*1] {\framed[width=4cm]{a}}{\externalfigure[image-1

[NTG-context] Writing the caption above figures in combinations

2020-06-01 Thread Otared Kavian
Hi all, Is it possible to write the individual captions for each element of a combination of floats above it, while the caption for the figure appears below? \startplacefigure[title={A combination of three figures}] % this title appears below the figure \startcombination[3*1

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

2020-03-26 Thread Wolfgang Schuster
Christoph Hintermüller schrieb am 26.03.2020 um 21:23: Hi Wolfgang On Mon, 2020-03-23 at 15:56 +0100, Wolfgang Schuster wrote: This is not possible but maybe the following is a alternative for you. The tabulate can be used in combination with an item group to have auto generated numbers in

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

2020-03-26 Thread Christoph Hintermüller
Hi Wolfgang On Mon, 2020-03-23 at 15:56 +0100, Wolfgang Schuster wrote: > > This is not possible but maybe the following is a alternative for > you. > > The tabulate can be used in combination with an item group to have > auto > generated numbers in a given column. > > \starttext > >

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

2020-03-24 Thread Christoph Hintermüller
Hi Wolfgang On Mon, 2020-03-23 at 17:56 +0100, Wolfgang Schuster wrote: > > > Did my first tabulate/itemize example work for you? > > I have no problem including your graphic in a table although the > size > isn't perfect. > > \starttext > > \startplacetable[title={some

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

2020-03-24 Thread Christoph Hintermüller
Thankt you very much to you both On Tue, 2020-03-24 at 13:34 +0100, Pablo Rodriguez wrote: > On 3/24/20 11:01 AM, Christoph Hintermüller wrote: > > [...] > > What alternative installation packages do you recommend exempt > > compiling from sources? > > Hi Christoph, > > I guess

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

2020-03-24 Thread Pablo Rodriguez
On 3/24/20 11:01 AM, Christoph Hintermüller wrote: > [...] > What alternative installation packages do you recommend exempt > compiling from sources? Hi Christoph, I guess http://pragma-ade.com/install.htm contains what you need. I hope it helps, Pablo -- http://www.ousia.tk

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

2020-03-24 Thread Christoph Hintermüller
Hi Wolfgang > Did my first tabulate/itemize example work for you? > > I have no problem including your graphic in a table although the > size > isn't perfect. > > \starttext > > \startplacetable[title={some caption},reference={fig:somefig}] > \startitemize[a][stopper=)] >

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

2020-03-23 Thread Wolfgang Schuster
Christoph Hintermüller schrieb am 23.03.2020 um 17:09: Hi Wolfgang On Mon, 2020-03-23 at 15:56 +0100, Wolfgang Schuster wrote: This is not possible but maybe the following is a alternative for you. The tabulate can be used in combination with an item group to have auto generated numbers in a

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

2020-03-23 Thread Wolfgang Schuster
Christoph Hintermüller schrieb am 23.03.2020 um 15:27: Hi When using refernece instead of column mode in start combination: Is it possible to tell context to place the reference label left or right of the picture/table etc and not below? Or do i have to use multiple columns and put reference

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

2020-03-23 Thread Christoph Hintermüller
Hi When using refernece instead of column mode in start combination: Is it possible to tell context to place the reference label left or right of the picture/table etc and not below? Or do i have to use multiple columns and put reference manually and how? Following:

Re: [NTG-context] macro that does not work (Metapost)

2020-02-11 Thread Fabrice Couvreur
hould have been next. It's very puzzling... >>> > but I'll try to get myself back together, by ignoring >>> > everything up to the next `;'. Please insert a semicolon >>> > now in front of anything that you don't want me to delete. >>> > (See Chap

Re: [NTG-context] macro that does not work (Metapost)

2020-02-11 Thread Mikael P. Sundqvist
t; so a semicolon should have been next. It's very puzzling... >> > but I'll try to get myself back together, by ignoring >> > everything up to the next `;'. Please insert a semicolon >> > now in front of anything that you don't want me to delete. >> > (See Chapter 27 of The

Re: [NTG-context] macro that does not work (Metapost)

2020-02-11 Thread Fabrice Couvreur
r 27 of The METAFONTbook for an example.) > > > > [1] > > > > 13 enddef; > > 14 \stopMPcode > > 15 \starttext > > 16 On présente ci-dessous deux suites de dessins. > > 17 \startlinecorrection[blank] > > 18 \startmi

Re: [NTG-context] macro that does not work (Metapost)

2020-02-11 Thread Hans Hagen
  \startmidaligned 19               \startcombination[2*1] 20                 {\startMPcode 21                   suite{1,0}; 22                   suite(2,1); 23 >>               \stopMPcode}{\tfxx \bf Suite 2} 24           \stopcombination 25             \stopmidaligned 26           \stoplinecorrection 27

[NTG-context] macro that does not work (Metapost)

2020-02-11 Thread Fabrice Couvreur
lete. (See Chapter 27 of The METAFONTbook for an example.) [1] 13 enddef; 14 \stopMPcode 15 \starttext 16 On présente ci-dessous deux suites de dessins. 17 \startlinecorrection[blank] 18 \startmidaligned 19 \startcombination[2*1] 20

Re: [NTG-context] Images run into each other when using side floats

2019-10-30 Thread Marco Patzer
t seem to do the right thing here. If that's possible I can leave the sources as they are. \setupfloat [figure] [default=left] \starttext \samplefile{knuth} \startplacefigure [title=Foo] \framed [width=5cm, height=5cm]{} \stopplacefigure \samplefile{ward} \blank \dontleavehmode

[NTG-context] Bugs in \framed

2019-09-06 Thread Henning Hraban Ramm
=mono,rulethickness=1pt,offset=0.5em,framecolor=darkgreen] \startcombination[3*10] {\framed[framecorner=00]{framecorner=00}}{} {\framed[framecorner=01]{framecorner=01}}{} {\framed[framecorner=02]{framecorner=02}}{} {\framed[framecorner=03]{framecorner=03

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] Figure labels in combinations

2019-07-30 Thread Luca Mauri
Thank you Alan. Yes, I have seen the possibility of generating automatically the labels but unfortunately the problem remains when you move the subfigure. In the meantime, I have tried this: \startplacefigure [number=no] \startcombination [nx=3] {figure 1} {\incrementcounter[figure

Re: [NTG-context] Figure labels in combinations

2019-07-30 Thread Alan Braslau
On Tue, 30 Jul 2019 11:20:03 +0200 Luca Mauri wrote: > I am trying to typeset two or more figures next to each other, inside a > floating environment, each with its own label. I am familiar with a mechanism > of the form > > \startplacefigure[reference=pic] > \startcombinat

[NTG-context] Figure labels in combinations

2019-07-30 Thread Luca Mauri
I am trying to typeset two or more figures next to each other, inside a floating environment, each with its own label. I am familiar with a mechanism of the form \startplacefigure[reference=pic] \startcombination[3*1] {figure 1}{a} {figure 2}{b} {figure 3}{c} \stopcombination \stopplacefigure

Re: [NTG-context] Spacing after combination

2019-07-16 Thread Marco Patzer
On Tue, 16 Jul 2019 21:09:15 +0200 Wolfgang Schuster wrote: > A alternative to using floats is to put the combination in a > linecorrection environment, i.e. > > \startlinecorrection >   \startcombination [2*2] >   ... >   \stopcombination

Re: [NTG-context] Spacing after combination

2019-07-16 Thread Wolfgang Schuster
. \startlinecorrection   \startcombination [2*2]   ...   \stopcombination \stoplinecorrection or \startlinecorrection[blank]   \startcombination [2*2]   ...   \stopcombination \stoplinecorrection Wolfgang ___ If your question

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] 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
\blackrule[color=my-yellow-100,width=.6\textwidth,height=5mm] \NC \NR \NC my-mix\NC \blackrule[color=my-mix, width=.6\textwidth,height=5mm] \NC \NR \stoptabulate \useexternalfigure[demofig][mill.png][object=no,width=.2\textwidth] \startcombination[4*1] {\externalfigu

Re: [NTG-context] Distance between two Columns

2019-02-28 Thread Wolfgang Schuster
? \setupcombination [location=top, distance=\spaceamount] \starttext \startcombination[2*1] {\framed[width=5cm,align=flushleft]{Small}}{} {\framed[width=5cm,align=flushleft]{A really really long line that is split at 5cm}}{} \stopcombination \blank \placesidebyside

Re: [NTG-context] question regarding \placefloats

2018-08-08 Thread Alan Braslau
table lists can be combined: \definecombinedlist [figuresandtables] [figure,table] \placelistoffiguresandtables or something like that. > Second: > > \startcombination[1*2] looks nice, but does not add information to the > \placelistoffigures . > > My solution is to pla

[NTG-context] question regarding \placefloats

2018-08-08 Thread Susanne G. Loeber
as a command My solution is two seperate commands, one for the tables \placelistoftables and one for the figures \completelistoffigures. Question: how to use \placefloats correctly to get a list of all floats? Second: \startcombination[1*2] looks nice, but does not add information

Re: [NTG-context] Circled text in metapost

2018-03-30 Thread Henri Menke
> > xpart llcorner pic[i]) ; > > rot := extra + delta - > > ((len[i]-.5wid)/len[n]) * (180+2delta) ; > > draw pic[i] > > rotatedaround (origin,-270) shifted (-r-radius, > > ypart -.5[ulcorner pic[i], llcorner pic[i]]) > > rotatedaround (origin,rot) ; > >

Re: [NTG-context] Circled text in metapost

2018-03-30 Thread Henri Menke
daround (origin,-270) shifted (-r-radius, > ypart -.5[ulcorner pic[i], llcorner pic[i]]) > rotatedaround (origin,rot) ; > endfor ; > \stopMPdrawing > \MPdrawingdonetrue > \getMPdrawing > \resetMPdrawing > \egroup} > > \startcombination[3*1] > {\rotatetokens {0} {0}{0}{D

Re: [NTG-context] Circled text in metapost

2018-03-29 Thread Gerhard Kugler
aw pic[i] rotatedaround (origin,-270) shifted (-r-radius, ypart -.5[ulcorner pic[i], llcorner pic[i]]) rotatedaround (origin,rot) ; endfor ; \stopMPdrawing \MPdrawingdonetrue \getMPdrawing \resetMPdrawing \egroup} \startcombination[3*1] {\rotatetokens {0} {0}{0}{Does it work ok?}} {A} {\rotatetok

[NTG-context] Scale figure to fill a box

2018-02-04 Thread Wolfgang Schuster
[PageBorder] [offset=overlay, rulethickness=2pt, framecolor=red, width=6cm, height=6cm] \starttext \startcombination[nx=2,ny=1,distance=4cm] {\PageBorder{\externalfigure[hacker][factor=fit]}}{} {\PageBorder{\externalfigure[mill] [factor=fit]}}{} \stopcombination \blank[4cm

Re: [NTG-context] Caption location in floatcombination

2017-10-23 Thread Christoph Reller
t; are placed on top while the >> captions "Two" and "Two" are placed on the bottom. Is there a way to setup >> the locations of the captions of floats within a floatcombination? In this >> particular example, the goal is, that the captions "Two" and

Re: [NTG-context] Bug in startcombination

2017-08-14 Thread Hans Hagen
On 8/14/2017 9:53 AM, Otared Kavian wrote: Hi Hans, It seems that in the latest ConTeXt beta a bug shows up when using \startcombination, or something has changed recently that I have overlooked. The following example typesets correctly in mkii, and used to produce a correct output with mkiv

[NTG-context] Bug in startcombination

2017-08-14 Thread Otared Kavian
Hi Hans, It seems that in the latest ConTeXt beta a bug shows up when using \startcombination, or something has changed recently that I have overlooked. The following example typesets correctly in mkii, and used to produce a correct output with mkiv. However, now, with ConTeXt version

Re: [NTG-context] \setupcombinations and the after-key

2017-08-09 Thread Pablo Rodriguez
en, height=5em]}] \starttext \placefigure [here] % figure placement [fig:combinations] % figure reference {An example of combination.} % figure caption {\startcombination[3*2] % contents of the figure: a combination %

Re: [NTG-context] \setupcombinations and the after-key

2017-08-09 Thread Mathias Schickel
height=middle, >location=middle, > header=0pt, > footer=0pt] >\setupcombinations[distance=0mm, inbetween=] >\starttext >\startcombination[2*2]% >{{\framed[width=.5\textwidth, >height=.5\textheight]{1}}} >{{\framed[

Re: [NTG-context] \setupcombinations and the after-key

2017-08-09 Thread Pablo Rodriguez
imensions. \setuplayout [backspace=0pt, topspace=0pt, width=middle, height=middle, location=middle, header=0pt, footer=0pt] \setupcombinations[distance=0mm, inbetween=] \starttext \startcombination[2*2]% {{\framed

[NTG-context] Align an item with the top of a picture

2017-04-17 Thread Fabrice Couvreur
Hello, How to align item a. With the top of the picture? Thank you Fabrice \useMPlibrary[dum] \starttext \startlinecorrection[blank] \startmidaligned \startcombination[2*1] {\externalfigure[dummy][height=6cm]}{} {\framedtext[location=hang,width=5cm,frame=off]{\startitemize[a] \item \item \item

[NTG-context] two framed item lists side by side

2017-02-09 Thread Csikos Bela
\startcombination[2] {\startframedtext \startitemize \item In The Flesh? 3:19 \item The Thin Ice 2:29 \item Another Brick In The Wall (Part 1)3:09 \item The Happiest Days Of Our Lives1:50 \stopitemize \stopframedtext }{}{ \startframedtext \startitemize \item Hey You 4:41 \item

Re: [NTG-context] unwanted vertical space below combinations captions

2016-12-31 Thread Mikael P. Sundqvist
of the mismatch between the numbers of contents and the dimension. Best regards, Dalyoung PS: Happy New Year to all! > > \framed[offset=overlay]{% > \startcombination[2*2] \startcombination[2*1] ___ If you

Re: [NTG-context] unwanted vertical space below combinations captions

2016-12-31 Thread Jeong Dal
regards, Dalyoung PS: Happy New Year to all! > > \framed[offset=overlay]{% > \startcombination[2*2] \startcombination[2*1] ___ If your question is of interest to others as well, please add an entry to

[NTG-context] unwanted vertical space below combinations captions

2016-12-30 Thread Mikael P. Sundqvist
to get rid of the space is that I want to put the combinations at the bottom of a page (without the frames!), and then one get the feeling that there is an extra line.) /Mikael \setupcombinations[ height=fit, after=, ] \starttext \input knuth \par \framed[offset=overlay]{% \startcombination[2*2

Re: [NTG-context] floatcombination alignment has changed?

2016-12-09 Thread Christoph Reller
ces centered combinations by default. The problem is, that within the combination I would like to use floats defined with \setupfloat. This is not supported by \startcombination. I noticed that line 490 of pack-com.mkiv has an added \dontleavehmode in the definition of \pack_combinations_start_float. W

[NTG-context] floatcombination alignment has changed?

2016-12-08 Thread Jeong Dal
] \starttext \placefigure{}{ \startcombination[2*1] {\externalfigure[cow.pdf]}{} {\externalfigure[cow.pdf]}{} \stopcombination} \stoptext Best regards, Dalyoung ___ If your question is of interest to others

Re: [NTG-context] A question about \startcombination[3*1] \stopcombination (again)

2016-10-25 Thread Fabrice Couvreur
Hi Wolfgang, Thank you for your suggestion. But why use rather framed than framedtext ? Fabrice 2016-10-25 17:15 GMT+02:00 Wolfgang Schuster : > Fabrice Couvreur > 25. Oktober 2016 um 16:14 > Hello, > I can not make three columns and one

Re: [NTG-context] A question about \startcombination[3*1] \stopcombination (again)

2016-10-25 Thread Wolfgang Schuster
Fabrice Couvreur 25. Oktober 2016 um 16:14 Hello, I can not make three columns and one row. But three rows and one column, it is possible. You’re getting three columns but each framedtext has the width of the textblock and two of your three frames are shown

Re: [NTG-context] A question about \startcombination[3*1] \stopcombination (again)

2016-10-25 Thread Alan Braslau
Try \startcombination [nx=3,ny=1] Alan > On Oct 25, 2016, at 08:14, Fabrice Couvreur <fabrice1.couvr...@gmail.com> > wrote: > > I can not make three columns and one row. But three rows and one column _

[NTG-context] A question about \startcombination[3*1] \stopcombination (again)

2016-10-25 Thread Fabrice Couvreur
] \definelines [algorithm] [space=on, before=\startalgorithmframe, after=\stopalgorithmframe] \starttext \startmidaligned \startcombination[3*1] {\hbox{\startalgorithm Variables : \math{U} est un nombre réel \math{i} et \math{N} sont des nombres entiers Début : Saisir une valeur pour

[NTG-context] Question about natural tables

2016-10-09 Thread Fabrice Couvreur
{2a} \stopformula \eTD \bTD[nc=2] coupe deux fois l'axe des abscisses \dontleavehmode\startcombination[2*1]{\externalfigure[dummy][scale=900]}{}{\externalfigure[dummy][scale=900]}{} \stopcombination \eTD \eTR \bTR \bTD\math{\Delta=0} \eTD \bTD admet une unique solut

Re: [NTG-context] Question about \startcombination \stopcombination

2016-08-18 Thread Hans Hagen
, Fabrice Couvreur wrote: Hello, The use of \startcombination ... \stopcombination does not work with my environment, I do not get all framed but only two and four Thank

Re: [NTG-context] Question about \startcombination \stopcombination

2016-08-18 Thread Mohammad Hossein Bateni
Fabrice Couvreur wrote: >> >>> Hello, >>> The use of \startcombination ... \stopcombination does not work with my >>> environment, I do not get all framed but only two and four >>> Thank you >>> Fabrice >>> >>>

  1   2   3   4   5   >