Re: [NTG-context] \setupmathematics with stylealternative not working

2019-02-22 Thread Mikael P. Sundqvist
On Fri, Feb 22, 2019 at 7:25 PM Hans Hagen wrote: > > On 2/22/2019 9:24 AM, Henri Menke wrote: > > I can confirm. My workaround which predates the stylealternative > > mechanism also stopped working, so there must be an issue on the level > > of font feature selection. > > > > \definefontfeature

Re: [NTG-context] cross references to chapters in a book

2019-02-22 Thread Robert Zydenbos
Still nicer would be the following, but I do not know whether this is technically possible – I have the following text: % start of example: in chapter 4, pp. 38, I have \subject [wild-stuff]{Wild stuff} Now comes a lot of weird stuff which I want to refer to later. … % end of stuff in one

Re: [NTG-context] cross references to chapters in a book

2019-02-22 Thread Robert Zydenbos
Hmm… although I got your example to work after some tweaking (changing \samplefile to {input and placing knuth.tex and zapf.tex in the same folder as the test file), I could not reproduce this with my book. I want to get "chapter 4" but keep getting "chapter 4.0". Is this because I am using

Re: [NTG-context] cross references to chapters in a book

2019-02-22 Thread Henning Hraban Ramm
Am 2019-02-22 um 20:47 schrieb Wolfgang Schuster : > Robert Zydenbos schrieb am 22.02.19 um 17:14: >> Dear wizards of ConTeXt, >> In the final stage of completing a book project, I was wondering how to >> automatize cross references to chapters. I’ve already figured out how to >> refer to

Re: [NTG-context] Insert "minipage"

2019-02-22 Thread Lizardo M. Reyna Bowen
Thanks,  it works ok. On 2/22/19 2:55 PM, Wolfgang Schuster wrote: > Lizardo M. Reyna Bowen schrieb am 22.02.19 um 18:20: >> Hi all, >> >> How to insert a sample code and the result in a "minipage" in a >> presentation? For example, I need to show the result of a >> startdarmakeup, as in the

Re: [NTG-context] Insert "minipage"

2019-02-22 Thread Lizardo M. Reyna Bowen
Thanks,  it is exactly what I want. On 2/22/19 2:55 PM, Wolfgang Schuster wrote: > Lizardo M. Reyna Bowen schrieb am 22.02.19 um 18:20: >> Hi all, >> >> How to insert a sample code and the result in a "minipage" in a >> presentation? For example, I need to show the result of a >> startdarmakeup,

Re: [NTG-context] Insert "minipage"

2019-02-22 Thread Wolfgang Schuster
Lizardo M. Reyna Bowen schrieb am 22.02.19 um 18:20: Hi all, How to insert a sample code and the result in a "minipage" in a presentation? For example, I need to show the result of a startdarmakeup, as in the following pdf. http://www.pragma-ade.com/show-art.pdf#[0,{%22name%22:%22Fit%22}]

Re: [NTG-context] getdocumentargument in Metafun

2019-02-22 Thread Fabrice L
Le 22 février 2019 à 11:08:51, Aditya Mahajan (adit...@umich.edu) a écrit: Untested. Add quotes around FileName: > string FileName ; > FileName := "\getdocumentargument{File}" ; And not tested successfully ! Thanks a lot Aditya ! Fabrice.

Re: [NTG-context] cross references to chapters in a book

2019-02-22 Thread Wolfgang Schuster
Robert Zydenbos schrieb am 22.02.19 um 17:14: Dear wizards of ConTeXt, In the final stage of completing a book project, I was wondering how to automatize cross references to chapters. I’ve already figured out how to refer to pages (using “\at[REFERENCE]”), but how is this done with chapters?

Re: [NTG-context] markdown module vs pandoc

2019-02-22 Thread Pablo Rodriguez
On 2/21/19 9:59 PM, Gour wrote: > On Thu, 21 Feb 2019 18:50:41 +0100 Pablo Rodriguez wrote: > >> I’m still behind the environment itself, although I realized that >> these may not be relevant to everybody. I store the new commits in a >> private repository. > > Aha...I believe I might be

Re: [NTG-context] \setupmathematics with stylealternative not working

2019-02-22 Thread Hans Hagen
On 2/22/2019 9:24 AM, Henri Menke wrote: I can confirm. My workaround which predates the stylealternative mechanism also stopped working, so there must be an issue on the level of font feature selection. \definefontfeature [math-text] [math-text] [ss04=yes] \definefontfeature

[NTG-context] Insert "minipage"

2019-02-22 Thread Lizardo M. Reyna Bowen
Hi all, How to insert a sample code and the result in a "minipage" in a  presentation? For example, I need to show the result of a startdarmakeup, as in the following pdf. http://www.pragma-ade.com/show-art.pdf#[0,{%22name%22:%22Fit%22}] Regards -- Lizardo

[NTG-context] cross references to chapters in a book

2019-02-22 Thread Robert Zydenbos
Dear wizards of ConTeXt, In the final stage of completing a book project, I was wondering how to automatize cross references to chapters. I’ve already figured out how to refer to pages (using “\at[REFERENCE]”), but how is this done with chapters? I’m apparently too simple-minded to understand

Re: [NTG-context] getdocumentargument in Metafun

2019-02-22 Thread Aditya Mahajan
On Fri, 22 Feb 2019, Fabrice L wrote: Dear list, I wish to do several zoom from a picture made in MetaFun, from a pdf file which name is given on the commande line, like: context zoom.tex —File=EntryFile —Page=9 —result=OutFile.pdf Untested. Add quotes around FileName: string FileName ;

[NTG-context] getdocumentargument in Metafun

2019-02-22 Thread Fabrice L
Dear list, I wish to do several zoom from a picture made in MetaFun, from a pdf file which name is given on the commande line, like: context zoom.tex —File=EntryFile —Page=9 —result=OutFile.pdf Minimal example: \starttext \startMPpage numeric ThePage ; string FileName ; FileName :=

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 as > some part of

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,

Re: [NTG-context] \setupmathematics with stylealternative not working

2019-02-22 Thread Henri Menke
I can confirm. My workaround which predates the stylealternative mechanism also stopped working, so there must be an issue on the level of font feature selection. \definefontfeature [math-text] [math-text] [ss04=yes] \definefontfeature [math-script] [math-script]