[NTG-context] checking whether file is landscape or portrait

2020-01-28 Thread Pablo Rodriguez
bad of abusing the ConTeXt source in such a miserable way. But I’m afraid this is the best I can. Is there no standard way to check portrait or landscape on a given figure? A conditional for that would be useful. At least, I would like to know how to get image dimension numbers suitable to be deplo

[NTG-context] margintext and floats in the margin

2020-01-26 Thread Otared Kavian
Hi, Is it possible to put some short notes in the margin, together with a float? Below is an example, which puts the float on top of the text in the margin. The option « stack=yes » works fine for the margintext when there is no float, but it does not seems to be an option which puts the figure

Re: [NTG-context] characterspacing not always working in LMTX

2020-01-15 Thread Hans Hagen
to trace this to hopefully figure out what the problem is. we really need an mwe ... as it's puzzling why lmtx is different (uses the same code so must be some side effect) Hans - Hans Hagen

Re: [NTG-context] characterspacing not always working in LMTX

2020-01-14 Thread Thomas Savary
gt; Hello, > > > > With LMTX (MkIV is fine) characterspacing (I use frenchpunctuation) is not > applied sometimes (ie no spacing before colon for example) in some parts of > the text. Unfortunately so far I cannot provide a MWE so I am wondering if > there is a way to trace thi

Re: [NTG-context] characterspacing not always working in LMTX

2020-01-14 Thread Wolfgang Schuster
to trace this to hopefully figure out what the problem is. You can enable tracing with \enabletrackers[typesetters.spacing] Wolfgang ___ If your question is of interest to others as well, please add an entry

[NTG-context] characterspacing not always working in LMTX

2020-01-14 Thread Joseph
Hello, With LMTX (MkIV is fine) characterspacing (I use frenchpunctuation) is not applied sometimes (ie no spacing before colon for example) in some parts of the text. Unfortunately so far I cannot provide a MWE so I am wondering if there is a way to trace this to hopefully figure out what

Re: [NTG-context] background color of text in contour(former: ntg-context Digest, Vol 186, Issue 61)

2019-12-29 Thread Hans Hagen
On 12/28/2019 9:27 PM, Jeong Dal wrote: Dear Hans, Thank you for the fix. Background color is OK now. A new problem in the caption: Since width of the figure is narrower than the width of the line "x = [0,12.555]; y = [-6,6];”, “y =“ is written over 12.555. Is there any option to sup

Re: [NTG-context] background color of text in contour(former: ntg-context Digest, Vol 186, Issue 61)

2019-12-29 Thread Hans Hagen
On 12/28/2019 9:27 PM, Jeong Dal wrote: Dear Hans, Thank you for the fix. Background color is OK now. A new problem in the caption: Since width of the figure is narrower than the width of the line "x = [0,12.555]; y = [-6,6];”, “y =“ is written over 12.555. Is there any option to sup

Re: [NTG-context] background color of text in contour(former: ntg-context Digest, Vol 186, Issue 61)

2019-12-28 Thread Jeong Dal
Dear Hans, Thank you for the fix. Background color is OK now. A new problem in the caption: Since width of the figure is narrower than the width of the line "x = [0,12.555]; y = [-6,6];”, “y =“ is written over 12.555. Is there any option to suppress the caption x, y since there are nu

[NTG-context] new beta

2019-12-27 Thread Hans Hagen
#1 x x X\par} \definedfont[Serif*TestC]\dorecurse{3}{#1 x x X\par} \stoptext --- 2 hanging captions --- % a follow up on HM request / WS discussion \setupexternalfigures[location=default] \setupcaption

Re: [NTG-context] ntg-context Digest, Vol 186, Issue 61

2019-12-27 Thread Hans Hagen
On 12/26/2019 1:44 PM, Jeong Dal wrote: Dear Hans, I read the “luametafun.pdf” and run the codes one by one. It is a really nice to have those figures easily. During the reading, I found that there is a difference between the figure in the manual and the output of my run. I run the following

Re: [NTG-context] ntg-context Digest, Vol 186, Issue 61

2019-12-26 Thread Jeong Dal
Dear Hans, I read the “luametafun.pdf” and run the codes one by one. It is a really nice to have those figures easily. During the reading, I found that there is a difference between the figure in the manual and the output of my run. I run the following code at page 24-25 in “luametafun.pdf

