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 the caption, but

Re: [NTG-context] graphics

2018-12-13 Thread Henri Menke
On 14/12/18 5:07 AM, luigi scarso wrote: > On Thu, Dec 13, 2018 at 4:45 PM Alan Braslau > wrote: > >> Of course, it is: >> >> double jn(int n,double x); >> >> and >> >> vardef jn(expr n, x) = scantokens(lua("mp.quoted( ffi.C.jn(" & decimal n & >> "," & decimal x & "))")) enddef ; >> >> Alan >>

Re: [NTG-context] graphics

2018-12-13 Thread luigi scarso
On Thu, Dec 13, 2018 at 4:45 PM Alan Braslau wrote: > Of course, it is: > > double jn(int n,double x); > > and > > vardef jn(expr n, x) = scantokens(lua("mp.quoted( ffi.C.jn(" & decimal n & > "," & decimal x & "))")) enddef ; > > Alan > > (shows that I have yet to use jn ;-) > I often use this

Re: [NTG-context] graphics

2018-12-13 Thread Alan Braslau
Of course, it is: double jn(int n,double x); and vardef jn(expr n, x) = scantokens(lua("mp.quoted( ffi.C.jn(" & decimal n & "," & decimal x & "))")) enddef ; Alan (shows that I have yet to use jn ;-) On Thu, 13 Dec 2018 14:32:39 +0100 Otared Kavian wrote: > Hi Mikael, > > Thank you, as

Re: [NTG-context] graphics

2018-12-13 Thread Otared Kavian
Hi Mikael, Thank you, as ell as Alan and Henri, for giving us a simple way to use Bessel functions, directly in ConTeXt. However I have a question, which may show my total ignorance of the maths libraries ffi and consorts: how do you specify the value of the integr $n$ when you want to use

Re: [NTG-context] graphics

2018-12-12 Thread Henri Menke
On 13/12/18 10:39 AM, Alan Braslau wrote: > On Thu, 13 Dec 2018 10:03:40 +1300 > Henri Menke wrote: > >> Sorry, my mistake, the Bessel functions are not a GCC extension but >> POSIX standard functions. >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/j0.html >> Since TeX Live is

Re: [NTG-context] graphics

2018-12-12 Thread Alan Braslau
On Thu, 13 Dec 2018 10:03:40 +1300 Henri Menke wrote: > Sorry, my mistake, the Bessel functions are not a GCC extension but > POSIX standard functions. > http://pubs.opengroup.org/onlinepubs/9699919799/functions/j0.html > Since TeX Live is always built on a POSIX platform (MSYS2 on Windows), >

Re: [NTG-context] graphics

2018-12-12 Thread Henri Menke
On 13/12/18 9:12 AM, Alan Braslau wrote: > On Thu, 13 Dec 2018 09:02:05 +1300 > Henri Menke wrote: > >> On 13/12/18 8:56 AM, Alan Braslau wrote: >>> On Wed, 12 Dec 2018 20:42:56 +0100 >>> "Mikael P. Sundqvist" wrote: Thanks, Alan! That looks very promising. I could not make it

Re: [NTG-context] graphics

2018-12-12 Thread Mikael P. Sundqvist
On Wed, Dec 12, 2018 at 9:02 PM Henri Menke wrote: > > On 13/12/18 8:56 AM, Alan Braslau wrote: > > On Wed, 12 Dec 2018 20:42:56 +0100 > > "Mikael P. Sundqvist" wrote: > >> > >> Thanks, Alan! That looks very promising. I could not make it work, > >> though, and I guess that is because I use

Re: [NTG-context] graphics

2018-12-12 Thread Alan Braslau
On Thu, 13 Dec 2018 09:02:05 +1300 Henri Menke wrote: > On 13/12/18 8:56 AM, Alan Braslau wrote: > > On Wed, 12 Dec 2018 20:42:56 +0100 > > "Mikael P. Sundqvist" wrote: > >> > >> Thanks, Alan! That looks very promising. I could not make it work, > >> though, and I guess that is because I use

Re: [NTG-context] graphics

2018-12-12 Thread Henri Menke
On 13/12/18 8:56 AM, Alan Braslau wrote: > On Wed, 12 Dec 2018 20:42:56 +0100 > "Mikael P. Sundqvist" wrote: >> >> Thanks, Alan! That looks very promising. I could not make it work, >> though, and I guess that is because I use linux and do not know what >> to change for what. I installed libcerf

Re: [NTG-context] graphics

