[NTG-context] structure Mk II vs IV

2014-02-25 Thread Andrea Valle
Dear list, I'm rewriting a handbook I wrote with ConTeXt. While testing typography, I'm recompiling the sources now with Mark IV. My sources still compile fine with ConTeXt, buyt I'm getting this error with Mark IV. ! You can’t use ‘\end’ in internal vertical mode Can anyone shed some light?

[NTG-context] Accessing current XML node in Lua function

2014-02-25 Thread Birke, Gabriel
Hi, I'd like to write a Lua function that processes the href attribute from a HTML file and outputs different content depending on the URL. However, I don't know how to convert the XML attribute and the contents of the link tag to a string value for the Lua function. I've tried the following,

Re: [NTG-context] structure Mk II vs IV

2014-02-25 Thread Wolfgang Schuster
Am 25.02.2014 um 10:57 schrieb Andrea Valle va...@di.unito.it: Dear list, I'm rewriting a handbook I wrote with ConTeXt. While testing typography, I'm recompiling the sources now with Mark IV. My sources still compile fine with ConTeXt, buyt I'm getting this error with Mark IV. ! You

Re: [NTG-context] Update overwrites configuration

2014-02-25 Thread Mojca Miklavec
On Tue, Feb 25, 2014 at 7:53 AM, Thangalin wrote: http://wiki.contextgarden.net/Custom_Configuration Thank you, Mojca. I couldn't find an existing configuration wiki page that discussed the items in your email, Mojca. If configuring directories and variables exists on the wiki, please let

Re: [NTG-context] Accessing current XML node in Lua function

2014-02-25 Thread Thomas A. Schmitz
On 02/25/2014 11:13 AM, Birke, Gabriel wrote: Hi, I'd like to write a Lua function that processes the href attribute from a HTML file and outputs different content depending on the URL. However, I don't know how to convert the XML attribute and the contents of the link tag to a string value for

Re: [NTG-context] Remove external file name references

2014-02-25 Thread Hans Hagen
On 2/25/2014 2:42 AM, Thangalin wrote: Hi, A flexible solution could be: \setupexternalfigures[ pdfptexfilename={customfilename.jpg}, ] To eliminate the filename altogether: \setupexternalfigures[ pdfptexfilename=, ] This looks like it could be extended to customize

Re: [NTG-context] structure Mk II vs IV

2014-02-25 Thread Andrea Valle
Thanks WolfgangI attach you the files I’m using. I didn’t want to bother the list with long stuff.But I can’t reproduce this on a short example.I’m compiling c_00_introduzione (a chapter)ThanksBest-a- c_00_introduzione.tex Description: Binary data env_scMaterials.tex Description: Binary data

Re: [NTG-context] different page sizes on one sheet

2014-02-25 Thread amerke
hi wolfgang list, what/where would be a good starting point of implementing such a feature ... ? do i have to hack ConTeXt source code for this or can it be done with a user defined macro? my plan for now will be: to produce the pages with ConTeXt and produce then directly a PDF file,

Re: [NTG-context] structure Mk II vs IV