Re: [NTG-context] Tent style cards

2019-12-22 Thread Pavneet Arora
-list daemon will let through a PDF, but I am enclosing the current (almost final) version of the table place card (with my daughter's name). The figure to the left is an Apollonius Gasket of tangential circles made with MetaPost signifying all the family connections that each partner brings

Re: [NTG-context] Style for captions

2019-12-18 Thread Otared Kavian
t;>> >>> Best regards: Otared >>> PS: here is the example (not so minimal, sorry…) >>> % begin example-caption.tex >>> \setupcaption[figure][ >>> headstyle={\bix}, >>> style={\itx}] >> &g

Re: [NTG-context] Style for captions

2019-12-18 Thread Wolfgang Schuster
that a smaller size applies also to the math formula? Best regards: Otared PS: here is the example (not so minimal, sorry…) % begin example-caption.tex \setupcaption[figure][ headstyle={\bix}, style={\itx}] style={\switchtobodyfont[small]\setupinterlinespace\it} \setupcaption

Re: [NTG-context] Style for captions

2019-12-18 Thread Otared Kavian
formula? >> >> Best regards: Otared >> PS: here is the example (not so minimal, sorry…) >> % begin example-caption.tex >> \setupcaption[figure][ >> headstyle={\bix}, >> style={\itx}] > > style={\switchtobodyfont[small]\setupinterlinespace\it

Re: [NTG-context] Style for captions

2019-12-18 Thread Aditya Mahajan
formula? Best regards: Otared PS: here is the example (not so minimal, sorry…) % begin example-caption.tex \setupcaption[figure][ headstyle={\bix}, style={\itx}] style={\switchtobodyfont[small]\setupinterlinespace

[NTG-context] Style for captions

2019-12-18 Thread Otared Kavian
is the example (not so minimal, sorry…) % begin example-caption.tex \setupcaption[figure][ headstyle={\bix}, style={\itx}] \starttext \startluacode function weierstrass(n,x) local S = 0 for k = 0, n do S = S + 2^(-k)*math.cos

Re: [NTG-context] Very strange behaviour of itemize, \quotation and \dots

2019-12-17 Thread Hans Hagen
This item \quotation{\dots is not shown correctly}} \stopitemize \stoptext % end file: bug-itemize-lmtx.tex took me a while to figure out that it is actually an engine issue (obscured in luatex but exposed in luametatex) fixed in next beta Hans

Re: [NTG-context] R module

2019-11-24 Thread Aditya Mahajan
the result. So it is much simpler than an ffi binding. FFI binding will be faster, but requires more work (I once tried to figure out if I could create ffi bindings for octave, and gave up). Aditya___ If your question

Re: [NTG-context] context command line interface documentation?

2019-11-19 Thread Philipp A.
> > and on an error an html file is generated (old feature) ... i still > couldn't figure out a way to reliable launch a browser and target the > same tab (so autolaunc

Re: [NTG-context] context command line interface documentation?

2019-11-19 Thread Hans Hagen
Concerning errors, one can say context --directives="system.showerror" somefile and on an error an html file is generated (old feature) ... i still couldn't figure out a way to reliable launch a browser and target the same tab (so autolaunch is disabled for n

Re: [NTG-context] Text and tree side by side in a framedtext environment

2019-11-17 Thread Fabrice Couvreur
> side, but it does not work. > Thanks for your help. > Fabrice > > \usemodule[tikz] > \usetikzlibrary[trees] > > \definefloat > [recipe] > [figure] > > \setupfloat > [recipe] > [default={right,nonumber}] > \starttext > \startframed

Re: [NTG-context] developer not verified error

2019-11-16 Thread Mojca Miklavec
rse with each new version). If it doesn't work, we'll need to figure out how exactly to do the notarisation (including paying 100 USD per year, which sounds stupid enough from principle alone), and in any case we need to find a way to make lmtx work for everyone. Mojca

[NTG-context] Text and tree side by side in a framedtext environment

2019-11-16 Thread Fabrice Couvreur
Hello, I want to use a text frame to put text and a probability tree side by side, but it does not work. Thanks for your help. Fabrice \usemodule[tikz] \usetikzlibrary[trees] \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,nonumber}] \starttext

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

2019-10-30 Thread Marco Patzer
i! > >>> > >>> Some images run into each other when using floats. The following > >>> example illustrates this. The second image (or frame) runs into > >>> the side figure frame. How to prevent this? > >>> > >>> \setu

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