2018-12-12 Thread Alan Braslau
On Wed, 12 Dec 2018 20:42:56 +0100 "Mikael P. Sundqvist" wrote: > > Thanks, Alan! That looks very promising. I could not make it work, > though, and I guess that is because I use linux and do not know what > to change for what. I installed libcerf but I assume something else is > missing. In any

Re: [NTG-context] graphics

2018-12-12 Thread Mikael P. Sundqvist
On Sat, Dec 8, 2018 at 4:15 PM Alan Braslau wrote: > > On Sat, 8 Dec 2018 09:31:46 +0100 > "Mikael P. Sundqvist" wrote: > > > 3) It would be nice to be able to plot some special functions. I'm > > thinking of the usual suspects, Airy, Bessel, Hypergeometric, > > Laguerre, Legendre, ... Could it

Re: [NTG-context] graphics

2018-12-12 Thread Alan Braslau
On Wed, 12 Dec 2018 14:51:47 +0100 Mathias Schickel wrote: > You can see the desired behaviour in the attached pdf output of the > LaTeX file. No, one cannot, unless one has Adobe... Alan ___ If your question is of

Re: [NTG-context] graphics

2018-12-08 Thread Alan Braslau
On Sat, 8 Dec 2018 09:31:46 +0100 "Mikael P. Sundqvist" wrote: > 3) It would be nice to be able to plot some special functions. I'm > thinking of the usual suspects, Airy, Bessel, Hypergeometric, > Laguerre, Legendre, ... Could it be that one could have support via > some lua library? I use ffi

Re: [NTG-context] graphics

2018-12-08 Thread Mikael P. Sundqvist
On Fri, Dec 7, 2018 at 4:15 PM Alan Braslau wrote: > > On Fri, 7 Dec 2018 09:06:03 +0100 > "Mikael P. Sundqvist" wrote: > > > 2) Support for transforming images in a more general way. With the > > zscaled, slanted, ... we are able to transform any object in an affine > > way. It would be nice to

Re: [NTG-context] graphics

2018-12-07 Thread Alan Braslau
On Fri, 7 Dec 2018 09:06:03 +0100 "Mikael P. Sundqvist" wrote: > 2) Support for transforming images in a more general way. With the > zscaled, slanted, ... we are able to transform any object in an affine > way. It would be nice to be able to transform any object in a more > general way (i.e. by

Re: [NTG-context] graphics

2018-12-07 Thread luigi scarso
On Fri, Dec 7, 2018 at 9:06 AM Mikael P. Sundqvist wrote: > On Tue, Dec 4, 2018 at 6:03 PM Hans Hagen wrote: > > > > Hi, > > > > As most mechanism are reasonable okay now we can look into what future > > versions of ConteXt should provide in terms of functionality. The > > (luatex) engine is

Re: [NTG-context] graphics

2018-12-07 Thread Mikael P. Sundqvist
On Tue, Dec 4, 2018 at 6:03 PM Hans Hagen wrote: > > Hi, > > As most mechanism are reasonable okay now we can look into what future > versions of ConteXt should provide in terms of functionality. The > (luatex) engine is also more of less finished or at least stable in > terms of functionality. >

Re: [NTG-context] graphics

2018-12-05 Thread Procházka Lukáš Ing .
Hello, would it be possible to provide some samples finally? That would be very handy especially for those who are used to create plots via "several clicks on Excel ribbon". Personally, I am interested in 2D plots to be created loading (an) external data file(s) (text files formed into

Re: [NTG-context] graphics

2018-12-05 Thread Alan Braslau
On Wed, 5 Dec 2018 13:59:35 +0100 Hans Hagen wrote: > > On this note: I would like to have an ‘official’ way to map 3D > > coordinates to 2D coordinates with for a camera position with an > > orthogonal window. > > > > Not the most complicated thing in the world, but it would be nice if > >

Re: [NTG-context] graphics

2018-12-05 Thread Hans Hagen
On 12/5/2018 10:02 AM, Taco Hoekwater wrote: On 4 Dec 2018, at 19:54, Alan Braslau wrote: 2) to generalize the notion of user data space from the two-dimensional drawing space of MetaPost (and the represented page), and affine transformations of this 2D space to other coordinate systems and

Re: [NTG-context] graphics

2018-12-05 Thread luigi scarso
On Wed, Dec 5, 2018 at 1:37 PM Hans Hagen wrote: > On 12/5/2018 10:14 AM, Henri Menke wrote: > > ConTeXt already comes with a full XML parser. SVG is XML. It would be > > nice if it was possible to render some subset of SVG. > So what subset? ... Doing some shapes etc is doable but doing all is

Re: [NTG-context] graphics

2018-12-05 Thread Hans Hagen
On 12/5/2018 10:14 AM, Henri Menke wrote: ConTeXt already comes with a full XML parser. SVG is XML. It would be nice if it was possible to render some subset of SVG. So what subset? ... Doing some shapes etc is doable but doing all is over the top Hans

Re: [NTG-context] graphics

2018-12-05 Thread luigi scarso
On Wed, Dec 5, 2018 at 10:15 AM Henri Menke wrote: > ConTeXt already comes with a full XML parser. SVG is XML. It would be > nice if it was possible to render some subset of SVG. > In the mean time, I think we should also consider Headless Chromium for SVG -> PDF (with --print-to-pdf )

Re: [NTG-context] graphics

2018-12-05 Thread Henri Menke
ConTeXt already comes with a full XML parser. SVG is XML. It would be nice if it was possible to render some subset of SVG. On 12/5/18 6:03 AM, Hans Hagen wrote: > Hi, > > As most mechanism are reasonable okay now we can look into what future > versions of ConteXt should provide in terms of

Re: [NTG-context] graphics

2018-12-05 Thread Taco Hoekwater
> On 4 Dec 2018, at 19:54, Alan Braslau wrote: > > 2) to generalize the notion of user data space from the > two-dimensional drawing space of MetaPost (and the represented page), > and affine transformations of this 2D space to other coordinate > systems and dimensions. We are not thinking

