[NTG-context] RTL problem with figure numbers

2016-01-03 Thread Mohammad Hossein Bateni
={:}] %% Footnotes are fine and accept conversion. %% Page numbers are also okay. \starttext \dorecurse{20}{ \section{Test} This is a very simple text. And we have a footnote\footnote{Footnote text}. \placefigure [][] {Test figure.} {\centerline{FIGURE BODY}} \page } \stoptext I use TeXLive 2015

[NTG-context] Unexpected float numbering in unnumbered subsubsection

2015-12-15 Thread Jan Willem Flamma
, subsection] \setuphead[subsubsection] [number=no] \starttext \startchapter[title=Chapter title] \input ward \startsection[title=Section title1] \input ward \placefigure[here][]{Caption} {\externalfigure[dummy]} \startsubsubsection[title=Subsubsection

Re: [NTG-context] MetaPost Question

2015-12-07 Thread Context NTG
I guess the code I am looking for is the below to hatch the cut-out section. How can I load the MetaPost hatching package in Context minimals so it understands the hatchfill command? Thanks Jeroen \startMPinclusions input hatching; \stopMPinclusions \starttext \placefigure[here,force

[NTG-context] MetaPost Question

2015-12-06 Thread Context NTG
I am trying to graph a cylinder. Is there a way to draw a more elliptic top/bottom. This one seems some flattened at the top and bottom. I would like to hatch the mid elliptic that is collored grey now. Is there a way to do this. Thanks Jeroen \placefigure [here,force] [fig:tubing] {Tubular

Re: [NTG-context] MetaPost Question

2015-12-06 Thread Alan BRASLAU
e seems some flattened at the top and > bottom. I would like to hatch the mid elliptic that is collored grey > now. Is there a way to do this. > > Thanks > Jeroen > > > > \placefigure > > [here,force] > > [fig:tubing] > > {Tubular Linear Volumetric Capaci

Re: [NTG-context] goto

2015-11-28 Thread Willi Egger
typeset in the text and [3] as the > reference in for example a \placefigure. > > What is {2} supposed to do? \goto{}Something}[] does not places Something to > find. > > I tried to effect the jump to a document on my system with > \goto{local-doc}[/Volumes/Users/myhome/Documents/my

[NTG-context] place figure at the top left corner of the header

2015-11-26 Thread massifr
, but starting out of the textframe, at the header top, as if the textframe had the same topleft corner of the header. Which is the best way to obtain it? Do I need a custom page makeup, a layer or simply configuring \placefigure? Thank you, Massi

[NTG-context] Dropcaps in ConTeXt

2015-10-27 Thread josephcanedo
figure size. Sample follows: \definecolumnset[TwoColumns][n=2] \usemodule[lettrine] \starttext \startcolumnset [TwoColumns] \placefigure[left,none]{}{\externalfigure[D1.pdf]} % how to have left side figure with text wrapping around it ? This is a first paragraph. \input tufte

[NTG-context] goto

2015-10-18 Thread Meer, Hans van der
and 3 is marked REFERENCE. I could find parameter {1} typeset in the text and [3] as the reference in for example a \placefigure. What is {2} supposed to do? \goto{}Something}[] does not places Something to find. I tried to effect the jump to a document on my system with \goto{local-doc}[/Volumes

Re: [NTG-context] reference points with double colons (::) are not working

2015-10-10 Thread Eidenbenz Michael
ane] [number=no] \startsetups btx:duane:cite:image {\externalfigure[\btxfield{url_image}][width=10cm]} \stopsetups \def\bild[#1]#2% {\placefigure[here][#1]{#2}{\cite[image][duane::#1]}}% \def\bildref[#1]% {\in{\bf Fig.}[#1]} \startsetups btx:duane:list:image \btxfield{title} \stopsetups \s

[NTG-context] reference points with double colons (::) are not working

2015-10-10 Thread Eidenbenz Michael
\placefigure[here][img:cow]{This is a cow}{\externalfigure[cow.jpg]}\par \placefigure[here][img::mill]{This is a mill}{\externalfigure[mill.png]}\par The picture in \in{Figure}[img:cow] is a cow\par The picture in \in{Figure}[img::mill] is a mill (cross reference is not working)\par \stoptext

Re: [NTG-context] reference points with double colons (::) are not working

2015-10-10 Thread Hans Hagen
help and best regards :: and ::: have special meaning (:; for another document and ::: for components and such) Michael - \starttext \placefigure[here][img:cow]{This is a cow}{\externalfigure[cow.jpg]}\par \placefigure[here][img::mill]{This is a mill}{\externalfigure[mill.png]}\par

[NTG-context] custom :cite setups with new bibliography system

2015-10-06 Thread Eidenbenz Michael
with beta, but then \btxfield in :cite:image (not in :list:image) is broken \setupbtxlist [duane] [number=no] \startsetups btx:duane:cite:image \placefigure[left]{\btxfield{description}}{\externalfigure[\btxfield{url_image}][width=10cm]} \stopsetups \startsetups btx:duane:lis

Re: [NTG-context] Ordered list of references (figures)

2015-10-05 Thread Henning Hraban Ramm
b Henning Hraban Ramm <te...@fiee.net>: >>>>>> >>>>>> Hi wizards, >>>>>> >>>>>> in my current book projects I need a list of figure references, ordered >>>>>> by author and page number. >>>&g

Re: [NTG-context] Ordered list of references (figures)

2015-09-30 Thread Henning Hraban Ramm
d page number. >>>> Like this: >>>> >>>> Photos: Hans Hagen (p.1,4,6,7), Taco Hoekwater (p.2,12–20), Hraban Ramm >>>> (p.3ff.) >>>> >>>> How can I do that? I.e. >>>> - How can I assign an author name/reference to a f

Re: [NTG-context] Ordered list of references (figures)

2015-09-30 Thread Taco Hoekwater
>>>>> Like this: >>>>> >>>>> Photos: Hans Hagen (p.1,4,6,7), Taco Hoekwater (p.2,12–20), Hraban Ramm >>>>> (p.3ff.) >>>>> >>>>> How can I do that? I.e. >>>>> - How can I assign an author name/reference t

Re: [NTG-context] Ordered list of references (figures)

2015-09-27 Thread Henning Hraban Ramm
re references, ordered by >> author and page number. >> Like this: >> >> Photos: Hans Hagen (p.1,4,6,7), Taco Hoekwater (p.2,12–20), Hraban Ramm >> (p.3ff.) >> >> How can I do that? I.e. >> - How can I assign an author name/reference to a figur

Re: [NTG-context] formatting section and figure numbers

2015-09-25 Thread Pablo Rodriguez
numbered IX the sections are > numbered 9.1 instead of IX.1. > The numbering of floats with \placefigure luckily does the caption > numbering right, i.e. there I see IX.1 as its number. > > Using > \setuphead[section][conversion=Romannumerals] > fails because then IX.I is prod

[NTG-context] formatting section and figure numbers

2015-09-25 Thread Meer, Hans van der
of floats with \placefigure luckily does the caption numbering right, i.e. there I see IX.1 as its number. Using \setuphead[section][conversion=Romannumerals] fails because then IX.I is produced, clearly not what is desired although the caption numbering is not influenced. Using \setuphead[section

Re: [NTG-context] Ordered list of references (figures)

2015-09-22 Thread Henning Hraban Ramm
–20), Hraban Ramm > (p.3ff.) > > How can I do that? I.e. > - How can I assign an author name/reference to a figure? > – How can I output that list? > > About like this?: > > \placefigure[top][someref]{\externalfigure[somepic]}\reference[someref]{Hraban > Ramm} > >

[NTG-context] Ordered list of references (figures)

2015-09-21 Thread Henning Hraban Ramm
I output that list? About like this?: \placefigure[top][someref]{\externalfigure[somepic]}\reference[someref]{Hraban Ramm} \ref[t][someref] (\at{p.}[someref]) % put this in some command that is called by \listoffigures ? Extension: I need to integrate some unnumbered pages into the list, like

Re: [NTG-context] Bug in placefloat at right

2015-09-05 Thread Hans Hagen
t,none} (or \placefigure[left,none]) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-a

[NTG-context] float in columns

2015-09-01 Thread Meer, H. van der
I seem to remember that it was possible to place a figure over the whole width of the page inside columns as for example \startsimplecolumns[n=2] text in 2 columns placefigure-over-fullwidth further text in 2 columns \stopsimplecolumns However, I cannot find with what command

Re: [NTG-context] Bug: Paragraph formatting on new page after placefigure

2015-08-25 Thread Rik Kabel
On 2015-08-25 03:41, Andreas Becker wrote: ConTeXt version: 2015.08.21 19:57 In the PDF output of the following code, the first text line on the second page only spans half the textwidth. However, below the figure, the text should span the whole width. \starttext \placefigure[right][]{caption

[NTG-context] Bug: Paragraph formatting on new page after placefigure

2015-08-25 Thread Andreas Becker
ConTeXt version: 2015.08.21 19:57 In the PDF output of the following code, the first text line on the second page only spans half the textwidth. However, below the figure, the text should span the whole width. \starttext \placefigure[right][]{caption} { \externalfigure[nop][width=0.5\textwidth

[NTG-context] Bug: Figure numbers do not correspond to their order

2015-08-25 Thread Andreas Becker
ConTeXt version: 2015.08.21 19:57 When the «page» position key is used, the figure numbers do not match their order in the document. In the following example, Figure 2 precedes Figure 1. \starttext \placefigure[page][]{} { \externalfigure[nop][width=0.5\textwidth] } \placefigure

Re: [NTG-context] Text around a figure in a framedtext

2015-08-14 Thread Fabrice Couvreur
Hi Rik, I actually read that Wolfgang had written, but there is some confusion for me. Indeed, my environment uses a frame and Wolfgang said to be used \ starthanging ... \stophanging rather than \placefigure. But my text contains a blank line which is to create a new paragraph and so I should use

Re: [NTG-context] Text around a figure in a framedtext

2015-08-13 Thread Rik Kabel
(http://www.mail-archive.com/ntg-context%40ntg.nl/msg79347.html): The \starthangaround environment reserves space for the image etc. onlyfor the first paragraph while \placefigure includes more paragraphs if necessary. -- Rik

[NTG-context] Strange behavior (TikZ)

2015-08-11 Thread Fabrice Couvreur
\startchapter [title={Activités d'approche}] \startsection [title={Sans carreaux}] \placefigure[right,none]{} { \hbox{ \starttikzpicture[=stealth,scale=0.8] \draw [-,color=blue,ultra thick] (0,0)--(5,2); \draw [-,color=green,ultra thick] (6,1.5)--(5,0); \draw [-,color=red,ultra thick] (4,-0.8

Re: [NTG-context] Text around a figure in a framedtext

2015-08-08 Thread Fabrice Couvreur
to obtain the same result (by the way, you have to say also \stopframedtext in your source file): \startframedtext[width=\textwidth]{ \placefigure[right,none]{}{% \startMPcode draw unitsquare scaled 2cm ; \stopMPcode} \input knuth.tex } \stopframedtext Best regards: OK On 08 Aug

Re: [NTG-context] Text around a figure in a framedtext (Wolfgang Schuster)

2015-08-08 Thread Wolfgang Schuster
? The \starthangaround environment reserves space for the image etc. only for the first paragraph while \placefigure includes more paragraphs if necessary. Wolfgang ___ If your question is of interest to others as well, please

[NTG-context] Text around a figure in a framedtext

2015-08-07 Thread Fabrice Couvreur
) ; b := boundingbox p leftenlarged .5EmWidth rightenlarged .5EmWidth ; fill OverlayBox withcolor \MPcolor{MyColorA} ; fill b withcolor \MPcolor{MyColorB} ; draw p ; \stopuseMPgraphic \starttext \startMyText \placefigure[right,none]{}{% \startMPcode draw unitsquare scaled 2cm

Re: [NTG-context] Text around a figure in a framedtext

2015-08-07 Thread Otared Kavian
Hi, You should use the same width if you want to obtain the same result (by the way, you have to say also \stopframedtext in your source file): \startframedtext[width=\textwidth]{ \placefigure[right,none]{}{% \startMPcode draw unitsquare scaled 2cm ; \stopMPcode} \input knuth.tex

Re: [NTG-context] Bug: Figures in columnset not displayed or compilation fails

2015-07-13 Thread Hans Hagen
On 7/11/2015 9:17 AM, Andreas Becker wrote: Example #2: \starttext \startcolumnset \chapter{chap} \input lorem \input lorem \input lorem \placefigure[][]{}{\externalfigure[bla][height=2cm]} \placefigure[][]{}{\externalfigure[bla][height=9cm]} \input lorem \stopcolumnset \stoptext fixed

[NTG-context] Bug: Figures in columnset not displayed or compilation fails

2015-07-13 Thread Andreas Becker
we remove the last «\input lorem» line. By the way, the path in \externalfigure does not point to an existing file. Regards, Andreas Example #1: \starttext \startcolumnset \chapter{chap} \input lorem \input lorem \input lorem \placefigure[][]{}{\externalfigure[bla][height=7cm]} \input lorem

[NTG-context] Accessibility and Tagged PDFs: Bugs and Feature Requests

2015-06-30 Thread Dr. Dominik Klein
creating the object in the structure tree. I.e. it would be nice to have something like: \placefigure[top][Image Reference]{Caption}{ \externalfigure[cow.pdf][width=10cm][alternate text = This images shows a beautiful cow.] } The same holds for formulas: Whereas the mathml-like tagging of Context

Re: [NTG-context] Accessibility and Tagged PDFs: Bugs and Feature Requests

2015-06-30 Thread luigi scarso
. It would be really helpful, if these could be defined in the source tex file, and then automatically added when creating the object in the structure tree. I.e. it would be nice to have something like: \placefigure[top][Image Reference]{Caption}{ \externalfigure[cow.pdf][width=10cm][alternate

Re: [NTG-context] Accessibility and Tagged PDFs: Bugs and Feature Requests

2015-06-30 Thread Alan BRASLAU
in the source tex file, and then automatically added when creating the object in the structure tree. I.e. it would be nice to have something like: \placefigure[top][Image Reference]{Caption}{ \externalfigure[cow.pdf][width=10cm][alternate text = This images shows a beautiful cow.] } Maybe

Re: [NTG-context] definereferencestructureprefix for floats

2015-06-22 Thread Aditya Mahajan
On Mon, 22 Jun 2015, Wolfgang Schuster wrote: Aditya Mahajan mailto:adit...@umich.edu 22. Juni 2015 05:35 On Sun, 21 Jun 2015, Aditya Mahajan wrote: Even the second example in strc-ref.mkvi does not work correctly. \starttext \chapter{test} \placefigure[here][xx:1]{}{\framed{one

Re: [NTG-context] definereferencestructureprefix for floats

2015-06-22 Thread Wolfgang Schuster
Aditya Mahajan mailto:adit...@umich.edu 22. Juni 2015 05:35 On Sun, 21 Jun 2015, Aditya Mahajan wrote: Even the second example in strc-ref.mkvi does not work correctly. \starttext \chapter{test} \placefigure[here][xx:1]{}{\framed{one}} \placefigure[here][xx:2]{}{\framed{three

Re: [NTG-context] definereferencestructureprefix for floats

2015-06-21 Thread Aditya Mahajan
the second example in strc-ref.mkvi does not work correctly. \starttext \chapter{test} \placefigure[here][xx:1]{}{\framed{one}} \placefigure[here][xx:2]{}{\framed{three}} \placetable [here][xx:3]{}{\framed{two}} \placetable [here][xx:4]{}{\framed{four}} \start \in{fig}[xx:1

[NTG-context] definereferencestructureprefix for floats

2015-06-20 Thread Aditya Mahajan
} \subsection[sec:test]{Two} See \in[sec:test] and \in[fig:xx] and \in[fig:yy] \placefigure[here][fig:xx]{}{} \placefigure[here][fig:yy]{}{} \stoptext Thanks, Aditya ___ If your question is of interest to others as well, please

[NTG-context] \placefigure[right,high] in two column mode

2015-06-11 Thread Mojca Miklavec
Hello, Is it possible to place a figure to the right in two column mode? I always get it centered for some reason. \setupexternalfigures[location={local,global,default}] \starttext \startcolumns[two] % doesn't work \startplacefigure[location={nonumber,right,high}]

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Meer, H. van der
in combination with “location=middle” or use a float command like \placefigure. \startxmlsetups xmlcommon \xmlsetsetup{\xmldocument}{table|tr|td}{xmlcommon:*} \stopxmlsetups \xmlregistersetup{xmlcommon} \startxmlsetups xmlcommon:table % \removeunwantedspaces \startembeddedxtable

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Wolfgang Schuster
when you replace \midaligned with a framedtext environment in combination with “location=middle” or use a float command like \placefigure. I think I can reduce the number of places where spaces have to be suppressed. With just 2 \removeunwantedspaces and 1 \ignorespaces I get rid of most

Re: [NTG-context] embeddedxtable

2015-05-25 Thread Meer, H. van der
=middle” or use a float command like \placefigure. I think I can reduce the number of places where spaces have to be suppressed. With just 2 \removeunwantedspaces and 1 \ignorespaces I get rid of most of them. The \framed[offset=0pt] shows where spurious space is still inserted. Only 1 space

Re: [NTG-context] Environment \starttikzpicture \stoptikzpicture like float

2015-05-24 Thread Hans Hagen
{\starttikzpicture ... % content ... \stoptikzpicture} (With \placefigure or \placerecipe or whatever used as usual before the \hbox{}.) We might want to coordinate a patch with the TikZ team. Yes, it is a two line change in t-tikz that would not affect the latex or plain tex behavior. it all depends

Re: [NTG-context] Environment \starttikzpicture \stoptikzpicture like float

2015-05-24 Thread Aditya Mahajan
... \stoptikzpicture} (With \placefigure or \placerecipe or whatever used as usual before the \hbox{}.) We might want to coordinate a patch with the TikZ team. Yes, it is a two line change in t-tikz that would not affect the latex or plain tex behavior. Aditya

Re: [NTG-context] Environment \starttikzpicture \stoptikzpicture like float

2015-05-24 Thread Mojca Miklavec
. If I remember correctly the behaviour is different in LaTeX. An easy workaround (that I always use) is to enclose the graphic into an \hbox{}, like this: \hbox{\starttikzpicture ... % content ... \stoptikzpicture} (With \placefigure or \placerecipe or whatever used as usual before the \hbox{}.) We

Re: [NTG-context] embeddedxtable

2015-05-24 Thread Wolfgang Schuster
to work) and you have to use a combination of \removeunwantedspaces and \ignorespaces to remove them. To center your table this isn’t necessary when you replace \midaligned with a framedtext environment in combination with “location=middle” or use a float command like \placefigure. \startxmlsetups

Re: [NTG-context] Prefix for figure number lost in unnumbered subsection

2015-05-13 Thread Mojca Miklavec
(as one ends with way too many numbers otherwise). The figure numbering is screwed up, I get: - Figure 1.1 - Figure 2 - Figure 1.3 \setuphead [subsubsection] [number=no] \starttext \chapter{Chapter A} \section{Section B} \subsection{Subsection C} \placefigure[force]{correct

Re: [NTG-context] Prefix for figure number lost in unnumbered subsection

2015-05-13 Thread Hans Hagen
\chapter{Chapter A} \section{Section B} \subsection{Subsection C} \placefigure[force]{correct prefix}{test} \subsubsection{Subsubsection D} \placefigure[force]{no prefix number}{test} \subsection{Subsection E} \placefigure[force]{correct prefix}{test} \stoptext How to fix that? Thank you, Mojca

Re: [NTG-context] Prefix for figure number lost in unnumbered subsection

2015-05-13 Thread Mojca Miklavec
} \placefigure[force]{correct prefix}{test} \subsubsection{Subsubsection D} \placefigure[force]{no prefix number}{test} \subsection{Subsection E} \placefigure[force]{correct prefix}{test} \stoptext How to fix that? Thank you, Mojca

Re: [NTG-context] Prefix for figure number lost in unnumbered subsection

2015-05-13 Thread Hans Hagen
ends with way too many numbers otherwise). The figure numbering is screwed up, I get: - Figure 1.1 - Figure 2 - Figure 1.3 \setuphead [subsubsection] [number=no] \starttext \chapter{Chapter A} \section{Section B} \subsection{Subsection C} \placefigure[force]{correct prefix}{test

Re: [NTG-context] Bleeding pictures as floats?

2015-05-11 Thread Wolfgang Schuster
the space before the images changes \showframe \starttext \chapter{Test} \placefigure[top]{Dummy}{\externalfigure[dummy]} \input tufte \stoptext Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] external figure sizing

2015-05-11 Thread Csikos Bela
Peter Münster írta: On Sat, May 09 2015, Csikos Bela wrote: \placefigure, \externalfigure and combinations. The images should be scaled to the same size, eg to .25\textwith and .3\textheight so that the aspect ratios of the images are kept and the appropriate value is used for width

Re: [NTG-context] external figure sizing

2015-05-09 Thread Hans Hagen
On 5/9/2015 10:26 PM, Csikos Bela wrote: Hello list members: I would like to make a photo montage (4x3 images on one page) using \placefigure, \externalfigure and combinations. The images should be scaled to the same size, eg to .25\textwith and .3\textheight so that the aspect ratios

[NTG-context] external figure sizing

2015-05-09 Thread Csikos Bela
Hello list members: I would like to make a photo montage (4x3 images on one page) using \placefigure, \externalfigure and combinations. The images should be scaled to the same size, eg to .25\textwith and .3\textheight so that the aspect ratios of the images are kept and the appropriate value

Re: [NTG-context] external figure sizing

2015-05-09 Thread Peter Münster
On Sat, May 09 2015, Csikos Bela wrote: \placefigure, \externalfigure and combinations. The images should be scaled to the same size, eg to .25\textwith and .3\textheight so that the aspect ratios of the images are kept and the appropriate value is used for width or height. What

[NTG-context] Prefix for figure number lost in unnumbered subsection

2015-05-08 Thread Mojca Miklavec
A} \section{Section B} \subsection{Subsection C} \placefigure[force]{correct prefix}{test} \subsubsection{Subsubsection D} \placefigure[force]{no prefix number}{test} \subsection{Subsection E} \placefigure[force]{correct prefix}{test} \stoptext How to fix that? (I know that I can used something else than

[NTG-context] caption alignment with floats in the margin

2015-04-27 Thread Brian R. Landy
? Thanks, Brian \setuppapersize[letter,portrait][letter,portrait] \setupcaption[figure][location=top,align={flushleft}] \showframe \starttext \setuplayout[backspace=2.75in,leftmargin=2.25in,rightmargin=0.5in,cutspace=0.5in,location=middle,width=middle,margindistance=0.00in] \placefigure[inleft

Re: [NTG-context] Problem with margin figures and whitespace in text

2015-04-26 Thread Rik Kabel
On 2015-04-26 14:01, Hans Hagen wrote: On 4/26/2015 3:32 AM, Rik Kabel wrote: I have two problems with figures placed into the left or right margin. When the figure is in a group, extra whitespace is inserted between the paragraphs that precede and follow the placefigure command. This happens

Re: [NTG-context] Problem with margin figures and whitespace in text

2015-04-26 Thread Hans Hagen
On 4/26/2015 3:32 AM, Rik Kabel wrote: I have two problems with figures placed into the left or right margin. When the figure is in a group, extra whitespace is inserted between the paragraphs that precede and follow the placefigure command. This happens for figures placed by startplacefigure

[NTG-context] Problem with margin figures and whitespace in text

2015-04-25 Thread Rik Kabel
I have two problems with figures placed into the left or right margin. When the figure is in a group, extra whitespace is inserted between the paragraphs that precede and follow the placefigure command. This happens for figures placed by startplacefigure/stopplacefigure and tradiitonal

[NTG-context] Bug in latest beta: behavior of \text in StepCharts

2015-04-16 Thread Otared Kavian
that the font used in each cell of \text changes randomly (there are four instances of \text, and each time a different font is used…): begin random-text-size.tex \usemodule[steps] \starttext \input knuth.tex \placefigure[none][-]{}{ \startSTEPtable \cell {$(f\circ u)(x_{*} + o(1

Re: [NTG-context] Bug in latest beta: behavior of \text in StepCharts

2015-04-16 Thread Alan BRASLAU
\placefigure[none][-]{}{ \startSTEPtable     \cell {$(f\circ u)(x_{*} + o(1)) = $} \text{definition of $f\circ u$} \cell {$f\left(u\left(x_{*} + o(1)\right)\right) = $} \text {$u$ is continuous} \cell {$f\left(u(x_{*}) + o(1)\right) = $} \text {$f$ is continuous} \cell {$f\left(u(x_{*})\right) + o

[NTG-context] how to set figure label ?

2015-04-16 Thread Harald Koenig
Hi, how can I set a label for a figure without \placefigure[][fig:...]{} for some figures I use strange macros -- and at those places I get errors when calling \placefigure BUT I'd like to check the page numbers of those places using \doifreferencefoundelse{fig:bild\the\bildnr

Re: [NTG-context] how to set figure label ?

2015-04-16 Thread Alan BRASLAU
On Thu, 16 Apr 2015 17:27:17 +0200 Harald Koenig koe...@tat.physik.uni-tuebingen.de wrote: how can I set a label for a figure without \placefigure[][fig:...]{} for some figures I use strange macros -- and at those places I get errors when calling \placefigure BUT I'd like to check

Re: [NTG-context] caption setup

2015-04-09 Thread Wolfgang Schuster
.}] \setuplabeltext[figure={}] Code: \verbatim{\setupcaption[figure][numberstopper={. ábra.}]} \par \verbatim{\setuplabeltext[figure={}]} Result: Reference to figure 1 (\in{figure}[figure-1]) \placefigure[][figure-1]{This is the caption}{\framed{Some figure}} \hairline \setupcaption[figure

Re: [NTG-context] caption setup

2015-04-09 Thread Csikos Bela
{\setuplabeltext[figure={}]} Result: Reference to figure 1 (\in{figure}[figure-1]) \placefigure[][figure-1]{This is the caption}{\framed{Some figure}} \hairline \setupcaption[figure][suffix={. ábra},numberstopper={.}] \setuplabeltext[figure={}] Code: \verbatim{\setupcaption[figure][suffix={. ábra

Re: [NTG-context] caption setup

2015-04-09 Thread Wolfgang Schuster
.}] \setuplabeltext[figure={}] Code: \verbatim{\setupcaption[figure][numberstopper={. ábra.}]} \par \verbatim{\setuplabeltext[figure={}]} Result: Reference to figure 1 (\in{figure}[figure-1]) \placefigure[][figure-1]{This is the caption}{\framed{Some figure}} \hairline \setupcaption[figure

[NTG-context] Adjusting vertical location of a margin figure

2015-03-24 Thread Mari Voipio
appear in the middle. This is what I have this far: \setupwhitespace[medium] \starttext \inmargin{\externalfigure[warning]} \input tufte \inmargin{\externalfigure[warning]} Really short paragraph. \inleft{ \placefigure[none][]{} {\externalfigure[warning]} } \input

[NTG-context] [MetaFun] Decorating running text

2015-03-18 Thread Norbert Melzer
) \stopMPcode} \starttext The word \Shogun\ shall be decorated with the crown shown in fig~\in[fig:crown]: \placefigure[here][fig:crown]{The crown that shall decorate the \quote{g} in \quotation{Shogun}}{ \startMPcode fill (-20,-17.5)--(20,-17.5)--(30,12.5)--(10,-2.5)--(0,17.5)--(-10,-2.5

Re: [NTG-context] Styling captions inside \startcombination ... \stopcombination

2015-03-16 Thread Mojca Miklavec
the size of captions inside combinations, as in the following case for example (otherwise the subcaptions are too big in comparison): \setupcaptions[style={\switchtobodyfont[8pt]}] \setupexternalfigures[location={default}] \starttext \placefigure{Cows in \ConTeXt} {\startcombination

Re: [NTG-context] currentreferencerealpage wrong (how to detect even/odd pages?)

2015-03-16 Thread Hans Hagen
this doesn't seem to work well -- at least not within \placefigure I've tried this replacement in my \bild macro which should be equivalent (or better?) % \ifodd\bildpage \def\eo{o}\else \def\eo{e}\fi % \ifodd\bildpage \def\lr{r}\else \def\lr{l}\fi \dontleavehmode\signalrightpage

Re: [NTG-context] currentreferencerealpage wrong (how to detect even/odd pages?)

2015-03-16 Thread Harald Koenig
this doesn't seem to work well -- at least not within \placefigure I've tried this replacement in my \bild macro which should be equivalent (or better?) % \ifodd\bildpage \def\eo{o}\else \def\eo{e}\fi % \ifodd\bildpage \def\lr{r}\else \def\lr{l}\fi \dontleavehmode\signalrightpage

[NTG-context] Styling captions inside \startcombination ... \stopcombination

2015-03-14 Thread Mojca Miklavec
big in comparison): \setupcaptions[style={\switchtobodyfont[8pt]}] \setupexternalfigures[location={default}] \starttext \placefigure{Cows in \ConTeXt} {\startcombination[2*1] {\mirror{\externalfigure[cow][width=4cm]}}{First cow} {\externalfigure[cow][width=4cm]}{Second cow

Re: [NTG-context] Styling captions inside \startcombination ... \stopcombination

2015-03-14 Thread Hans Hagen
for example (otherwise the subcaptions are too big in comparison): \setupcaptions[style={\switchtobodyfont[8pt]}] \setupexternalfigures[location={default}] \starttext \placefigure{Cows in \ConTeXt} {\startcombination[2*1] {\mirror{\externalfigure[cow][width=4cm]}}{First cow

[NTG-context] Update text variables inside metapost

2015-03-07 Thread DesdeChaves
q; draw vertical; label(textext( \MPstring{labelcima} ), center cima); label(textext( \MPstring{labelesquerda} ), center esquerda); label(textext( \MPstring{labeldireita} ), center direita); \stopuniqueMPgraphic \starttext \placefigure[center, nonumber]{}{ \Bolha[size=6cm]{$C_m$ (g/dm\high

Re: [NTG-context] Float placement problem (layers)

2015-02-22 Thread Mari Voipio
On Fri, Feb 20, 2015 at 2:57 PM, Alan BRASLAU alan.bras...@cea.fr wrote: Why do you use a float at all? You can place your graphic in the layer without using \placefigure. Ah, this was the important thing. I've been placing graphics in floats for so long that I've forgotten there's another way

Re: [NTG-context] Float placement problem (layers)

2015-02-20 Thread Alan BRASLAU
at all? You can place your graphic in the layer without using \placefigure. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl

Re: [NTG-context] Float placement problem (layers)

2015-02-20 Thread Hans Hagen
of a graphic. Mari, Why do you use a float at all? You can place your graphic in the layer without using \placefigure. then that is the problem ... doing something vertical pageflow related inside a box ... indeed no float has to be used there Hans

Re: [NTG-context] Error with \prevdepth

2015-01-26 Thread Kip Warner
On Mon, 2015-01-26 at 11:07 +0100, Hans Hagen pra...@wxs.nl wrote: remeve the placefigure in that line, so : \midaligned {\externalfigure [Makeup/Images/Cartesian_Theatre.svg] [width=0.25\textwidth]} a midaligned is a hbox while a placefigure operates in the mvl Thanks

Re: [NTG-context] Error with \prevdepth

2015-01-26 Thread Hans Hagen
with the following error: tex errorerror on line 32 in file Handbook/Handbook.tex: ! You can't use `\prevdepth' in restricted horizontal mode Any help appreciated. remeve the placefigure in that line, so : \midaligned {\externalfigure [Makeup/Images

Re: [NTG-context] Error with \prevdepth

2015-01-26 Thread Hans Hagen
On 1/26/2015 7:26 PM, Kip Warner wrote: On Mon, 2015-01-26 at 11:07 +0100, Hans Hagen pra...@wxs.nl wrote: remeve the placefigure in that line, so : \midaligned {\externalfigure [Makeup/Images/Cartesian_Theatre.svg] [width=0.25\textwidth]} a midaligned is a hbox while

[NTG-context] Center two frames

2015-01-13 Thread Fabrice Couvreur
; draw p withcolor \MPcolor{Border} dashed evenly withpen pencircle scaled 1.2pt ; \stopuniqueMPgraphic \defineoverlay[borderline][\uniqueMPgraphic{borderline}] \placefigure[right,none]{}{ \start \switchtobodyfont[7pt] \startMPcode numeric u; u=0.7cm; z0=(0,0) ; z1=(2.5u,0) ; z2=(2.5u,2.5u) ; z3

Re: [NTG-context] Define a new command from the command \periods[n]

2015-01-06 Thread Alan BRASLAU
lines stop at the edge of the frame? \definefiller[dots][left=\dontleavehmode,right=\hskip\zeropoint] \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] \definecolor[H4][c=0.07, m=0.00, y=0.15, k=0.00] \starttext \startitemize[n][stopper={.},style=bold] \placefigure[right,none

Re: [NTG-context] Maximum width of a caption

2015-01-05 Thread Hans Hagen
=on][force] {\input tufte} \input tufte Desired behaviour: \placefigure[force]{\input tufte} {\hbox to .75\textwidth{\hss\framed[width=\textwidth,height=.2\textwidth]{}\hss}} \input tufte \stoptext I've seen an option maxwidth, but only in connection to \externalfigure[...][maxwidth=...]. I can

Re: [NTG-context] Maximum width of a caption

2015-01-05 Thread Mojca Miklavec
Desired behaviour: \placefigure[force]{\input tufte} {\hbox to .75\textwidth{\hss\framed[width=\textwidth,height=.2\textwidth]{}\hss}} \input tufte \stoptext I've seen an option maxwidth, but only in connection to \externalfigure[...][maxwidth=...]. I can cheat as on the third figure

Re: [NTG-context] Define a new command from the command \periods[n]

2015-01-05 Thread Hans Hagen
][stopper={.},style=bold] \placefigure[right,none]{}{ \startframedtext[ width=6cm, frame=on, framecolor=H1prime, location=middle, background=color, backgroundcolor=H4] \switchtobodyfont[10pt] Ingrédients (pour 4 personnes) \startitemize[1] \item \unit{1 kg} de pommes de terre

Re: [NTG-context] Define a new command from the command \periods[n]

2015-01-05 Thread Fabrice
] \placefigure[right,none]{}{ \startframedtext[ width=6cm, frame=on, framecolor=H1prime, location=middle, background=color, backgroundcolor=H4] \switchtobodyfont[10pt] Ingrédients (pour 4 personnes) \startitemize[1] \item \unit{1 kg} de pommes de terre \item \unit{60 g} de fromage râpé

Re: [NTG-context] Maximum width of a caption

2015-01-04 Thread Hans Hagen
,frame=on][force] {Some very small figure with not too much text: OK} \input tufte This can hardly be distinguished from the main text: \reservefigure [width=\textwidth,height=.2\textwidth,frame=on][force] {\input tufte} \input tufte Desired behaviour: \placefigure[force]{\input tufte} {\hbox

[NTG-context] Maximum width of a caption

2015-01-03 Thread Mojca Miklavec
with not too much text: OK} \input tufte This can hardly be distinguished from the main text: \reservefigure [width=\textwidth,height=.2\textwidth,frame=on][force] {\input tufte} \input tufte Desired behaviour: \placefigure[force]{\input tufte} {\hbox to .75\textwidth{\hss\framed[width=\textwidth

[NTG-context] new beta

2014-12-11 Thread Hans Hagen
}[match(chapter:ending)] \in{section}[match(section:ending)] \in{figure}[match(float:mess)] \in{figure}[match(figure:mess)] \in{figure (not found)}[match(section:mess)] \in{figure (not found)}[match(section:)] \in{figure}[match(mess)] \placefigure{What a mess}{} \chapter{About complex

[NTG-context] Table and framedtext

2014-12-05 Thread Fabrice Couvreur
\textwidth] \setupTABLE[row][first][background=color,backgroundcolor=mycolor] \bTR \bTD ${\cal P}_1$ et ${\cal P}_2$ sont {\bf sécants}. \eTD \bTD[nc=2] ${\cal P_1}$ et ${\cal P_2}$ sont {\bf parallèles}. \eTD \eTR \bTR \bTD \dontleavehmode\placefigure[] {${\cal P}_1$ et ${\cal P}_2$ sont {\bf

[NTG-context] How does \setupfloat work?

2014-11-29 Thread Mark Szepieniec
I'm trying to set a default width for figures with \setupfloat. However, the command doesn't seem to be picking up the width specification, even though the manual indicates it accepts a width= argument: \setupfloat[figure][width=2cm] \starttext \placefigure{}{\externalfigure[picture.png

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Hans Hagen
\placefigure{}{\externalfigure[picture.png]} \stoptext just \placefigure{}{\externalfigure[picture.png][width=2cm]} picture.png just gets inserted at its native size, rather than scaled to have the specified width. What am I doing wrong? (setting minwidth and/or maxwidth doesn't seem to work

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Mark Szepieniec
it accepts a width= argument: \setupfloat[figure][width=2cm] \starttext \placefigure{}{\externalfigure[picture.png]} \stoptext just \placefigure{}{\externalfigure[picture.png][width=2cm]} picture.png just gets inserted at its native size, rather than scaled to have the specified width

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Robert Blackstone
On 29 Nov 2014, at 11:49 , Mark Szepieniec mszep...@gmail.com wrote Sorry, I should have mentioned I was able to work around it by doing exactly that, but I'd rather not have to edit all the \placefigure instances if I decide to change the width. Also I'd like to use a different default

Re: [NTG-context] How does \setupfloat work?

2014-11-29 Thread Christoph Reller
it accepts a width= argument: \setupfloat[figure][width=2cm] \starttext \placefigure{}{\externalfigure[picture.png]} \stoptext just \placefigure{}{\externalfigure[picture.png][width=2cm]} picture.png just gets inserted at its native size, rather than scaled

<    1   2   3   4   5   6   7   8   9   10   >