2019-10-30 Thread Wolfgang Schuster
figure frame. How to prevent this? \setupfloat [figure] [default=left] \starttext \samplefile{knuth} \startplacefigure [title=Foo] \framed [width=5cm, height=5cm]{} \stopplacefigure \samplefile{ward} \blank Add: \dontleavehmode Thanks for the nudge in the right direction

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

2019-10-30 Thread Marco Patzer
On Wed, 30 Oct 2019 11:55:17 -0400 (EDT) Aditya Mahajan wrote: > On Wed, 30 Oct 2019, Marco Patzer wrote: > > > Hi! > > > > Some images run into each other when using floats. The following > > example illustrates this. The second image (or frame) runs into

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

2019-10-30 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 30.10.2019 um 16:55: On Wed, 30 Oct 2019, Marco Patzer wrote: Hi! Some images run into each other when using floats. The following example illustrates this. The second image (or frame) runs into the side figure frame. How to prevent this? \setupfloat [figure

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

2019-10-30 Thread Aditya Mahajan
On Wed, 30 Oct 2019, Marco Patzer wrote: Hi! Some images run into each other when using floats. The following example illustrates this. The second image (or frame) runs into the side figure frame. How to prevent this? \setupfloat [figure] [default=left] \starttext \samplefile{knuth

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

2019-10-30 Thread Marco Patzer
Hi! Some images run into each other when using floats. The following example illustrates this. The second image (or frame) runs into the side figure frame. How to prevent this? \setupfloat [figure] [default=left] \starttext \samplefile{knuth} \startplacefigure [title=Foo] \framed

[NTG-context] Sectionwise page range in ConTeXt TOC

2019-10-12 Thread Jairo A. del Rio
I know ConTeXt TOC is quite customizable. However, I don't figure out how to include a page range next to section labels. For instance, something like that: 1. Chapter . . . 1 - 4 1.1 Section . . . 1 - 3 1.2 Section . . . 3 - 4 2. Chapter . . . 4 - 7 I've seen a LaTeX implementation here

Re: [NTG-context] Access current element in xmlsetsetup via xml.expressions

2019-10-02 Thread Taco Hoekwater
ere are a few predefined variables available inside such functions. > list table the list of matches > l number the current index in the list of matches > ll element the current element that matched > order number the position of the root of the path > > But I can’t figure out how to

[NTG-context] Access current element in xmlsetsetup via xml.expressions

2019-10-01 Thread achim
l number the current index in the list of matches ll element the current element that matched order number the position of the root of the path But I can't figure out how to get access to list, ll etc. My MWE (only for testing the access, is always true): \startbuffer[text] Dies ist

Re: [NTG-context] Column sets (span) & unwanted vertical gap

2019-10-01 Thread Wolfgang Schuster
Procházka Lukáš Ing. schrieb am 01.10.2019 um 14:51: Hello, the code bellow produces unwanted vertical gap between the bottom border of the figure and the following title "A" in the first column (marked by red arrows "<->" in the PDF attached). Note

[NTG-context] Column sets (span) & unwanted vertical gap

2019-10-01 Thread Procházka Lukáš Ing .
Hello, the code bellow produces unwanted vertical gap between the bottom border of the figure and the following title "A" in the first column (marked by red arrows "<->" in the PDF attached). Note that in the second column there is no such gap. I tried to play

Re: [NTG-context] passing variables/data between context and lua

2019-09-27 Thread Wolfgang Schuster
Martin Althoff schrieb am 27.09.2019 um 06:59: Hi, I am trying to pass variables/data between context and lua. Lua would be used for calculations on data coming from context. Unfortunately I can't figure out what to do. The code below doesn't work, but is there to illustrate my idea. Any

Re: [NTG-context] passing variables/data between context and lua

2019-09-27 Thread mf
/09/19 06:59, Martin Althoff ha scritto: Hi, I am trying to pass variables/data between context and lua. Lua would be used for calculations on data coming from context. Unfortunately I can't figure out what to do. The code below doesn't work, but is there to illustrate my idea. Any help would be much

[NTG-context] passing variables/data between context and lua

2019-09-26 Thread Martin Althoff
Hi, I am trying to pass variables/data between context and lua. Lua would be used for calculations on data coming from context. Unfortunately I can't figure out what to do. The code below doesn't work, but is there to illustrate my idea. Any help would be much appreciated. Thanks, Martin

Re: [NTG-context] poem as a sidefloat

2019-09-25 Thread Henning Hraban Ramm
aption? ("none" is supposed to work with >> \placefloat, but at least doesn’t in \startplacefloat) > The first argument of \startplacefloat takes the name of the float instance, > e.g. figure (\startplacefloat [figure]) and the second argument a limited > list o

Re: [NTG-context] poem as a sidefloat

2019-09-25 Thread Wolfgang Schuster
instance, e.g. figure (\startplacefloat [figure]) and the second argument a limited list of keys. All other options like the background color have to be set with \setupfloat and \setupcation. With or without framed, vbox and lines didn’t change much. (Of course \framed adds a frame, but the

Re: [NTG-context] special book layout problem in ConTeXt

2019-09-21 Thread nicolas mondon
e vertical position as the reference, but as > > possible only. Specially beacause, it may have several references in > > only one paragraph for exemple on the right page, and so the figure > > should appear in the right order on the left page, but couldn't be > > exactl

Re: [NTG-context] special book layout problem in ConTeXt

2019-09-21 Thread Nicolas Mondon
doesn't have to appear strictly at the same vertical position as the reference, but as possible only. Specially beacause, it may have several references in only one paragraph for exemple on the right page, and so the figure should appear in the right order on the left page, but couldn't be exactly

Re: [NTG-context] special book layout problem in ConTeXt

2019-09-19 Thread Wolfgang Schuster
for the following right page, and the float doesn't have to appear strictly at the same vertical position as the reference, but as possible only. Specially beacause, it may have several references in only one paragraph for exemple on the right page, and so the figure should appear in the right

[NTG-context] MetaPost with Multiple Variable Sections

2019-09-18 Thread Jeroen
I have been working with MetaPost as following, which worked fine with one startMPcode section with variables, but with 2 startMPcode Metapost sections, it keeps telling me the numbers dont add up: \definefloat [floatright][figure] \setupfloat [floatright][default={right,none

Re: [NTG-context] Biblatex \crossref equivalent in bibliographies

2019-09-15 Thread Aditya Mahajan
Chartier}, title = {Le passé au présent}, crossref = {DebatMem2002}, pages = {4--11} } Which keys should I use to achieve the same under ConTeXt? I found xcrossref and percentcrossref keys "Bibliographies. The ConTeXt way" but could'nt figure out how to use them. Here is

Re: [NTG-context] special book layout problem in ConTeXt

2019-09-15 Thread Henning Hraban Ramm
online forum or othr hep centers, so I try. >> Please tell me if I have to write to someone else. >> > This is the right place for your questions. >> >> I'd like to edit a thesis (so, as a book), with the text only on even pages, >> and tables and figure only

Re: [NTG-context] special book layout problem in ConTeXt

2019-09-15 Thread Wolfgang Schuster
place for your questions. I'd like to edit a thesis (so, as a book), with the text only on even pages, and tables and figure only on odd pages, in front of the paragraph wich comment them. I try to do this automatically by writing the text, make a reference to the figure in the paragraph

[NTG-context] special book layout problem in ConTeXt

2019-09-13 Thread Nicolas Mondon
pages, and tables and figure only on odd pages, in front of the paragraph wich comment them. I try to do this automatically by writing the text, make a reference to the figure in the paragraph, and then the layout appears correctly... I have the impression this is possible to do in ConText

Re: [NTG-context] Arithmetic overflow on placing an external figure in MP

2019-09-08 Thread Hans Hagen
On 9/7/2019 10:47 PM, Henning Hraban Ramm wrote: Bear with me, I still got no experience in MetaPost… I’m trying to place a pixel image on a MP page. According to the MetaFun manual this should work: \startMPpage draw externalfigure "mill.png" scaled 5cm shifted (-6cm,0) ; \stopMPpage And it

Re: [NTG-context] Arithmetic overflow on placing an external figure in MP

2019-09-07 Thread Fabrice L
Hi, > Le 7 sept. 2019 à 16:47, Henning Hraban Ramm a écrit : > > Bear with me, I still got no experience in MetaPost… > > I’m trying to place a pixel image on a MP page. > > According to the MetaFun manual this should work: > > \startMPpage > draw externalfigure "mill.png" scaled 5cm shifted

[NTG-context] Arithmetic overflow on placing an external figure in MP

2019-09-07 Thread Henning Hraban Ramm
Bear with me, I still got no experience in MetaPost… I’m trying to place a pixel image on a MP page. According to the MetaFun manual this should work: \startMPpage draw externalfigure "mill.png" scaled 5cm shifted (-6cm,0) ; \stopMPpage And it works with mill.png (copied into my test dir), but

[NTG-context] Biblatex \crossref equivalent in bibliographies

2019-09-04 Thread Damien Thiriet
passé au présent}, crossref = {DebatMem2002}, pages = {4--11} } Which keys should I use to achieve the same under ConTeXt? I found xcrossref and percentcrossref keys "Bibliographies. The ConTeXt way" but could'nt figure out how to use them. Here is my ConTeXt MWE as a star

[NTG-context] line numbering disappears in custom column layout

2019-08-31 Thread Damien Thiriet
[Colonne][n=2] \starttext \startColonne \startlinenumbering \input knuth \stoplinenumbering \Colonne \input knuth \stopColonne \stoptext Playing with \setuplinenumbering (location=text and so on) didn't help. Maybe this has to do with setting margins in defineparagraphs, but I can't figure out how

[NTG-context] configure \digits

2019-08-25 Thread Damien Thiriet
-server-ctx-help.lua? and so on…). I am using 2018 texlive. Maybe job is now done by \setupunit, but couldn't figure out how it works. So what should I do to have numbers typeset the French way (points or thinmuskip)? MWE to be improved \starttext \setdigits 3 \digits{1314000} \stoptext Thanks

