[NTG-context] Omitting part number in chapter numbers

2019-02-19 Thread Simon Collier
Dear list. I would like to have a TOC that looks basically as follows when stripped down to the essentials: 1 Part1 1 Chapter1 2 Chapter2 2 Part2 3 Chapter3 I don't want the part number to be "part" of the chapter number (no 2.1, just 1, for example). This behaviour should apply both to the

Re: [NTG-context] Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns

2019-02-19 Thread Wolfgang Schuster
Procházka Lukáš Ing. schrieb am 19.02.19 um 21:27: Hello, it seems that xtable setup doesn't recognize the "c" option, which is recognized successfully by TABLE setup; tested on mapping provided by "ntb-to-xtb" module: \usemodule[ntb-to-xtb] \restoreTABLEfromxtable \starttext  

[NTG-context] Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns

2019-02-19 Thread Procházka Lukáš Ing .
Hello, it seems that xtable setup doesn't recognize the "c" option, which is recognized successfully by TABLE setup; tested on mapping provided by "ntb-to-xtb" module: \usemodule[ntb-to-xtb] \restoreTABLEfromxtable \starttext \bTABLE \setupTABLE[c][1][width=1in] % Set 1st column

[NTG-context] xtable and natural tables

2019-02-19 Thread Damien Thiriet
Hi list, From Hans xtable manual: As each cell is basically a \framed and as we need to do two passes over the table, this mechanism is not the fastest but it is some two times faster than the natural tables mechanism, and in most cases can be used instead. Manuals examples are of course short

[NTG-context] Weird TABLE split across pages

2019-02-19 Thread Procházka Lukáš Ing .
Hello, a TABLE is split weirdly over two pages: - on the first page (here: page 8): the (repeated) header of the TABLE and the first body row followed by void space, - then (here: on the page 9) the remaining part of the TABLE; - see the sample attached. I'm not able to strip my real case

Re: [NTG-context] markdown module vs pandoc

2019-02-19 Thread Gour
On Mon, 18 Feb 2019 17:08:44 +0100 Pablo Rodriguez wrote: Hello Pablo, > I convert Markdown to XHTML and then I compile the XML sources with > ConTeXt. I've tried it and it works nicely. The possibility to have one-source-does-all is tempting. ;) Now I wonder if you're still behind the tool

Re: [NTG-context] Frame

2019-02-19 Thread Ursula Hermann
Hi Marco! Thanks a lot. Best regards Uschi -Ursprüngliche Nachricht- Von: ntg-context Im Auftrag von Marco Patzer Gesendet: Dienstag, 19. Februar 2019 14:11 An: ntg-context@ntg.nl Betreff: Re: [NTG-context] Frame On Tue, 19 Feb 2019 13:01:35 + Ursula Hermann wrote: > I have:

Re: [NTG-context] Frame

2019-02-19 Thread Marco Patzer
On Tue, 19 Feb 2019 13:01:35 + Ursula Hermann wrote: > I have: > \framed > [height=3em, >width=.5\textwidth, >foregroundcolor=red, >framecolor=blue, >rulethickness=2pt, >background=color, >backgroundcolor=green] > \starttext > {Ich bin da.\par Du auch} > \stoptext

Re: [NTG-context] Macro for a header does not work as well

2019-02-19 Thread Otared Kavian
Hi Jan, Your example works fine here on my machine… Which version of ConTeXt are you using? Best regards: OK > On 19 Feb 2019, at 13:49, Jan U. Hasecke wrote: > > Am 19.02.19 um 12:55 schrieb Otared Kavian: >> Hi Fabrice, >> >> After adding >> >> \mainlanguage[fr] >> >> to your

[NTG-context] Frame

2019-02-19 Thread Ursula Hermann
I have: \framed [height=3em, width=.5\textwidth, foregroundcolor=red, framecolor=blue, rulethickness=2pt, background=color, backgroundcolor=green] \starttext {Ich bin da.\par Du auch} \stoptext The mistake after compiling: Command Line: context.exe --synctex=-1 "Frame

Re: [NTG-context] Macro for a header does not work as well

2019-02-19 Thread Jan U. Hasecke
Am 19.02.19 um 12:55 schrieb Otared Kavian: > Hi Fabrice, > > After adding > >\mainlanguage[fr] > > to your file I obtain the attached output (Context version 2019.02.14 16:57). > I have a similar problem with a lua snippet, where mainlanguage does not solve the problem. In a

Re: [NTG-context] Macro for a header does not work as well

2019-02-19 Thread Otared Kavian
Hi Fabrice, After adding \mainlanguage[fr] to your file I obtain the attached output (Context version 2019.02.14 16:57). Best regards: OK macros-header-date.pdf Description: Adobe PDF document > On 19 Feb 2019, at 11:37, Fabrice Couvreur > wrote: > > Hi Otared, >

Re: [NTG-context] Macro for a header does not work as well

2019-02-19 Thread Fabrice Couvreur
Hi Otared, No that's not what I want to talk about. Before I got this "27 février 2019" and now this d = 27 m = 02 y = 2019. Thank you. Fabrice Le lun. 18 févr. 2019 à 14:31, Otared Kavian a écrit : > Hi Fabrice, > > Do you mean the fact that the date is not in the usual French format? In >

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

Re: [NTG-context] degrade module

2019-02-19 Thread Peter Münster
On Mon, Feb 18 2019, Alan Braslau wrote: > manipulating them on the fly as one changes layout or image placement > hardly seems efficient, Our use cases are perhaps different: in my case, manipulating them on the fly automatically is *very* efficient. > even if one were to be clever in storing

[NTG-context] \mathematics might be missing \everymathematics

2019-02-19 Thread Henri Menke
Dear Hans, In the following example I want to locally set lcgreek=normal but it is not picked up because the attribute is not propagated. When I enter \everymathematics manually it works fine. Is this by design or is this a bug? MWE below. Cheers, Henri --- \starttext The greek letter