Re: [NTG-context] graphics

2018-12-04 Thread Alan Braslau
On Tue, 4 Dec 2018 18:03:14 +0100 Hans Hagen wrote: > Hi, > > As most mechanism are reasonable okay now we can look into what > future versions of ConteXt should provide in terms of functionality. > The (luatex) engine is also more of less finished or at least stable > in terms of

[NTG-context] graphics

2018-12-04 Thread Hans Hagen
Hi, As most mechanism are reasonable okay now we can look into what future versions of ConteXt should provide in terms of functionality. The (luatex) engine is also more of less finished or at least stable in terms of functionality. One possible area of further development is graphics so

[NTG-context] Graphics gets extra indent if hanging in list

2018-06-11 Thread Mikael P. Sundqvist
Hi! Please look at the example below. I wish the red rectangle to be located as the green one aligned with text to the right, but it gets pushed a bit (the space to the left in the list?). Am I doing things wrongly? Is it possible to fix easily? /Mikael \setuppapersize[A6] \starttext

Re: [NTG-context] Graphics not being aligned correctly in natural tables

2016-05-17 Thread Wolfgang Schuster
L.S.-Soc 17. Mai 2016 um 22:22 ah ok! I am sorry Luigi, I didn't expect that. :D code is below; I also packed a ZIP file with this mail, with the correct graphics folder, *.tex and precompiled *.pdf, in case that the code isn't enough. but i checked the graphics,

Re: [NTG-context] Graphics not being aligned correctly in natural tables

2016-05-17 Thread luigi scarso
On Tue, May 17, 2016 at 9:44 PM, L.S.-Soc wrote: > Hi Luigi, > > I am afraid that "mwe..." doesn't help. > a minimal working example (a.k.a mwe) that show your problem. -- luigi ___ If your

Re: [NTG-context] Graphics not being aligned correctly in natural tables

2016-05-17 Thread L.S.-Soc
Hi Luigi, I am afraid that "mwe..." doesn't help. Thanks tho bro, Sebastian Am 17.05.2016 um 18:55 schrieb luigi scarso: On Tue, May 17, 2016 at 6:47 PM, cryo shock > wrote: Hello fellow ConTeXt lovers, I am having trouble

Re: [NTG-context] Graphics not being aligned correctly in natural tables

2016-05-17 Thread luigi scarso
On Tue, May 17, 2016 at 6:47 PM, cryo shock wrote: > Hello fellow ConTeXt lovers, > > I am having trouble with placing graphics in between \bTD and \eTD. I am > using the \externalfigure to do so which works great. The problem is that > they aren't being aligned at all when

[NTG-context] Graphics not being aligned correctly in natural tables

2016-05-17 Thread cryo shock
Hello fellow ConTeXt lovers, I am having trouble with placing graphics in between \bTD and \eTD. I am using the \externalfigure to do so which works great. The problem is that they aren't being aligned at all when i use \setupTABLE[align={middle,lohi}] whereas text is being aligned perfectly in

Re: [NTG-context] graphics: figure combination and single figure side by side