Re: [NTG-context] Bug with jobs.file.run?

2019-08-25 Thread Aditya Mahajan
On Sun, 25 Aug 2019, Aditya Mahajan wrote: Hi, I use jobs.file.run in t-filter to cache the results so that the external filters are only run if the content has changed. For some reason, this is not working but I cannot figure out why? Repeating the same steps as t-filter manually works

Re: [NTG-context] Bug with jobs.file.run?

2019-08-25 Thread Aditya Mahajan
changed. For some reason, this is not working but I cannot figure out why? Repeating the same steps as t-filter manually works, but something goes wrong when I use the t-filter interface. See the attached test.tex file. When I run context test.tex context test.tex | grep run I get graphics

[NTG-context] Bug with jobs.file.run?

2019-08-24 Thread Aditya Mahajan
Hi, I use jobs.file.run in t-filter to cache the results so that the external filters are only run if the content has changed. For some reason, this is not working but I cannot figure out why? Repeating the same steps as t-filter manually works, but something goes wrong when I use the t

Re: [NTG-context] formatting index entries

2019-08-21 Thread Robert Zydenbos
t now I want the word 'īga' to be slanted, but not the word 'emphasized'. >> I have tried things like \index{sl::īga+rm::emphasized}, but I can't figure >> this out. >> >> Any suggestions? > > \defineprocessor [sl] [style=slanted] > \defineprocessor [bf] [style=bol

