Re: [NTG-context] table cell minimum heights -- help needed

2018-12-14 Thread Aditya Mahajan
the height until it does fit. Needless to say: I want that same functionality from the ConTeXt table I am using to generate the PDF and not end up with text crossing row boundaries. And I cannot figure out how to do it, as neither bTABLE’s \bTD nor xtable’s \startxcell interpret a “minheight

[NTG-context] table cell minimum heights -- help needed

2018-12-13 Thread Taco Hoekwater
to say: I want that same functionality from the ConTeXt table I am using to generate the PDF and not end up with text crossing row boundaries. And I cannot figure out how to do it, as neither bTABLE’s \bTD nor xtable’s \startxcell interpret a “minheight" parameter. And whatever I put in “h

[NTG-context] External Figure add caption or alternative text for tagged pdf/x

2018-12-11 Thread Kelley, Claire
Hi All. I am trying to embed an image in a pdf so that when you open the pdf in acrobat or another reader the image is correctly tagged as an image and there is alternative text. So far I am able to export the back end tags so that I can see tags on tables and paragraphs, but the image comes th

Re: [NTG-context] indenting after placefigure

2018-12-06 Thread Hans van der Meer
>> I used \setupindenting[always,medium]. This works everywhere except >> after a figure placed with \placefigure. Why does placing the figure >> suppress the indent after it? And how can this behaviour be changed? > > I wonder whehter \setupfloat[figure][indentnext=yes] wo

Re: [NTG-context] indenting after placefigure

2018-12-06 Thread Pablo Rodriguez
On 12/6/18 6:10 PM, Hans van der Meer wrote: > I used \setupindenting[always,medium]. This works everywhere except > after a figure placed with \placefigure. Why does placing the figure > suppress the indent after it? And how can this behaviour be changed? I wonder whehter \setupflo

[NTG-context] indenting after placefigure

2018-12-06 Thread Hans van der Meer
I used \setupindenting[always,medium]. This works everywhere except after a figure placed with \placefigure. Why does placing the figure suppress the indent after it? And how can this behaviour be changed? dr. Hans van der Meer

Re: [NTG-context] Ending strings with non-break space in lang-txt.lua

2018-12-06 Thread Hans Hagen
On 12/5/2018 10:29 PM, Alan Braslau wrote: On Wed, 5 Dec 2018 19:47:31 +0100 Marco Patzer wrote: Hi! I've got a few unfortunate line breaks in my documents. In particular, breaks are introduced in between the string “page” and the number: See figure 1 at page 2. The reason is

Re: [NTG-context] Ending strings with non-break space in lang-txt.lua

2018-12-05 Thread Alan Braslau
On Wed, 5 Dec 2018 19:47:31 +0100 Marco Patzer wrote: > Hi! > > I've got a few unfortunate line breaks in my documents. In > particular, breaks are introduced in between the string “page” and > the number: > > See figure 1 at page > 2. > > The reason i

[NTG-context] Ending strings with non-break space in lang-txt.lua

2018-12-05 Thread Marco Patzer
Hi! I've got a few unfortunate line breaks in my documents. In particular, breaks are introduced in between the string “page” and the number: See figure 1 at page 2. The reason is that many strings in lang-txt.lua end in a space, rather than a non-break space: ["atpage"

[NTG-context] Text running of the page with default=top float paremeter

2018-12-05 Thread Marco Patzer
oes. I actually have set "default=auto, top, bottom". MWE: \definefloat [smallfigure] [smallfigures] [figure] \setupfloat [smallfigure] [default=outer] \setupfloat [figure] [default=top] %% commenting this fixes the issue \showframe \starttext \startplacefigure \extern

Re: [NTG-context] Typing Unicode subscript and superscript numbers

2018-12-02 Thread Hans Åberg
essarily. And being able to have untranslated >> throughput. > Using the available fallback mechanism that already can be done. I couldn't figure out how to do it, though. > This super/supscript stuff is a bit more tricky because when a superscript 2 > is in the font, and a

Re: [NTG-context] Which commands to use to show setups?

2018-11-25 Thread Wolfgang Schuster
: \startbuffer [definition] \definition [startxtable] %\definition [startxtable,startembeddedxtable] \stopbuffer \typebuffer [definition] \getbuffer  [definition] \page When you have a generated command (e.g. \tex {placefigure}): \startbuff

Re: [NTG-context] Which commands to use to show setups?

