[NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jean-Guillaume
Hi all, this is my first message here. In the subsection head, I would like to suppress the newline between the number and the text, so it behaves like some kind of numbered subsubject. I tried to modify some examples from the wiki, but without success. In

Re: [NTG-context] Mixing math and text font

2014-01-09 Thread Joshua Krämer
Thanks for your hard work! I have a few additional questions regarding the new system and font fallbacks. (1) How can I replace the hyphen automatically inserted at linebreaks? If I use the following, only manually inserted hyphens are replaced: \definefallbackfamily[mainface][serif][TeX

Re: [NTG-context] Mixing math and text font

2014-01-09 Thread Joshua Krämer
Am Thu, 09 Jan 2014 11:01:16 + schrieb Joshua Krämer: (2) What effect does force=yes have? It doesn't seem to make a difference for me. I've read in another mail that force=yes is now set by default, so this is clear to me now. Joshua

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Marco Patzer
On 2014–01–09 Jean-Guillaume wrote: In the subsection head, I would like to suppress the newline between the number and the text, That's controlled by the “after” key. \setuphead [Exercise] [after=] My purpose is to define something like: \definehead[Exercise][subsection]

[NTG-context] \setcharactercasing misbehaviour

2014-01-09 Thread Marco Patzer
Hi, \setcharactercasing requires a new paragraph to work. Seems like a bug to me. \starttext \setcharactercasing[Word]foo %% Uppercase \setcharactercasing[Word]bar %% lowercase \setcharactercasing[Word]bar %% Uppercase \stoptext Marco signature.asc Description: Digital signature

[NTG-context] Language “deo” causes “TeX capacity exceeded” when units are used

2014-01-09 Thread Marco Patzer
Hi, the following example exceeds TeX's capacity: \mainlanguage [deo] \starttext \unit{10 square metre} \stoptext Marco signature.asc Description: Digital signature ___ If your question is of interest to others

Re: [NTG-context] Multipage xtables starts at the wrong page

2014-01-09 Thread Marco Patzer
On 2014–01–07 Marco Pallante wrote: […] What I get, however, is a table that starts at page 2 and not just after the chapter head. The table starts on page one here. Which version are you using? Marco signature.asc Description: Digital signature

Re: [NTG-context] latest beta and luajittex in Linux 32-bit

2014-01-09 Thread Mojca Miklavec
On Wed, Jan 8, 2014 at 8:47 PM, Pablo Rodriguez wrote: Dear list, could anyone using the latest beta from ConTeXt Suite in Linux 32-bit confirm whether compilation with the option --engine=luajittex works? Indeed the binary doesn't even work on the same machine where it has been compiled.

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jean-Guillaume
Thanks for your reply, Marco. Here is a full example: \starttext \definehead[Exercise][subsection] \setuphead [Exercise] [after=] \startExercise[]{(this is the exercise's title)} The exercise's content. \stopExercise \stoptext After contexting it, it looks like: 1 (this is the

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Marco Patzer
On 2014–01–09 Jean-Guillaume wrote: \starttext \definehead[Exercise][subsection] \setuphead [Exercise] [after=] \startExercise[]{(this is the exercise's title)} The exercise's content. \stopExercise \stoptext \definehead [Exercise] [subsection] [after=] \starttext

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jean-Guillaume
But this: \definehead [Exercise] [subsection] [after=] \starttext \startExercise [title=This is the exercise's title] The exercise's content. \stopExercise \stoptext results to: 1 This is the exercise's title The exercise's content. and I would like it to be: 1 This is the

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Wolfgang Schuster
Am 09.01.2014 um 14:23 schrieb Jean-Guillaume jng...@gmail.com: But this: \definehead [Exercise] [subsection] [after=] \starttext \startExercise [title=This is the exercise's title] The exercise's content. \stopExercise \stoptext results to: 1 This is the exercise's title

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
Hi Jean Guillaume, I guess Marco Patzer and Wolfgang Schuster gave you already the appropriate answers. Nevertheless, I wanted to share with you the definitions I use for the kind of work you want to do: %%% begin example-exercise.tex %%% % defining \startexo,

Re: [NTG-context] Multipage xtables starts at the wrong page

2014-01-09 Thread Marco Pallante
Hello Marco, First log line reports: ConTeXt ver: 2013.05.28 00:36 MKIV current fmt: 2013.7.29 $ context --version reports: mtx-context | ConTeXt Process Management 0.60 mtx-context | mtx-context | main context file: /usr/local/texlive/2013/texmf-dist/tex/context/base/context.mkiv

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jaroslav Hajtmar
Hello Otared. I will throw this one... Thanx. Once I was using exercise-answer package for LaTeX. Is there anything like this to use in ConTeXt? Thanx Jaroslav Hajtmar Dne 9.1.2014 15:19, Otared Kavian napsal(a): %%% begin example-exercise.tex %%% % defining

Re: [NTG-context] Multipage xtables starts at the wrong page

2014-01-09 Thread Marco Patzer
On 2014–01–09 Marco Pallante wrote: Hello Marco, I have no clue where the issue is, but I can confirm that the table starts on page two using version 2013.05.28. It works with a current beta. If want to keep using TeXLive, instead of ConTeXt standalone, one possible workaround would be to use

Re: [NTG-context] Multipage xtables starts at the wrong page

2014-01-09 Thread Marco Pallante
Il giorno gio, 09/01/2014 alle 15.49 +0100, Marco Patzer ha scritto: On 2014–01–09 Marco Pallante wrote: Hello Marco, I have no clue where the issue is, but I can confirm that the table starts on page two using version 2013.05.28. It works with a current beta. If want to keep using

Re: [NTG-context] Multipage xtables starts at the wrong page

2014-01-09 Thread Marco Patzer
On 2014–01–09 Marco Pallante wrote: How do I use LuajitTeX? context --jit file I've seen the two options --jit and --jiton which seem to be the right way. Am I right? context --help | grep jit --jituse luajittex with jit turned off (only use the faster virtual machine) --jiton

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
On 9 janv. 2014, at 15:48, Jaroslav Hajtmar hajt...@gyza.cz wrote: Hello Otared. I will throw this one... Thanx. Once I was using exercise-answer package for LaTeX. Is there anything like this to use in ConTeXt? Thanx Jaroslav Hajtmar Hello Jaroslav, I have something like the

Re: [NTG-context] Multipage xtables starts at the wrong page

2014-01-09 Thread Hans Hagen
On 1/9/2014 4:30 PM, Marco Patzer wrote: On 2014–01–09 Marco Pallante wrote: How do I use LuajitTeX? context --jit file I've seen the two options --jit and --jiton which seem to be the right way. Am I right? context --help | grep jit --jituse luajittex with jit turned off

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Aditya Mahajan
On Thu, 9 Jan 2014, Otared Kavian wrote: On 9 janv. 2014, at 15:48, Jaroslav Hajtmar hajt...@gyza.cz wrote: Hello Otared. I will throw this one... Thanx. Once I was using exercise-answer package for LaTeX. Is there anything like this to use in ConTeXt? Thanx Jaroslav Hajtmar Hello

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Wolfgang Schuster
Am 09.01.2014 um 16:36 schrieb Otared Kavian ota...@gmail.com: On 9 janv. 2014, at 15:48, Jaroslav Hajtmar hajt...@gyza.cz wrote: Hello Otared. I will throw this one... Thanx. Once I was using exercise-answer package for LaTeX. Is there anything like this to use in ConTeXt? Thanx

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
Hi Wolfgang, Hi Aditya, Thanks for your attention. Unfortunately adding \keepblocks[question] the example I sent before does not work in mkiv, and changing location=hanging to alternative=hanging does not help neither… The error message in mkiv is:

Re: [NTG-context] \setcharactercasing misbehaviour

2014-01-09 Thread Hans Hagen
On 1/9/2014 12:56 PM, Marco Patzer wrote: Hi, \setcharactercasing requires a new paragraph to work. Seems like a bug to me. \starttext \setcharactercasing[Word]foo %% Uppercase \setcharactercasing[Word]bar %% lowercase \setcharactercasing[Word]bar %% Uppercase \stoptext That's

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Wolfgang Schuster
Am 09.01.2014 um 18:36 schrieb Otared Kavian ota...@gmail.com: Hi Wolfgang, Hi Aditya, Thanks for your attention. Unfortunately adding \keepblocks[question] the example I sent before does not work in mkiv, and changing location=hanging to alternative=hanging does

Re: [NTG-context] latest beta and luajittex in Linux 32-bit

2014-01-09 Thread Pablo Rodriguez
On 01/09/2014 01:37 PM, Mojca Miklavec wrote: On Wed, Jan 8, 2014 at 8:47 PM, Pablo Rodriguez wrote: I added Alan's binary now, but I currently don't have a suitable linux box to test whether it works. Many thanks for the replies and the help, Luigi, Alan and Mojca. Everything works fine

Re: [NTG-context] Language “deo” causes “TeX capacity exceeded” when units are used

2014-01-09 Thread Hans Hagen
On 1/9/2014 12:59 PM, Marco Patzer wrote: Hi, the following example exceeds TeX's capacity: \mainlanguage [deo] \starttext \unit{10 square metre} \stoptext fixed in next beta (needs testing) but if you're in a hurry you can patch lang-lab.mkiv %

Re: [NTG-context] \setcharactercasing misbehaviour

2014-01-09 Thread Marco Patzer
On 2014–01–09 Hans Hagen wrote: On 1/9/2014 12:56 PM, Marco Patzer wrote: Hi, \setcharactercasing requires a new paragraph to work. Seems like a bug to me. \starttext \setcharactercasing[Word]foo %% Uppercase \setcharactercasing[Word]bar %% lowercase

Re: [NTG-context] Malayalam shaping with mkiv/LuaTeX

2014-01-09 Thread Hans Hagen
On 1/8/2014 11:02 PM, Rajeesh K Nambiar wrote: On Wed, Jan 8, 2014 at 10:53 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 08.01.2014 um 22:51 schrieb Rajeesh K Nambiar rajeeshknamb...@gmail.com: On Wed, Jan 8, 2014 at 10:39 PM, Wolfgang Schuster schuster.wolfg...@gmail.com

[NTG-context] betas

2014-01-09 Thread Hans Hagen
Hi, As some of you might have noticed, we're in transition to luatex 0.80 (currently 0.78.1). This binary is somewhat faster with respect to nodes without modification of Lua code, but it also provides an additional node field access mechanism. Luigi and I spent quite some time on getting

Re: [NTG-context] Mixing math and text font

2014-01-09 Thread Wolfgang Schuster
Am 09.01.2014 um 12:01 schrieb Joshua Krämer joshua.krae...@gmail.com: Thanks for your hard work! I have a few additional questions regarding the new system and font fallbacks. (1) How can I replace the hyphen automatically inserted at linebreaks? If I use the following, only

Re: [NTG-context] Mixing math and text font

2014-01-09 Thread Joshua Krämer
Am Thu, 9 Jan 2014 20:41:15 +0100 schrieb Wolfgang Schuster schuster.wolfg...@gmail.com: (3) I have a typeface that uses unusual style names: roman1, roman2, italic1, italic2; 1 is regular, 2 is bold weight. The following works:

Re: [NTG-context] Malayalam shaping with mkiv/LuaTeX

2014-01-09 Thread Rajeesh K Nambiar
On Thu, Jan 9, 2014 at 7:11 PM, Hans Hagen pra...@wxs.nl wrote: Remove \usemodule[font-odv], the code is part of the core and reloading it causes only problems. Indeed, that fixes the compilation! And 2-part matras are fine now. But the output (shaping) is not what is expected as you have

[NTG-context] Fallback for mathematical lowercase h and hyphen

2014-01-09 Thread Joshua Krämer
Dear list! (1) With the following example, only manually inserted hyphens are replaced. How can I replace the hyphen automatically inserted at linebreaks? \definefontfeature[extended][default][extend=3] \definefallbackfamily[mainface][serif][TeX Gyre Termes] [range={0x0002d}, features=extended]

Re: [NTG-context] Mixing math and text font

2014-01-09 Thread Wolfgang Schuster
Am 09.01.2014 um 22:30 schrieb Joshua Krämer joshua.krae...@gmail.com: Am Thu, 9 Jan 2014 20:41:15 +0100 schrieb Wolfgang Schuster schuster.wolfg...@gmail.com: (3) I have a typeface that uses unusual style names: roman1, roman2, italic1, italic2; 1 is regular, 2 is bold weight. The

Re: [NTG-context] Mixing math and text font

2014-01-09 Thread Joshua Krämer
Dear Wolfgang, thanks for your clarifications. I will avoid the spec method. The remaining question is, if regularfont= should be avoided, too, in favour of tf=, or will this be made to work in the future?

Re: [NTG-context] Mixing math and text font

2014-01-09 Thread Wolfgang Schuster
Am 09.01.2014 um 23:12 schrieb Joshua Krämer joshua.krae...@gmail.com: Dear Wolfgang, thanks for your clarifications. I will avoid the spec method. The remaining question is, if regularfont= should be avoided, too, in favour of tf=, or will this be made to work in the future? The

[NTG-context] Drop folio on first page of chapter.

2014-01-09 Thread john Culleton
My chapter heads have no headline. For chapter heads only I want to put the page number on the bottom of the page centered. How do I do this? definepagebreak [mychapterpagebreak] [yes,header,right] \setuphead[chapter] [alternative=middle, header=empty, align=normal, number=no,

[NTG-context] Macro expansion inside \type

2014-01-09 Thread Devendra Ghate
Hello Everyone, Consider the following MWE: \define\author{Devendra Ghate} \starttext \type{\author} \stoptext As mentioned on the wiki, this doesn't expand `\author` but rather prints it as it is. However, I would like `\author` to be expanded before it is typeset. Is this possible?

Re: [NTG-context] kpfonts, math, type 1 font

2014-01-09 Thread Elspeth McGullicuddy
On Tue, Jan 7, 2014 at 8:48 PM, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: You can also put the goodies files and the typescript file in the same folder as your test files which makes it easier to test them and to make changes. When you’re finished you can let us take a look at them

Re: [NTG-context] Macro expansion inside \type

2014-01-09 Thread Aditya Mahajan
On Fri, 10 Jan 2014, Devendra Ghate wrote: Hello Everyone, Consider the following MWE: \define\author{Devendra Ghate} \starttext \type{\author} \stoptext As mentioned on the wiki, this doesn't expand `\author` but rather prints it as it is. However, I would like `\author` to be expanded

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jaroslav Hajtmar
Hello Wolfgang, Otared and Aditya. Thanks for your advice and treatments. It is there a complete working example? I am sorry, but I am not able to achieve the proposed modifications to make it work. Thanx. Jaroslav Hajtmar Dne 9.1.2014 18:41, Wolfgang Schuster napsal(a): Am 09.01.2014