Re: [NTG-context] formatting index entries

2019-08-21 Thread Wolfgang Schuster
\index{īga+emphasized} But now I want the word 'īga' to be slanted, but not the word 'emphasized'. I have tried things like \index{sl::īga+rm::emphasized}, but I can't figure this out. Any suggestions? \defineprocessor [sl] [style=slanted] \defineprocessor [bf] [style=bold] \starttext

[NTG-context] formatting index entries

2019-08-21 Thread Robert Zydenbos
'īga' to be slanted, but not the word 'emphasized'. I have tried things like \index{sl::īga+rm::emphasized}, but I can't figure this out. Any suggestions? Robert ___ If your question is of interest to others as well

[NTG-context] Again: Graphics placement with columnsets/page grids

2019-08-18 Thread Denis Maier
Hi, I have posted a question regarding floats and columnsets some time ago. I am wondering why I am having text under a figure in a two column layout. \usemodule[newcolumnsets] \setuplayout [grid=yes] \definecolumnset[example][n=2] \starttext \startcolumnset[example

Re: [NTG-context] Cross referencing by using \useexternaldoument

2019-08-18 Thread Wolfgang Schuster
ot utilitydata.structures then utilitydata.structures = { } end if not utilitydata.structures.counters then utilitydata.structures.counters = { } end utilitydata.structures.counters.collected={ ["chemical"]={ { 0, 0 }, }, ["combination"]={ { 0 }, }, ["endnote"]={

Re: [NTG-context] radiobuttons

2019-08-15 Thread Henning Hraban Ramm
se widgets (check boxes?) can't even have a custom > visualization any more that is kept when one goes through pages. > > I also have no clue to what extend all this is part of the 'standard'. > > Anyway, if you can make a working example (uncompressed pdf) in official > a

Re: [NTG-context] radiobuttons

2019-08-14 Thread Hans Hagen
(uncompressed pdf) in official acrobat (not some other tool) that works in acrobat reader we can maybe figure out what todays demands are. Implementing stuff like this is trivial but the trial and error is painful. Hans (I only have acrobat X and reader for checking this.) \nopdfcompression

Re: [NTG-context] align figures verticaly centered in \startcombination mode

2019-08-08 Thread Wolfgang Schuster
and figure graphics are taken as caption. To get the expected output you can provide a empty argument for the caption of each graphic or use a table to arrange the images. Wolfgang ___ If your question is of interest

Re: [NTG-context] Figure labels in combinations

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

Re: [NTG-context] Figure labels in combinations

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

[NTG-context] Figure labels in combinations

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

Re: [NTG-context] Graphics placement with columnsets/page grids (was "no subject)

2019-07-28 Thread Denis Maier
Ok, I have now tested a more minimal example with version in TL 2019 and with the current standalone. The example works perfectly with the version that was included in TL 2019 (2019.03.21 21:39). In the current beta I get this behaviour: A figure on a page after page 1 does not stick to the bottom

[NTG-context] Graphics placement with columnsets/page grids (was "no subject)

2019-07-24 Thread Denis Maier
Hi, just a quick follow up: This (i.e., deleting the "none") gives the right result: ``` \placefigure [btrl] {} { \externalfigure[placeholder][width=\columnsetspanwidth{2}] } ``` The figure is indeed at the bottom of the page. Yet, `\placefigure [btrl,none]` seems to remove t

Re: [NTG-context] Unwanted white box above float

2019-07-22 Thread Taco Hoekwater
nd[TintBoxedBackground] > [background=color, > backgroundcolor=cyan, > frame=off, > leftoffset=1em, > rightoffset=1em, > topoffset=1em, > bottomoffset=1em, > location=paragraph] > > \definefloat[thematicimage][figu

[NTG-context] Unwanted white box above float

2019-07-22 Thread Duncan Hothersall
] [background=color, backgroundcolor=cyan, frame=off, leftoffset=1em, rightoffset=1em, topoffset=1em, bottomoffset=1em, location=paragraph] \definefloat[thematicimage][figure] \setupfloat[thematicimage] [default=right,none}, offset=1em

Re: [NTG-context] Side figure bug in mkiv?

2019-07-19 Thread Wolfgang Schuster
Alan Braslau schrieb am 19.07.2019 um 16:06: On Fri, 19 Jul 2019 13:52:37 +0200 Wolfgang Schuster wrote: Henri Menke schrieb am 18.07.2019 um 23:29: For what it's worth, the MKIV way to switch to bold face is \bold{text} instead of {\bf text} but it also doesn't fix your problem because

Re: [NTG-context] Side figure bug in mkiv?

2019-07-19 Thread Alan Braslau
On Fri, 19 Jul 2019 13:52:37 +0200 Wolfgang Schuster wrote: > Henri Menke schrieb am 18.07.2019 um 23:29: > > For what it's worth, the MKIV way to switch to bold face is > > \bold{text} instead of {\bf text} but it also doesn't fix your > > problem because neither of the two start a new

Re: [NTG-context] Side figure bug in mkiv?

2019-07-19 Thread Wolfgang Schuster
Henri Menke schrieb am 18.07.2019 um 23:29: For what it's worth, the MKIV way to switch to bold face is \bold{text} instead of {\bf text} but it also doesn't fix your problem because neither of the two start a new paragraph before the first letter and therefore \the\everypar is still inside a

Re: [NTG-context] Side figure bug in mkiv?

2019-07-18 Thread Henri Menke
; That is a well-known problem and there are posts about it on the mailing >> list every once in a while. The sidefigure mechanism uses \parshape to >> make the paragraph flow around the figure. >> > > Very many thanks Henri for your patient explanation, and my apologies for > in

Re: [NTG-context] Side figure bug in mkiv?

2019-07-18 Thread Duncan Hothersall
list every once in a while. The sidefigure mechanism uses \parshape to > make the paragraph flow around the figure. > Very many thanks Henri for your patient explanation, and my apologies for inadvertently asking a FAQ. I had thought the effect hasn't happened with the same content in mkii

Re: [NTG-context] Side figure bug in mkiv?

2019-07-18 Thread Henri Menke
On 19/07/19 3:18 AM, Duncan Hothersall wrote: > I think I have identified a bug in the side figure mechanism which is > demonstrated by the minimal example below. The {\bf …} construct causes the > para in which it appears to stop behaving properly with the side figure, and > the te

[NTG-context] Side figure bug in mkiv?

2019-07-18 Thread Duncan Hothersall
I think I have identified a bug in the side figure mechanism which is demonstrated by the minimal example below. The {\bf …} construct causes the para in which it appears to stop behaving properly with the side figure, and the text overflows. The preceding and following paras which don't have {\bf

[NTG-context] Is it possible to define a float environment that uses 2 captions? (and another question)

2019-07-09 Thread Andres Conrado Montoya
I'm working on a book that uses tables and figures, but the editors want to use to diffferent captions for each figure: one as usual, with the float description and number, and another one with a "Source" for said float. Some

Re: [NTG-context] I (metapost) can't handle numbers bigger than 32767.99998

2019-07-05 Thread Zhichu
tuff comes from mf which is 8 bit. So, these character numbers (and simensions) are not really saying much, other than that they're properties of a figure. (In context lmtx there will likely be some module for mp fonts. We can already do a lot but there is some more potential.) Hans > Occasio

Re: [NTG-context] I (metapost) can't handle numbers bigger than 32767.99998

2019-07-05 Thread Hans Hagen
esn't make much sense I think, as the font stuff comes from mf which is 8 bit. So, these character numbers (and simensions) are not really saying much, other than that they're properties of a figure. (In context lmtx there will likely be some module for mp fonts. We can already do a lot but the

Re: [NTG-context] Strange behavior in somewhat complex layout (again)

2019-06-27 Thread Andres Conrado Montoya
I'm an struggling with this layout. > > I'm trying to make something using bits and examples found here and > elsewhere, but I'm hitting a wall. I know there's a flawed logic in my > approach, but I can't figure it out. Any help is appreciated. > > Expected behavior of the followin

Re: [NTG-context] Strange behavior in somewhat complex layout (again)

2019-06-27 Thread Wolfgang Schuster
a flawed logic in my approach, but I can't figure it out. Any help is appreciated. Expected behavior of the following MWE: When starting a new chapter, check if the page is even (left page), if so, fill it with color, and start the chapter in the next odd page (right page), removing the header

[NTG-context] Strange behavior in somewhat complex layout (again)

2019-06-27 Thread Andres Conrado Montoya
Hi List, it seems my message went unnoticed, if you can help me out, please do. I'm an struggling with this layout. I'm trying to make something using bits and examples found here and elsewhere, but I'm hitting a wall. I know there's a flawed logic in my approach, but I can't figure it out. Any

Re: [NTG-context] is it useful to use the option "--fonts=all" when running first-setup-sh?

2019-06-25 Thread Andres Conrado
Tank you very much Pablo. I'll try that. They are proper latex fonts, tho, so I'm no sure that will do. I also have a background i humanities and book design, but I'm now making math books, go figure. It's very interesting from a typographic point of view. Now I'm more interested in seeing what

[NTG-context] Strange behavior in somewhat complex layout

2019-06-23 Thread Andres Conrado Montoya
Hello list, I'm trying to make something using bits and examples found here and elsewhere, but I'm hitting a wall. I know there's a flawed logic in my approach, but I can't figure it out. Any help is appreciated. Expected behavior of the following MWE: When starting a new chapter, check

Re: [NTG-context] background color, was: CMYK Color profile

2019-05-31 Thread Benjamin Koppe
][backgroundcolor=blue] This works for the actual flyer, but the bleed remains white. I also tried replacing 'page' with 'paper', but then the whole document has white background... I saw your Hostsharing flyers do also have colors/graphics reaching the edge of the flyer, so I figure you ran into the same

[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

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