2013-04-09 Thread Xenia
On 09.04.2013 00:29, Wolfgang Schuster wrote: Am 08.04.2013 um 19:46 schrieb Xenia yor...@googlemail.com: Hi context list, I want to place three figures in a row, but two of them as part of a combination with a common caption. I tried this with columns, but did not manage it, because I

[NTG-context] graphics: figure combination and single figure side by side

2013-04-08 Thread Xenia
Hi context list, I want to place three figures in a row, but two of them as part of a combination with a common caption. I tried this with columns, but did not manage it, because I only read how to span 2 columns with single figures. How can this be done properly? Thanks, Xenia

Re: [NTG-context] graphics: figure combination and single figure side by side

2013-04-08 Thread Wolfgang Schuster
Am 08.04.2013 um 19:46 schrieb Xenia yor...@googlemail.com: Hi context list, I want to place three figures in a row, but two of them as part of a combination with a common caption. I tried this with columns, but did not manage it, because I only read how to span 2 columns with single

[NTG-context] Graphics positioning problems in current/recent betas

2012-02-04 Thread Peter Park Nelson
I have been studying the Details manual and have found that many of the examples presented there do not work correctly with the current or recent betas. The ones I have tested work correctly on texshow and with the Texlive 2011 (MkIV Luatex) version. 1. In the first example below (based on

[NTG-context] Graphics in text-line

2011-11-27 Thread Robert Blackstone
Dear list, Would it be possible to insert a tiny graphic, not larger than a capital M, into a textline? I am presently making a bilingual version of a sixteenth century French musical treatise, and I would like to copy as much as possible the typographic features of the original in the modern

Re: [NTG-context] Graphics in text-line

2011-11-27 Thread Wolfgang Schuster
Am 27.11.2011 um 18:20 schrieb Robert Blackstone: Dear list, Would it be possible to insert a tiny graphic, not larger than a capital M, into a textline? I am presently making a bilingual version of a sixteenth century French musical treatise, and I would like to copy as much as

Re: [NTG-context] Graphics in text-line

2011-11-27 Thread Wolfgang Schuster
Am 27.11.2011 um 18:26 schrieb Wolfgang Schuster: Am 27.11.2011 um 18:20 schrieb Robert Blackstone: Dear list, Would it be possible to insert a tiny graphic, not larger than a capital M, into a textline? I am presently making a bilingual version of a sixteenth century French

Re: [NTG-context] Graphics in text-line

2011-11-27 Thread Robert Blackstone
Am 27.11.2011 um 18:26 schrieb Wolfgang Schuster: Am 27.11.2011 um 18:20 schrieb Robert Blackstone: Dear list, Would it be possible to insert a tiny graphic, not larger than a capital M, into a textline? \starttext This is a cow \figuresymbol[cow]. \stoptext Wolfgang

Re: [NTG-context] Graphics in text-line

2011-11-27 Thread Wolfgang Schuster
Am 27.11.2011 um 18:26 schrieb Wolfgang Schuster: Am 27.11.2011 um 18:20 schrieb Robert Blackstone: Dear list, Would it be possible to insert a tiny graphic, not larger than a capital M, into a textline? I am presently making a bilingual version of a sixteenth century French

[NTG-context] graphics styles

2010-08-23 Thread Yury G. Kudryashov
Hi! In tikz I can say \draw[help lines] (0, 0) circle (1cm); and setup what does help lines mean (color, linewidth etc.) in the environment file with \tikzset{help lines/.style={...}}. Is there any way to do something similar with ConTeXt+MetaPost? Should I add

Re: [NTG-context] graphics styles

2010-08-23 Thread Aditya Mahajan
On Tue, 24 Aug 2010, Yury G. Kudryashov wrote: Hi! In tikz I can say \draw[help lines] (0, 0) circle (1cm); and setup what does help lines mean (color, linewidth etc.) in the environment file with \tikzset{help lines/.style={...}}. Is there any way to do something similar with

Re: [NTG-context] graphics paths

2005-11-02 Thread Taco Hoekwater
Hi Michael, This is an intentional change in behaviour, introduced by the may 25 release. From the release notes: * External figures are no longer searched for in the main texmf tree. Use \setupexternalfigures[location={local,global,default}] if you want the old behaviour back. Cheers,

[NTG-context] graphics paths

2005-11-02 Thread M.guravage
Hello, I keep a few pieces of code and pdf graphics in a private TEXMF tree from where I include them in various documents. I reference a graphic by its filename sans the suffix, e.g. \externalfigure[logo]. A glance at the log reveals that the filename resolves to the exhaustive pathname of the