2018-11-25 Thread Tommaso Gordini
n] > \showdefinition [startxtable] > \stopbuffer > > \typebuffer [showdefinition] > \getbuffer [showdefinition] > > When you want to refer to the definition: > > \startbuffer [definition] > \definition [startxtable] > %\definition [startxtable,startembeddedxtable] > \stopbuf

Re: [NTG-context] Which commands to use to show setups?

2018-11-24 Thread Wolfgang Schuster
] \cmdbasicsetupinstance {placefloat} {figure} \cmdshortsetupinstance {placefloat} {figure} \cmdfullsetupinstance  {placefloat} {figure} \stopbuffer \typebuffer [instance] \getbuffer  [instance] \stoptext Wolfgang ___ If your

Re: [NTG-context] German introduction to context

2018-11-06 Thread Jan U. Hasecke
three, four brackets for options? The next showstopper is the define-setup system and the possibility to give names to your macros. I always thought: Well, there is a well defined system in it, I am only too dumb to grasp it. I discovered setup-en.pdf and tried to figure out how to read it. I d

Re: [NTG-context] hyphenation

2018-10-26 Thread Wolfgang Schuster
]{{\nohyphens\in{figure}[#1]}} Just an observation, not really a problem but maybe something waiting to be fixed. dr. Hans van der Meer ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] hyphenation

2018-10-26 Thread Hans Hagen
On 10/26/2018 1:38 PM, Hans van der Meer wrote: Using roman numbers in figures I encountered a case where XIII.9 was hyphenated into XI-II.9. A bit unclear, in my opinion. Easily repairable with something like \def\myfigure[#1]{{\nohyphens\in{figure}[#1]}} Just an observation, not really a

[NTG-context] hyphenation

2018-10-26 Thread Hans van der Meer
Using roman numbers in figures I encountered a case where XIII.9 was hyphenated into XI-II.9. A bit unclear, in my opinion. Easily repairable with something like \def\myfigure[#1]{{\nohyphens\in{figure}[#1]}} Just an observation, not really a problem but maybe something waiting to be fixed

Re: [NTG-context] Strange behavior with the command \inframed{}

2018-10-23 Thread Fabrice Couvreur
w.ntg.nl/mailman/listinfo/ntg-context >> webpage : http://www.pragma-ade.nl / http://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> wiki : http://contextgarden.net >> >> ___ > > \def

Re: [NTG-context] what defines the font size?

2018-10-16 Thread Hans Hagen
its own free will ;-) To stress the point, there is nothing that can intrinsically define the size of a font in the computer age. It’s partly arbitrary. It’s the same for clothes, actually. In the UK, my shirt size is a 15½ and my hat size is 7⅝. Go figure. so given that when picking up a

Re: [NTG-context] what defines the font size?

2018-10-16 Thread Arthur Reutenauer
ss the point, there is nothing that can intrinsically define the size of a font in the computer age. It’s partly arbitrary. It’s the same for clothes, actually. In the UK, my shirt size is a 15½ and my hat size is 7⅝. Go figure. Best,

Re: [NTG-context] Text around a table (xtables)

2018-10-10 Thread Fabrice Couvreur
lo > > > > Thank you. > > Fabrice > > > > \definefloat > > [recipe] > > [figure] > > > > \setupfloat > > [recipe] > > [default={right,none}] > > > > \starttext > > \placerecipe{}{% > > \startxtable

Re: [NTG-context] Text around a table (xtables)

2018-10-10 Thread Pablo Rodriguez
cells is 3.5cm. I hope it helps, Pablo > Thank you. > Fabrice > > \definefloat >     [recipe] >     [figure] > >   \setupfloat >     [recipe] >     [default={right,none}] > >   \starttext > \placerecipe{}{% >   \startxtable[align={middle,lohi},width

[NTG-context] Text around a table (xtables)

2018-10-10 Thread Fabrice Couvreur
Hello, Why is the text wrapping around the board or far too far ? Thank you. Fabrice \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \starttext \placerecipe{}{% \startxtable[align={middle,lohi},width=1.7 cm] \startxrow[background=color

Re: [NTG-context] embedded sounds

2018-10-10 Thread Pablo Rodriguez
I want to add the sound, so that the presentation is really played: http://www.free-culture.tk/. > Why not, rather, depend on a link opening an external file, > distributed with the pdf, letting the system figure out how this is > to be done? In my experience this works more generally. The

Re: [NTG-context] embedded sounds

2018-10-09 Thread Alan Braslau
end on a link opening an external file, distributed with the pdf, letting the system figure out how this is to be done? In my experience this works more generally. Alan ___ If your question is of interest to others a

[NTG-context] Implicit plots/level curves possible?

2018-10-07 Thread Mikael P. Sundqvist
attached figure. The closest I have found which is something MetaPost-like, is the levelcurve command in mfpic (see for example this answer https://tex.stackexchange.com/a/405527/52406). If this is not currently possible in MetaFun, what is the simplest way to proceed (I want the same style of

Re: [NTG-context] Can anyone connect context to R or python?

2018-10-06 Thread Aditya Mahajan
ts as follows: \starttext Consider an LTI system with the transfer function \placefigure[eq:sys] \startformula H(s) = \frac{1}{s^2 + 2s + 2} \stopformula The step response of the system is shown in Figure \in[fig:plot]. Note that the step response settles to a final value of

Re: [NTG-context] list of figures

2018-09-14 Thread cryo shock
I tried \completelist[figure] and it doesn't work for me either. Could you please try this one instead: \placelistoffigures[criterium=text] Cheers, Lars 2018-09-14 11:20 GMT+02:00, Andrea Valle : > Thanks Henri > > actually this works in my chapter but I have a book made

Re: [NTG-context] list of figures

2018-09-14 Thread Andrea Valle
Thanks Henri actually this works in my chapter but I have a book made up of various chapters coordinate by a main.tex file containing general setting and e.g. \input c_1_semiotics.tex % chapter \input c_2_conceptions.tex etc if I place \completelist[figure] in the main it does not work

Re: [NTG-context] list of figures

2018-09-14 Thread Henri Menke
On 14/09/18 20:50, Andrea Valle wrote: > Dear all, > > I have a very simple question. > > How do I get a list of figures? \starttext \completelist[figure] \startplacefigure[title={S. Reich, {\em Piano Phase}.}] \externalfigure[img/chap01/2][width=\textwidth] \stopplacefi

[NTG-context] Draw an ink imprint with Metafun

2018-08-30 Thread Fabrice Couvreur
Hello, The idea is to reproduce the ink mark of the figure below with Metafun [image: IMG_0691.jpg] Thank you Fabrice ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] Emacs + latest beta

2018-08-26 Thread Vladimir Lomov
a' resolvers | resolving | remembered file 'mtx-t-context.lua' resolvers | resolving | using suffix based filetype 'lua' resolvers | resolving | remembering file 'context.lua' using hash 'lua::context.lua' mtxrun | unknown scri

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Fabrice Couvreur
Hello, Thank you for your suggestions. Fabrice Le dim. 26 août 2018 à 15:19, Aditya Mahajan a écrit : > On Sun, 26 Aug 2018, Wolfgang Schuster wrote: > > > The normal alignment of figures is with the bottom of the figure on the > > baseline. > > > > You can control

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Aditya Mahajan
On Sun, 26 Aug 2018, Wolfgang Schuster wrote: The normal alignment of figures is with the bottom of the figure on the baseline. You can control the vertical alignment with a few box commands but what you should use depends on the context, in tables I would use 2 while in running text 3 can

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Wolfgang Schuster
The normal alignment of figures is with the bottom of the figure on the baseline. You can control the vertical alignment with a few box commands but what you should use depends on the context, in tables I would use 2 while in running text 3 can be better. Which alignment you’re using is your

[NTG-context] Blocks in margin with overflow of text

2018-08-22 Thread Fabrice Couvreur
, header=3\bodyfontsize, headerdistance=\bodyfontsize, bottom=3\bodyfontsize, location={middle}, margin=\measure{Margin}, rightmargin=4.5cm, marking=on, ] \definefloat [recipe] [figure] \setupfloat [recipe] [default={margin,none}] \defineconversionset [digit

Re: [NTG-context] future versions - synctex

2018-08-21 Thread Hans Hagen
On 8/21/2018 4:46 PM, Aditya Mahajan wrote: Are the x and y values in pts (post script points or big points?) measured from the top-left corner? afaik bottom up base points the script will look into the synctex file and figure out where to go to. Basically all the viewer needs to do is

Re: [NTG-context] future versions - synctex

2018-08-21 Thread Aditya Mahajan
s (post script points or big points?) measured from the top-left corner? the script will look into the synctex file and figure out where to go to. Basically all the viewer needs to do is react to a click/cursor/key combination and call mtxrun with the page and positions (basepoints in pdf coordin

Re: [NTG-context] future versions - synctex

2018-08-21 Thread Hans Hagen
see a few levels (basically words / lines) marked There is a script: mtxrun --script synctex basically all an editor has to do is call: mtxrun --script synctex --page=123 --x=400 --y=500 --editor=scite foo.synctex the script will look into the synctex file and figure out where to go to

Re: [NTG-context] referencing the equation

2018-08-09 Thread Henri Menke
I usually define my own reference formats, “ineq” for equations, “infig” for figures: \definereferenceformat[ineq][left=(,right=)] \definereferenceformat[infig][left=\labeltext{figure}] \starttext \starttext \placeformula \startformula \startalign \NC a_1 x + b_1 y \NC = c_1 \NR[eq:1] \NC

Re: [NTG-context] question regarding \placefloats

2018-08-08 Thread Alan Braslau
placefloats correctly to get a list of all floats? Floating objects or floats exist in many instances. One predefined instance is figure and a second is table. So \placelistofINSTANCEs will give you the list. You can define more floating objects, for example a sidebox, etc. The figure and

Re: [NTG-context] preventing endnotes from running off the page

2018-08-06 Thread Robert Zydenbos
top of the file and a \placenotes [footnote] at the bottom, where I wanted the notes to appear. (Why? Because I could not figure out how to keep the proper font formatting if I used \endnote without adding an explicit font command at the beginning of each endnote.) That apparently was a mistake

Re: [NTG-context] column-spanning floats

2018-08-01 Thread Dr. Thomas Möbius
externalfigure that was wider > > than the column width, the figure would automatically be moved to > > the top of _both_ columns on the next page. > > > > That was a bit tricky sometimes, but worked fine. However, when I > > run with the current mkiv beta, the figure

Re: [NTG-context] column-spanning floats

2018-07-31 Thread Taco Hoekwater
> On 31 Jul 2018, at 13:57, Taco Hoekwater wrote: > > Hi all, > > It used to be that in an example like the one attached where you were using > \startcolumns and used an \externalfigure that was wider than the column > width, > the figure would automatically be mo

[NTG-context] column-spanning floats

2018-07-31 Thread Taco Hoekwater
Hi all, It used to be that in an example like the one attached where you were using \startcolumns and used an \externalfigure that was wider than the column width, the figure would automatically be moved to the top of _both_ columns on the next page. That was a bit tricky sometimes, but

Re: [NTG-context] Placement of a figure made with TiKz

2018-07-29 Thread Hans Hagen
On 7/29/2018 1:01 PM, Fabrice Couvreur wrote: I do not understand why figure 2 does not fit correctly like the other two. Depends on what tikz does \useMPlibrary[dum] \usemodule[tikz] \usemodule[pgfplots] \pgfplotsset{compat=newest} \usetikzlibrary{positioning} \usetikzlibrary{calc

[NTG-context] Placement of a figure made with TiKz

2018-07-29 Thread Fabrice Couvreur
Hello, I do not understand why figure 2 does not fit correctly like the other two. Thank you Fabrice \useMPlibrary[dum] \usemodule[tikz] \usemodule[pgfplots] \pgfplotsset{compat=newest} \usetikzlibrary{positioning} \usetikzlibrary{calc} \setuplayout [height=middle, width=middle

Re: [NTG-context] Issue with page break at \blank samepage

2018-07-27 Thread Joseph Canedo
tion (but esp the specific tricky side float stuff will only work ok in an upcoming luatex as i am not going to figure out some temp solution) Hans - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Issue with page break at \blank samepage

2018-07-27 Thread Hans Hagen
ms that at some point (aroudn end this year) i want to more or less freeze .. till then betas can differ (which is why they're betas) i have a solution (but esp the specific tricky side float stuff will only work ok in an upcoming luatex as i am not going to figure out some t

Re: [NTG-context] Issues with vertical spacing in simple case

2018-07-19 Thread Joseph Canedo
-context] Issues with vertical spacing in simple case Thanks for the extended explanation. I guess I need to figure out how to create a MWE that reproduces the issue. Provenance : Courrier pour Windows 10 De : Hans Hagen Envoyé le :jeudi 19 juillet 2018 09:35 À : Joseph Canedo; mailing list for

Re: [NTG-context] Issues with vertical spacing in simple case

2018-07-19 Thread Joseph Canedo
Thanks for the extended explanation. I guess I need to figure out how to create a MWE that reproduces the issue. Provenance : Courrier pour Windows 10 De : Hans Hagen Envoyé le :jeudi 19 juillet 2018 09:35 À : Joseph Canedo; mailing list for ConTeXt users Objet :Re: [NTG-context] Issues with

Re: [NTG-context] *** Spam *** Figure captions: "Fig." instead "Figure"

2018-07-13 Thread Procházka Lukáš Ing .
Hello, thank you - I supposed another \setup for changing the text... Bets regards, Lukas On Fri, 13 Jul 2018 10:44:56 +0200, Lutz Haseloff wrote: Hi Lukas, I use \setuplabeltext[de][figure=Bild ] You should use \setuplabeltext[en][figure=Fig. ] Greetings Lutz Am 13. Juli 2018 10:30

Re: [NTG-context] *** Spam *** Figure captions: "Fig." instead "Figure"

2018-07-13 Thread Lutz Haseloff
Hi Lukas, I use \setuplabeltext[de][figure=Bild ] You should use \setuplabeltext[en][figure=Fig. ] Greetings Lutz Am 13. Juli 2018 10:30:22 MESZ schrieb "Procházka Lukáš Ing." : >Hello, > >what is the way to change caption text for figures to be "Fig." instead &g

[NTG-context] Figure captions: "Fig." instead "Figure"

2018-07-13 Thread Procházka Lukáš Ing .
Hello, what is the way to change caption text for figures to be "Fig." instead of "Figure"? \setupcaptions[numberstopper={.},] changes "Figure 1" to "Figure 1.", but is there a similar key for the text? (\setupcations[prefix=] allows only "

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Hans Hagen
On 7/8/2018 11:02 AM, Marco Patzer wrote: On Sun, 8 Jul 2018 10:39:52 +0200 Hans Hagen wrote: On 7/8/2018 1:45 AM, Marco Patzer wrote: On Sat, 7 Jul 2018 14:27:38 -0600 Alan Braslau wrote: For "historic" reasons, draw externalfigure "cow" scaled 5cm ; normal

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Marco Patzer
On Sun, 8 Jul 2018 10:39:52 +0200 Hans Hagen wrote: > On 7/8/2018 1:45 AM, Marco Patzer wrote: > > On Sat, 7 Jul 2018 14:27:38 -0600 > > Alan Braslau wrote: > > > >> For "historic" reasons, > >> draw externalfigure "cow" scaled

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-08 Thread Hans Hagen
On 7/8/2018 1:45 AM, Marco Patzer wrote: On Sat, 7 Jul 2018 14:27:38 -0600 Alan Braslau wrote: For "historic" reasons, draw externalfigure "cow" scaled 5cm ; normalizes the figure to a square. This will not be changed as it is a very old feature of MetaFun. The s

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-07 Thread Marco Patzer
On Sat, 7 Jul 2018 14:27:38 -0600 Alan Braslau wrote: > For "historic" reasons, > draw externalfigure "cow" scaled 5cm ; > normalizes the figure to a square. This will not be changed as it is a > very old feature of MetaFun. > > The solution is >

Re: [NTG-context] Scale image in MetaPost, maintaining aspect ratio

2018-07-07 Thread Alan Braslau
externalfigure [cow][width=5cm] > > \startMPcode > draw externalfigure "cow" scaled 5cm; > \stopMPcode > \stoptext For "historic" reasons, draw externalfigure "cow" scaled 5cm ; normalizes the figure to a square. This will not be changed a

Re: [NTG-context] Position of layer in foreground

2018-06-28 Thread Marcus Vinicius Mesquita
Thank you, Wolfgang. On Thu, Jun 28, 2018, 16:16 Wolfgang Schuster wrote: > > Marcus Vinicius Mesquita > 28. Juni 2018 um 01:23 > > Dear List, > > In the MWE below, I expected the numbers to appear above the cow figure. > What am I missing? > > > \definefo

Re: [NTG-context] Position of layer in foreground

2018-06-28 Thread Wolfgang Schuster
Marcus Vinicius Mesquita <mailto:marcusvinicius.mesqu...@gmail.com> 28. Juni 2018 um 01:23 Dear List, In the MWE below, I expected the numbers to appear above the cow figure. What am I missing? \definefont [Title] [SerifBold at 42pt] \starttext \placefigure[][]{Cow} {\externalfigu

[NTG-context] Position of layer in foreground

2018-06-27 Thread Marcus Vinicius Mesquita
Dear List, In the MWE below, I expected the numbers to appear above the cow figure. What am I missing? \definefont [Title] [SerifBold at 42pt] \starttext \placefigure[][]{Cow} {\externalfigure[cow][width=.5\textwidth]} \definelayer[myfigure][x=6cm,y=6cm,preset=middle] \setlayer[myfigure

Re: [NTG-context] Table generator : Issues with borders and rotated cells

2018-06-27 Thread Wolfgang Schuster
ble to fix. 1/ I have many troubles with borders, because I can't set the color and the width of each border. Instead, I use "fake rows" and "fake cells" when it is necessary. However, I can't figure out how to set the height of a row to 0.4pt. It's always bigger.

Re: [NTG-context] MetaPost shading broken with latest beta

2018-06-24 Thread Hans Hagen
On 6/24/2018 12:17 AM, Adam Reviczky wrote: Hi, Using the shading function in a metapost image the whole page is filled in instead of the figure that defines it. Minimal example as from the metafun manual 8.3.3 (http://www.pragma-ade.nl/general/manuals/metafun-p.pdf): \starttext \startMPcode

[NTG-context] MetaPost shading broken with latest beta

2018-06-23 Thread Adam Reviczky
Hi, Using the shading function in a metapost image the whole page is filled in instead of the figure that defines it. Minimal example as from the metafun manual 8.3.3 (http://www.pragma-ade.nl/general/manuals/metafun-p.pdf): \starttext \startMPcode fill fullsquare xyscaled (1cm,1cm

Re: [NTG-context] beta

2018-06-23 Thread Hans Hagen
lls...) The error is triggered by this line: context( "\\setlayer[layername]{\\externalfigure[figure.pdf][scale=900]}" ) Since it's a pdf figure, it should be linked to the new pdf library. no, more to a bit strick checking in image settings in the old bin (less

Re: [NTG-context] bidi in footnotes

2018-06-23 Thread Hans Hagen
to handle footnote typography options? On the surface, it appears to be overkill. For the declaration \setupdirections[bidi=global] shouldn't that mean that bidi is applied, well, globally? The same holds for \setupalign[verytolerant], for example, that does not get applied to a (figure

Re: [NTG-context] bidi in footnotes

2018-06-22 Thread Idris Samawi Hamid ادريس سماوي حامد
ears to be overkill. For the declaration \setupdirections[bidi=global] shouldn't that mean that bidi is applied, well, globally? The same holds for \setupalign[verytolerant], for example, that does not get applied to a (figure,table) caption... These environments (captions, footnotes, ...

Re: [NTG-context] beta

2018-06-22 Thread MF
> > > Do you get the same error message with the following minimal example: > > \starttext > \externalfigure[figure] > \stoptext > Yes, of course, same error; BTW, the pdf i'm us

Re: [NTG-context] beta

2018-06-22 Thread Wolfgang Schuster
calls...) The error is triggered by this line: context( "\\setlayer[layername]{\\externalfigure[figure.pdf][scale=900]}" ) Since it's a pdf figure, it should be linked to the new pdf library. Do you get the same error message with the following minimal example: \starttext \ex

Re: [NTG-context] beta

2018-06-22 Thread MF
this line: context( "\\setlayer[layername]{\\externalfigure[figure.pdf][scale=900]}" ) Since it's a pdf figure, it should be linked to the new pdf library. Best wishes, Massi ___ If your question is of

Re: [NTG-context] bidi in footnotes

2018-06-21 Thread Alan Braslau
gt; \setupdirections[bidi=global] > > shouldn't that mean that bidi is applied, well, globally? The same holds for \setupalign[verytolerant], for example, that does not get applied to a (figure,table) caption... These environments (captions, footnotes, ...) inherit their setting

[NTG-context] Table generator : Issues with borders and rotated cells

2018-06-18 Thread Xavier Dionne
d the width of each border. Instead, I use "fake rows" and "fake cells" when it is necessary. However, I can't figure out how to set the height of a row to 0.4pt. It's always bigger. So, instead I use "location=hanging" on this row but, because of this, border

Re: [NTG-context] metafun: error when I call the same function twice consecutively.

2018-05-31 Thread Henri Menke
On 01/06/18 14:22, Jeong Dal wrote: Hi, I defined a function using MetaFun, and call it to draw a figure. It is OK when I call it once. But there is an error when it runs the same function second time. (it stops when it call fap(3,2) after fap(2,2)) I have no idea what is wrong and how to

[NTG-context] metafun: error when I call the same function twice consecutively.

2018-05-31 Thread Jeong Dal
Hi, I defined a function using MetaFun, and call it to draw a figure. It is OK when I call it once. But there is an error when it runs the same function second time. (it stops when it call fap(3,2) after fap(2,2)) I have no idea what is wrong and how to fix it. Would you please tell me what I

Re: [NTG-context] Defining command with optional and mandatory arguments

2018-05-24 Thread Alan Braslau
quot;mandatory" arguments are contained in curly braces and brackets indicate "optional" arguments. As Taco states below, curly braces not only give grouping but generally are used for objects to be typeset, as for \in{Figure}{a} [fig:ref]. For new users, it is worth repeating here

Re: [NTG-context] roadmap

2018-05-16 Thread Fabrice L
ome thoughts on the two main components: MkIV and LuaTeX. > > ConTeXt MkIV: > > - Check if some mechanism can (by now) be simplified due to LuaTeX > extension introduced the last few years that can be considered stable by > now. This has a low impact as we already use Lua a lot. >

Re: [NTG-context] roadmap

2018-05-14 Thread Henri Menke
mechanism can (by now) be simplified due to LuaTeX extension introduced the last few years that can be considered stable by now. This has a low impact as we already use Lua a lot. - Figure out what mechanism in ConTeXt are bottlenecks in performance if there are such bottlenecks at all. We

[NTG-context] roadmap

2018-05-14 Thread Hans Hagen
due to LuaTeX extension introduced the last few years that can be considered stable by now. This has a low impact as we already use Lua a lot. - Figure out what mechanism in ConTeXt are bottlenecks in performance if there are such bottlenecks at all. We need user input on this. - Get rid of

[NTG-context] blank line at the beginning of the theorem or proof

2018-05-12 Thread Jeong Dal
Dear all, placing a figure at the right or left of the text using \placefigure[right][]{}{} insert at the begining of the paragraph under the enumerations while there is no blank line if we comment out \placefigure. See the below sample. Is there a way to make text begin from the same line of

Re: [NTG-context] using lua fonts

2018-05-09 Thread Hans Hagen
ntal) for instance, the effects feature has a sort of sub syntax that suits context feature definitions, so for latex you probably need to map onto that somehow ... i happily leave that to others to figure out as i don't want to impose something (the same is true for variable fonts) the big f

Re: [NTG-context] Horizontal line after text in an environment

2018-04-26 Thread Fabrice Couvreur
al >> line is well below the figure. However when the height of text is not >> sufficient, the position of the line is not correct and I would like it >> also below the figure. >> > > \flushsidefloats > >> Thanks >> Fabrice >> >> >&g

Re: [NTG-context] Horizontal line after text in an environment

2018-04-25 Thread Hans Hagen
On 4/25/2018 4:59 PM, Fabrice Couvreur wrote: Hello, In this environment, when the text has sufficient height, the horizontal line is well below the figure. However when the height of text is not sufficient, the position of the line is not correct and I would like it also below the figure

[NTG-context] Horizontal line after text in an environment

2018-04-25 Thread Fabrice Couvreur
Hello, In this environment, when the text has sufficient height, the horizontal line is well below the figure. However when the height of text is not sufficient, the position of the line is not correct and I would like it also below the figure. Thanks Fabrice \setuptolerance[stretch,verytolerant

[NTG-context] Asymptote and Context

2018-04-19 Thread Context NTG
-outname \externalfilteroutputfile}, output=\externalfilterbasefile.pdf, cache=yes, readcommand=\ReadImage,] \define[1]\ReadImage{\externalfigure[#1]} \starttext Testing if we can include an asymptote image \startplacefigure[location={here}, title={An Asymptote figure}] \startASY unitsize(1cm); d

[NTG-context] numberstopper in \setupcaptions

2018-04-19 Thread Alan Braslau
Hello list members, I am not sure how to achieve the following functionality: Using \startplacefigure, I would like to place a number stopper *only* when the caption text is non-empty, i.e. Figure 1 Figure 2: A cow This would be achieved through \setupcaption [figure] using numberstopper= I

Re: [NTG-context] Reference links with focus=standard option

2018-04-13 Thread Lawrence Bell
Hans can fix it. >> Dear all, >> >> This is a long standing feature request reported multiple times by >> myself and others with MWEs in >> https://www.mail-archive.com/ntg-context@ntg.nl/msg79620.html and >> https://www.mail-archive.com/ntg-context@ntg.nl/msg79727

Re: [NTG-context] Reference links with focus=standard option

2018-04-12 Thread Henri Menke
> https://www.mail-archive.com/ntg-context@ntg.nl/msg79620.html and > https://www.mail-archive.com/ntg-context@ntg.nl/msg79727.html. > > Another MWE in which the link is non-functional: > > \setupexternalfigures[location={local,global,default}] > \setupinteraction[state=start,

Re: [NTG-context] Reference links with focus=standard option

2018-04-12 Thread Christoph Reller
MWEs in https://www.mail-archive.com/ntg-context@ntg.nl/msg79620.html and https://www.mail-archive.com/ntg-context@ntg.nl/msg79727.html. Another MWE in which the link is non-functional: \setupexternalfigures[location={local,global,default}] \setupinteraction[state=start, focus=standard] \starttext \a

Re: [NTG-context] \setupfloatcaption align=

2018-04-11 Thread Hans Hagen
, verytolerant and stretch. None of this appears to work. \setupcaption [figure] [align=verytolerant] is ignored, and \setupcaption [figure] [location={bottom,verytolerant}] gives unexpected and surprising results. I cheat, and use \setupcaption [figure] [style={\setupalign[verytolerant]}] but this is

[NTG-context] \setupfloatcaption align=

2018-04-11 Thread Alan Braslau
to work. \setupcaption [figure] [align=verytolerant] is ignored, and \setupcaption [figure] [location={bottom,verytolerant}] gives unexpected and surprising results. I cheat, and use \setupcaption [figure] [style={\setupalign[verytolerant]}] but this is hardly a proper solution. Question: Why do

Re: [NTG-context] Reference links with focus=standard option

2018-04-11 Thread Lawrence Bell
\startchemicalformula > \chemical{(C_2H_5)_2Zn}{DEZ} > \stopchemicalformula > \stopplacechemical > > \placefigure[here][fl:ref]{Cow}{\externalfigure[cow]} > > formula \in[ch:ref] > > f

Re: [NTG-context] Reference links with focus=standard option

2018-04-11 Thread Pablo Rodriguez
ion [state=start, focus=standard] \starttext \startplacechemical[reference=ch:ref] \startchemicalformula \chemical{(C_2H_5)_2Zn}{DEZ} \stopchemicalformula \stopplacechemical \placefigure[here][fl:ref]{Cow}{\externalfigure[cow]} formula \in[ch:ref] f

Re: [NTG-context] Text overflowing on a figure included in a float

2018-04-09 Thread Fabrice Couvreur
Hi Hans, It's true I wanted to talk about style and not class. I added \mainlanguage [fr]. Fabrice 2018-04-09 19:44 GMT+02:00 Hans Hagen : > On 4/9/2018 6:33 PM, Fabrice Couvreur wrote: > >> Hi Hans, >> The solution you propose fixes the problem with the attached file, thanks. >> However, the pr

Re: [NTG-context] Text overflowing on a figure included in a float

2018-04-09 Thread Hans Hagen
On 4/9/2018 6:33 PM, Fabrice Couvreur wrote: Hi Hans, The solution you propose fixes the problem with the attached file, thanks. However, the problem is not solved if I use the class you created for the document ​ fonts-mkiv.​ class? you mean the style? well, it's for that manual so for english

Re: [NTG-context] Text overflowing on a figure included in a float

2018-04-09 Thread Fabrice Couvreur
t;> Hello, >> Sorry if the example is not minimal but otherwise it would be difficult >> to explain the problem. The text overflows on the figure and I do not know >> how to correct this. >> > > By choosing the right language: > > \mainlanguage[fr] > > or i

Re: [NTG-context] Text overflowing on a figure included in a float

2018-04-08 Thread Hans Hagen
On 4/8/2018 11:08 AM, Fabrice Couvreur wrote: Hello, Sorry if the example is not minimal but otherwise it would be difficult to explain the problem. The text overflows on the figure and I do not know how to correct this. By choosing the right language: \mainlanguage[fr] or increasing the

[NTG-context] Text overflowing on a figure included in a float

2018-04-08 Thread Fabrice Couvreur
Hello, Sorry if the example is not minimal but otherwise it would be difficult to explain the problem. The text overflows on the figure and I do not know how to correct this. Thank you Fabrice \usemodule[pgfplots] \pgfplotsset{compat=newest} \starttext \placefigure[right,none]{}{ \hbox{\framed

[NTG-context] Wrong section space after placefigure with newcolumnsets

2018-04-05 Thread Charles Vejnar
Hi, I am placing figures in a columnset. The next header (section, subsection...) following the figure has always missing vertical space. See the normal space after "One subsection" and "Four subsection" but reduced space after "Two subsection" and "Thre

<    5   6   7   8   9   10   11   12   13   14   >