2014-02-25 Thread Andrea Valle
OK, I think I tracked it down this works: \setuphead[chapter] [style=\ss\tfc, before={\blank[1cm]\startframedtext[width=local, foregroundcolor=black, background=color, backgroundcolor=bgGrey1, framecolor=bgGrey2,offset=0.25cm, rulethickness=0.05cm, frame=off, topframe=on,

[NTG-context] defining headcommand

2014-02-25 Thread Pablo Rodriguez
Dear list, I have the following sample: \definetype[TeXcode][option=TEX] \unexpanded\def\tex#1{\normalexpanded{\TeXcode{\letterbackslash#1}}} \definedescription[TeXcommand][width=fit,hang=fit,headcommand=\tex] \starttext Its logo can be invoked with \tex{ConTeXt}. But you can have different

[NTG-context] Too much space between the text and the beginning of the paragraph with the command \defineenumeration

2014-02-25 Thread Fabrice Couvreur
Hi, I find that there is too much space between the text and the beginning of the paragraph. \defineenumeration[ex] [text={\sc\bf Exercice}, location=left, stopper={\bf.}] For example, I use the \topset with LuaLaTeX order. Thank you.

Re: [NTG-context] Too much space between the text and the beginning of the paragraph with the command \defineenumeration

2014-02-25 Thread Peter Münster
On Tue, Feb 25 2014, Fabrice Couvreur wrote: I find that there is too much space between the text and the beginning of the paragraph. \defineenumeration[ex] [text={\sc\bf Exercice}, location=left, stopper={\bf.}] stopper={\bf.}, inbetween=] For example, I use the \topset with LuaLaTeX

Re: [NTG-context] Too much space between the text and the beginning of the paragraph with the command \defineenumeration

2014-02-25 Thread Wolfgang Schuster
Am 25.02.2014 um 19:41 schrieb Fabrice Couvreur fabrice1.couvr...@gmail.com: Hi, I find that there is too much space between the text and the beginning of the paragraph. \defineenumeration[ex] [text={\sc\bf Exercice}, location=left, stopper={\bf.}] \defineenumeration [ex]

Re: [NTG-context] structure Mk II vs IV

2014-02-25 Thread Wolfgang Schuster
Am 25.02.2014 um 17:03 schrieb Andrea Valle va...@di.unito.it: OK, I think I tracked it down this works: \setuphead[chapter] [style=\ss\tfc, before={\blank[1cm]\startframedtext[width=local, foregroundcolor=black, background=color, backgroundcolor=bgGrey1,

Re: [NTG-context] different page sizes on one sheet

2014-02-25 Thread Wolfgang Schuster
Am 25.02.2014 um 15:32 schrieb amerke artur.me...@udo.edu: hi wolfgang list, what/where would be a good starting point of implementing such a feature ... ? do i have to hack ConTeXt source code for this or can it be done with a user defined macro? my plan for now will be: to produce

Re: [NTG-context] structure Mk II vs IV

2014-02-25 Thread Andrea Valle
Thanks a lot Wolfgang -- Andrea Valle -- CIRMA - StudiUm Università degli Studi di Torino -- http://www.cirma.unito.it/andrea/ -- http://www.fonurgia.unito.it/andrea/ --

Re: [NTG-context] structure Mk II vs IV

2014-02-25 Thread Wolfgang Schuster
Am 25.02.2014 um 23:30 schrieb Andrea Valle va...@di.unito.it: Yeah, I had already replace with simplefonts module I suggest to use the \definefontfamily command, the simplefonts module is outdated and I don’t care when some font don’t work. Wolfgang

Re: [NTG-context] structure Mk II vs IV

2014-02-25 Thread Andrea Valle
Ah, so I was a bit mislead by the wiki. Actually I hace this. \usemodule[simplefonts][size=8pt] \definefontfamily [myfamily][serif][TeX Gyre Termes] \definefontfamily[myfamily][mono][LM Typewriter] \definefontfamily[myfamily][sans][Avenir] \setupbodyfont[myfamily] You mean that I simply don’t

Re: [NTG-context] structure Mk II vs IV

2014-02-25 Thread Wolfgang Schuster
Am 25.02.2014 um 23:37 schrieb Andrea Valle andrea.va...@unito.it: Ah, so I was a bit mislead by the wiki. Actually I hace this. \usemodule[simplefonts][size=8pt] \definefontfamily [myfamily][serif][TeX Gyre Termes] \definefontfamily[myfamily][mono][LM Typewriter]

[NTG-context] Too much space between the text and the beginning of the paragraph with the command \defineenumeration

2014-02-25 Thread Fabrice Couvreur
Sorry, but my question is unclear. In fact, I created a new environment with the package amsthm in LuaLaTeX like this : \newtheoremstyle{exa} {\topsep}{\topsep} {} {0pt} {\strut\bfseries} {} {\newline} {\rule[0pt]{1mm}{1mm} \thmname{#1}\thmnumber{ \textup

Re: [NTG-context] Too much space between the text and the beginning of the paragraph with the command \defineenumeration

2014-02-25 Thread Wolfgang Schuster
Am 25.02.2014 um 23:48 schrieb Fabrice Couvreur fabrice1.couvr...@gmail.com: Sorry, but my question is unclear. In fact, I created a new environment with the package amsthm in LuaLaTeX like this : \newtheoremstyle{exa} {\topsep}{\topsep} {} {0pt}

[NTG-context] Wiki - Main Page

2014-02-25 Thread Thangalin
Hi, The link to Documentation of the source code on the front page of the ConTeXt Garden Wiki is broken: https://foundry.supelec.fr/gf/project/modules/ ___ If your question is of interest to others as well, please

[NTG-context] Too much space between the text and the beginning of the paragraph with the command \defineenumeration

2014-02-25 Thread Fabrice Couvreur
Because I'm really starting with ConteXt, and if I compile with location = left or not, the result is the same (with minimal ConteXt). For cons, I understand better the role of the option alternative = left, right or top.

Re: [NTG-context] Appendix Page Numbering

2014-02-25 Thread Troy Henderson
Is it possible to have ONLY the prefix (not followed by the corresponding page number) with this implementation? If not, is that a feature that can also be added? I tried to create a custom label called viewercustom (which operates like viewerprefix but omits the userpage counter value),

Re: [NTG-context] Appendix Page Numbering

2014-02-25 Thread Aditya Mahajan
On Tue, 25 Feb 2014, Troy Henderson wrote: Is it possible to have ONLY the prefix (not followed by the corresponding page number) with this implementation? If not, is that a feature that can also be added? I tried to create a custom label called viewercustom (which operates like

Re: [NTG-context] Appendix Page Numbering

2014-02-25 Thread Troy Henderson
Did you regenerate the format? context --make. I have now :-) which now reflects may changes, but now I have to figure out why my changes aren't working as expected. :-/ Troy ___ If your question is of interest to