[NTG-context] chapter-number prefixes on figure, etc, numbers, even in unnumbered section appearing in TOC

2019-05-31 Thread Sanjoy Mahajan
Dear List, The following, it seems, is a recurring question, which I had hoped to solve by digging in the test suite <https://wiki.contextgarden.net/Test_suite> -- but no luck. The problem is to have figures, list items, problems, etc. numbered with a chapter prefix (e.g. Figure 7.18

Re: [NTG-context] Extend figure to margin, or extend figure from margin to text

2019-05-30 Thread Zhichu
th=9in, height=11in] \setuppapersize [911] \setuplayout [backspace=1in% ,leftmargin=.5in% ,leftmargindistance=0.25in% ,width=5.5in% ,rightmargindistance=0.25in% ,rightmargin=2in% ] \definefloat [edgefigure] [figure] \setupfloat [edgefigure] [rightmargindistance=-\outercombitotal ,leftmargindistan

Re: [NTG-context] Extend figure to margin, or extend figure from margin to text

2019-05-29 Thread Zhichu
Dear Wolfgang, That's quick. Thank you so much. Best regards, Zhichu -- From:Wolfgang Schuster Sent At:2019 May 29 (Wed.) 17:55 To:陈之初 ; mailing list for ConTeXt users Subject:Re: [NTG-context] Extend figure to margin

Re: [NTG-context] Extend figure to margin, or extend figure from margin to text

2019-05-29 Thread Wolfgang Schuster
Zhichu schrieb am Mi., 29. Mai 2019, 10:30: > > Hi everyone, > > I am writing a book, in which all figures are placed in the margin. But > some graphics are too big to fit in the margin. I was wondering whether > there's an elegant way to use some room of the text body? > Take a look into the

[NTG-context] Extend figure to margin, or extend figure from margin to text

2019-05-29 Thread Zhichu
as the figure and the part in the margin should not affect other marginal notes: \showframe \starttext Hello\inright{Very very very long test notes.}, world! \startplacefigure [reference=fig:whatever, title={Test figure.}, location=outer] \hbox{% \framed

[NTG-context] Bug or not?

2019-05-16 Thread Hans van der Meer
the last two floats where [background=] changes the game.I wonder, is this intended behaviour? Or should one expect something different?\starttextTesting figure captions with \tex{setupframed[background="">\setupframed[background="">\placefigure[][]{\tex{setupframed[backgroun

Re: [NTG-context] inserting figure labels

2019-05-12 Thread Alan Braslau
On Sun, 12 May 2019 19:25:26 +0200 Hans van der Meer wrote: > Can I be absolutely sure that \placefigure[here,force] will not > invoke the float mechanism, but instead always effects an in-place > insertion? It will trigger a page break if there is not enough space "here". In fact, "force" is

Re: [NTG-context] inserting figure labels

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

Re: [NTG-context] inserting figure labels

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

[NTG-context] inserting figure labels

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

Re: [NTG-context] PDF output routine in lmtx

2019-04-30 Thread Thomas A. Schmitz
ell under mkiv. Under > lmtx, there is no output (blank sheet). In a document with a tikz-figure, the > tikz-figure (without labels, as they are text) is printed. Something with > text output must have changed, that makes it incompatible with the copier at > our school. I tried to prin

Re: [NTG-context] PDF output routine in lmtx

2019-04-29 Thread Christian Prim
s well > > under mkiv. Under lmtx, there is no output (blank sheet). In a document > > with a tikz-figure, the tikz-figure (without labels, as they are text) > > is printed. Something with text output must have changed, that makes it > > incompatible with the copier at our school.

Re: [NTG-context] PDF output routine in lmtx

2019-04-29 Thread Hans Hagen
, there is no output (blank sheet). In a document with a tikz-figure, the tikz-figure (without labels, as they are text) is printed. Something with text output must have changed, that makes it incompatible with the copier at our school. I tried to print with different drivers and also used the printers

[NTG-context] PDF output routine in lmtx

2019-04-29 Thread Christian Prim
-figure, the tikz-figure (without labels, as they are text) is printed. Something with text output must have changed, that makes it incompatible with the copier at our school. I tried to print with different drivers and also used the printers interface (direct print via usb-stick). No success

Re: [NTG-context] PDF output routine in lmtx

2019-04-29 Thread Christian Prim
. I just wanted to report, > that in lmtx our printer/copier (Ricoh 8200S or Ricoh 8110S) doesn't print > any character. A standard document as the MWE prints well under mkiv. Under > lmtx, there is no output (blank sheet). In a document with a tikz-figure, > the tikz-figure (witho

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

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

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

2019-04-29 Thread Rudolf Bahr
; \starttext > > > > \externalfigure > > [input.png] > > [width=100mm] > > > > \stoptext > > -- > > > > I append the output "MWE.pdf" and the input-figure "input.png" for > > comparison. &

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

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

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

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

Re: [NTG-context] suggestion for LMTX

2019-04-27 Thread Pablo Rodriguez
functionality only > available when you use LMTX, but that is something Wolfgang and I need > to figure out wrr the interface specification. Also, Alan and I need to > deal with in the MetaFun code and documentation. At some point Taco and > Mojca might want granularity in the Wiki. We'

Re: [NTG-context] suggestion for LMTX

2019-04-27 Thread Hans Hagen
to figure out wrr the interface specification. Also, Alan and I need to deal with in the MetaFun code and documentation. At some point Taco and Mojca might want granularity in the Wiki. We'll see. I have no clue when users will have switched to lmtx for production anyway, as it's not something we

Re: [NTG-context] Text around a figure

2019-04-24 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 24.04.2019 um 19:51: Hi Wolfgang, Thank you t works but why should you add this command ? ConTeXt has to update the number of remaining lines for side floats at the begin each each paragraph but when you start a paragraph in a group, e.g. {\bf ...} to information is

Re: [NTG-context] Text around a figure

2019-04-24 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 24.04.2019 um 19:44: Hi, Why does bold text touch the figure ? Thank you. Fabrice \definefloat    [recipe]    [figure] \setupfloat [recipe]    [default={right,none}] \starttext \placerecipe{}{   \setupbodyfont[8pt,pagella] \startMPcode     path p, q

[NTG-context] Text around a figure

2019-04-24 Thread Fabrice Couvreur
Hi, Why does bold text touch the figure ? Thank you. Fabrice \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \starttext \placerecipe{}{ \setupbodyfont[8pt,pagella] \startMPcode path p, q ; p:= unitsquare xyscaled (1.5cm

[NTG-context] Hyphenation questions

2019-04-24 Thread Dmitry Starostin
. In APS, I cannot figure out how to make a space appear between the numbers for cited sources. [1, p. 1,2, p. 2]. But [1, p. 1, 2, p. 2] is what is desired. In one case it did appear automatically, but all others don't work. \cite[righttext={{{, p.~1}},{{, p.~2}}}][book1,book2

[NTG-context] mathalign: specifying distance with glue

2019-04-23 Thread Aditya Mahajan
tial \bf B}{\partial t}, \NR \NC \nabla\cdot \bf B \NC= 0, \NC \nabla\times \bf B \NC= \mu_0{\bf j}+\varepsilon_0\mu_0 \frac{\partial \bf E}{\partial t}. \NR \stopmathalignment \stopformula \stoptext Looking at math-ali, I cannot figure out why that is happenin

Re: [NTG-context] Error concerning "pdfmapline"

2019-04-18 Thread Rudolf Bahr
t;\pdfmapline" command since years. > > Now it gives an error even when it isn't used in the text. > > "yfrak.pfb" is in the same directory. > > Are there any hints, please? > because it is not needed in mkiv (never really was as it was ignored) .. > most \pdf* com

Re: [NTG-context] Error concerning "pdfmapline"

2019-04-16 Thread Hans Hagen
most \pdf* commands are no-ops and most will go (i need to figure out what the bare minimum is that tikz needs) .. they are not user commands in context actually, there is (as part of the typescript interface): \loadmapline \loadmapfile not that they are

Re: [NTG-context] gnuplot-module broken under lmtx

2019-04-10 Thread Hans Hagen
EST  2     % GNUPLOT version: 5.0.5, terminal version: 1.0.0 (2011-11-05)  3     % See also http://wiki.contextgarden.net/Gnuplot  4     %  5     \startGNUPLOTgraphic[1]  6     string gnuplotversion; gnuplotversion := "5.0";  7     string termversion;    termversion    := "1.0"

[NTG-context] gnuplot-module broken under lmtx

2019-04-10 Thread Christian Prim
1 >> % Written by ConTeXt terminal for GNUPLOT on: 2019-04-10 16:12 CEST 2 % GNUPLOT version: 5.0.5, terminal version: 1.0.0 (2011-11-05) 3 % See also http://wiki.contextgarden.net/Gnuplot 4 % 5 \startGNUPLOTgraphic[1] 6 string gnuplotversion; gnuplotversion := "

Re: [NTG-context] Write your own module?

2019-03-28 Thread Willi Egger
riting a module, and test it using ConTeXt MkIV standalone > installation. > > Dived into wiki.contextgarden.net but was unable to find a basic tutorial on > how to tackle this. > > Yes, I did find a module template, but can't figure out where the module > should go such that Co

[NTG-context] Write your own module?

2019-03-26 Thread Geert Verhaag
Hi, I'd like to start writing a module, and test it using ConTeXt MkIV standalone installation. Dived into wiki.contextgarden.net but was unable to find a basic tutorial on how to tackle this. Yes, I did find a module template, but can't figure out where the module should go

[NTG-context] Question to floating figure and grid

2019-03-22 Thread Tomas Hala
Hi all, the following code worked in TL2017 but in TL2018 the unwanted vertical space appears before the 2nd knuth.tex. I do not know how to supress it. I also do not know how to deal with the distance between the text and the figure, I guessed that is controled by leftmargindistance

[NTG-context] How to define a new language?

2019-02-27 Thread Paul Hoffman
I tried to convert this to Lua code but couldn't figure out the right invocation of _mtxrun --script pattern --convert_. Then I wrote a minimal Context file and hoped it would pick up lang-foo.pat anyhow: - test-foo.tex - \installlanguage

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

2019-02-27 Thread Rudolf Bahr
On Wed, Feb 27, 2019 at 09:55:07AM +0100, Henning Hraban Ramm wrote: > Am 2019-02-24 um 09:11 schrieb Rudolf Bahr : > > > Yes, "~" was the reason for my failure. Its use seems to be linux specific > > only. > > No, it’s not Linux specific, but ConTeXt doesn’t expand shell variables. > >

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

2019-02-27 Thread Henning Hraban Ramm
Am 2019-02-24 um 09:11 schrieb Rudolf Bahr : > Yes, "~" was the reason for my failure. Its use seems to be linux specific > only. No, it’s not Linux specific, but ConTeXt doesn’t expand shell variables. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net

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

2019-02-24 Thread Jeong Dal
Dear Rudolf, > 2019. 2. 24. 오후 7:17, ntg-context-requ...@ntg.nl 작성: > > If you convert your sp-sizes into pt-sizes (1pt = 65536sp) you will get: > (45126287sp,31048991sp) = (688.5725pt,473.7700pt) > > What do you think, are these pt-values ok to you? In my opinion they seem to > be too >

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

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

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

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

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

2019-02-23 Thread Hans Hagen
On 2/23/2019 12:37 PM, Rudolf Bahr wrote: On Sat, Feb 23, 2019 at 11:56:32AM +0100, Hans Hagen wrote: On 2/23/2019 11:08 AM, Rudolf Bahr wrote: On Fri, Feb 22, 2019 at 12:59:55PM +0100, Peter Münster wrote: On Fri, Feb 22 2019, Rudolf Bahr wrote: The picture sizes in px One gets by invoking

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

2019-02-23 Thread Rudolf Bahr
On Sat, Feb 23, 2019 at 11:56:32AM +0100, Hans Hagen wrote: > On 2/23/2019 11:08 AM, Rudolf Bahr wrote: > > On Fri, Feb 22, 2019 at 12:59:55PM +0100, Peter Münster wrote: > > > On Fri, Feb 22 2019, Rudolf Bahr wrote: > > > > > > > The picture sizes in px One gets by invoking for instance graphics

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

2019-02-23 Thread Hans Hagen
On 2/23/2019 11:08 AM, Rudolf Bahr wrote: On Fri, Feb 22, 2019 at 12:59:55PM +0100, Peter Münster wrote: On Fri, Feb 22 2019, Rudolf Bahr wrote: The picture sizes in px One gets by invoking for instance graphics Magick's identify in a lua program: Or just img.scan(): \startluacode

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

2019-02-23 Thread Rudolf Bahr
On Fri, Feb 22, 2019 at 12:59:55PM +0100, Peter Münster wrote: > On Fri, Feb 22 2019, Rudolf Bahr wrote: > > > The picture sizes in px One gets by invoking for instance graphics Magick's > > identify > > in a lua program: > > Or just img.scan(): > > \startluacode > local image =

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

2019-02-22 Thread Peter Münster
On Fri, Feb 22 2019, Rudolf Bahr wrote: > The picture sizes in px One gets by invoking for instance graphics Magick's > identify > in a lua program: Or just img.scan(): \startluacode local image = img.scan{filename = "my-image.jpg"} logs.report("xsize", image.xsize) logs.report("ysize",

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

2019-02-22 Thread Rudolf Bahr
On Tue, Feb 19, 2019 at 10:48:38AM +0100, Bahr Rudolf wrote: > Hi All, > > from an external figure I normally know its width and height in px. > But I don't know its exact sizes in pt. When newsizing the figure > in a document (by the same width-to-height-ratio), I'll do that

Re: [NTG-context] Frame

2019-02-22 Thread Ursula Hermann
High list! Another example, instead oft he cow, I took another figure: \setuppapersize [A5] \setupexternalfigures [location=default] \setupindenting [yes, small] \setupwhitespace [small] \defineframedtext [prettyblock] [width=10cm, indenting={yes, small}, background=color

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

2019-02-19 Thread Rudolf Bahr
Hi All, from an external figure I normally know its width and height in px. But I don't know its exact sizes in pt. When newsizing the figure in a document (by the same width-to-height-ratio), I'll do that as some part of textwidth or textheight, in pt or mm, but not in px, i.e. by means

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

2019-02-17 Thread Hans Hagen
][width=4in, height=3in] \setupexternalfigures[resolution=200] \externalfigure[mill][width=4in, height=3in] \stoptext Hans, it would be nice, to apply this patch, to trigger new conversion, when figure dimensions change: --- grph-inc.lua~ 2019-02-14 17:04:12.0 +0100 +++ grph-inc.lua

[NTG-context] t-downsample.lua

2019-02-17 Thread Peter Münster
[resolution=200] \externalfigure[mill][width=4in, height=3in] \stoptext Hans, it would be nice, to apply this patch, to trigger new conversion, when figure dimensions change: --- grph-inc.lua~ 2019-02-14 17:04:12.0 +0100 +++ grph-inc.lua2019-02-17 08:45:38.129971581 +0100 @@ -864,6

Re: [NTG-context] markdown module vs pandoc

2019-02-15 Thread Aditya Mahajan
to the basic markdown syntax which I use frequently and second pandoc has better documentation. Thank you. Markdown is a loosely specified standard and sometimes it can be tricky to figure out how to get a particular behavior. That's correct - I was using reST in the past, but lack of support

Re: [NTG-context] markdown module vs pandoc

2019-02-15 Thread Gour
kdown syntax which I use frequently and second pandoc has > better documentation. Thank you. > Markdown is a loosely specified standard and sometimes it can be tricky to > figure out how to get a particular behavior. That's correct - I was using reST in the past, but lack of support f

Re: [NTG-context] markdown module vs pandoc

2019-02-15 Thread Aditya Mahajan
doc but I prefer using pandoc rather than the markdown module for two reasons. First, pandoc provides many extensions to the basic markdown syntax which I use frequently and second pandoc has better documentation. Markdown is a loosely specified standard and sometimes it can be tricky to figure

Re: [NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
Dear Wolfgang, >> I couldn’t figure out what relation is there between Theorems and Exam. > The numbers are correct with the latest beta. > > mtx-context | current version: 2019.02.10 17:43 > You are right. The example which I sent last time had no problem in

Re: [NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Wolfgang Schuster
\startTheorem in my book. So, I add "\setcounter[Exam][0]” before the \startchapter everytime. I couldn’t figure out what relation is there between Theorems and Exam. The numbers are correct with the latest beta. mtx-context | current version: 2019.02.10 17:43 Wol

[NTG-context] index problem: [entry not flushed]

2019-02-11 Thread Jeong Dal
t reset even though the new chapter began, for example, Example 2.3, 2.4, 3.5, 3.6 etc. However, I couldn’t make the same error with this code, It never happened without theorems, but it appeared when I added \startTheorem in my book. So, I add "\setcounter[Exam][0]” before the \startchapt

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-07 Thread Hans Hagen
aceholders in the pdf, if a figure is missing. The only info that the color profile is missing is in the log file. You don't see it. i assume that you choose some specific pdf reerence format anyway, \enabletrackers[backend.format] can spit out so

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-07 Thread Alan Braslau
y other programs hold your hand in this way. This also explains > > why these programs often lack in performance as well.) > > > > Alan > > > > You see placeholders in the pdf, if a figure is missing. The only info > that the color profile is missing is in the

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-07 Thread Jan U. Hasecke
final > run, but adding showstoppers leads to overhead and longer processing > times. People first coming to ConTeXt look for such bells and whistles > as many other programs hold your hand in this way. This also explains > why these programs often lack in performance as well.) > >

Re: [NTG-context] right figure at bottom of page can narrow text block on whole next page

2019-02-06 Thread Sanjoy Mahajan
archive.com/ntg-context@ntg.nl/msg86872.html in January > 2018). Thank you for those pointers. > The workaround that Hans suggests in that last post , adding the flag > 'high', almost resolves the issue in your example. Right -- or just shifting the figure upward by one paragraph or so.

Re: [NTG-context] right figure at bottom of page can narrow text block on whole next page

2019-02-06 Thread Rik Kabel
On 1/29/2019 06:48, Sanjoy Mahajan wrote: \definepapersize[bookcrop][width=137mm,height=221mm] \setuppapersize [bookcrop][bookcrop] \setuplayout[marking=on, location=middle, backspace=13.5mm, width=middle, topspace=32bp, header=10bp, headerdistance=26bp, footerdistance=16bp,

Re: [NTG-context] text flowing around images

2019-02-05 Thread Henri Menke
For LaTeX there is a tool called fig2sty which can take an XFig figure and transform it into a LaTeX sty file. Maybe you could adapt it to ConTeXt. https://www.ctan.org/pkg/fig2sty On 6/02/19 9:38 AM, Henning Hraban Ramm wrote: > No hints? > > If it’s not possible, I must redo the who

Re: [NTG-context] About the macro path intersectionpoint path with Metapost

2019-02-04 Thread Fabrice L
, Fabrice Couvreur (fabrice1.couvr...@gmail.com) a écrit: Hi, I would like to reproduce the attached figure. My problem is to create the points of intersection between the circles. It seems that my approach is not the right one. Thank you. Fabrice \starttext \startMPcode path p, q, r, b ; p

[NTG-context] About the macro path intersectionpoint path with Metapost

2019-02-03 Thread Fabrice Couvreur
Hi, I would like to reproduce the attached figure. My problem is to create the points of intersection between the circles. It seems that my approach is not the right one. Thank you. Fabrice \starttext \startMPcode path p, q, r, b ; p:= fullcircle scaled 6cm ; q:= fullcircle scaled 4cm

[NTG-context] right figure at bottom of page can narrow text block on whole next page

2019-01-29 Thread Sanjoy Mahajan
Dear List, A figure near the bottom of the page can narrow the text block on the whole next page. I noticed the problem when typesetting my (next) book. But the book is more a maximal than a minimal example. However, from it I made the minimal example included below that uses no external

Re: [NTG-context] textext with plain MetaFun

2019-01-21 Thread Henri Menke
_name->jobname {("test")&("-mpgraph.mpo")} {let} {fi} draw->addto.currentpicture.if.picture(EXPR0):also(EXPR0)else:doublepath(E XPR0)withpen.currentpen.fi._op_ textext@#(EXPR3)->begingroup.save._s_;string._s_;interim.labeloffset:=textextof fset;noftexpictures:=noftexpict

Re: [NTG-context] Update problems

2019-01-07 Thread Hans Hagen
work now for this document. I have others that might cause problems, too. Unfortunately, the error message only tells which page couldn’t be flushed but not what figure is causing issues. Going through a hundred figures and trying whether they work is somewhat painful. A more verbose error message

Re: [NTG-context] Update problems

2019-01-07 Thread Weber, Matthias
problems, too. Unfortunately, the error message only tells which page couldn’t be flushed but not what figure is causing issues. Going through a hundred figures and trying whether they work is somewhat painful. A more verbose error message would be helpful, or a hint what has changed with pdf import

[NTG-context] placing an MPGraphic/Lines over multiple table cells

2019-01-05 Thread Martin Althoff
uot; doesn't fill the frame). While I can easily place a "Z" into a single cell (in the example), I can't figure out how to cover multiple cells. Furthermore, I would need to do a lot of calculations to figure out the multiple layer placements, column positions, etc. With multiple tab

[NTG-context] Question about defining a path with Metapost

2018-12-20 Thread Fabrice Couvreur
Hi, I need to make a figure with shaded areas and I found this code proposed by Hans. Why does the definition of the r path that Hans proposed give the same result as what I propose ? Thank you. Fabrice \starttext \startMPpage[offset=2pt] path p, q, r ; pair z ; p := unitsquare scaled

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

2018-12-19 Thread Marco Patzer
On Wed, 19 Dec 2018 18:29:33 +0100 Hans Hagen wrote: > \setupfloat >[figure] >[default=left,margin=1cm] Thanks for the eye-opener. I realised I applied the margin on the item group instead of the float. Sometimes it's the simple thing

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

2018-12-19 Thread Hans Hagen
On 12/19/2018 1:15 PM, Marco Patzer wrote: Hi! The bullet of itemize lists runs into the boxes and caption of floats. How to add spacing so the bullet doesn't touch the float? Example: \setupexternalfigures [location=default] \setupfloat [figure] [default=left] \setupitemize

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

2018-12-19 Thread Marco Patzer
Hi! The bullet of itemize lists runs into the boxes and caption of floats. How to add spacing so the bullet doesn't touch the float? Example: \setupexternalfigures [location=default] \setupfloat [figure] [default=left] \setupitemize [packed, autointro] \starttext \startitemize

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

2018-12-16 Thread Wolfgang Schuster
”, and if the content does not fit, it will just enlarge 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

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

2018-12-14 Thread Taco Hoekwater
ntil >> 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 xtabl

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

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

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 is tha

[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
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 \externalfig

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

2018-12-02 Thread Hans Åberg
necessarily. 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 supe

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

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

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

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

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
ve two, 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

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

[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
, of 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

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
pening 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 as well, please

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