Re: [NTG-context] Change the title of the index of contents

2012-11-26 Thread Wolfgang Schuster
Am 27.11.2012 um 08:38 schrieb "H. Özoguz" : > I use \completecontent - in German the title is printed as "Inhalt", how to > change that? (f.e.: to "Inhaltsverzeichnis") \setupheadtext[de][content=Inhaltsverzeichnis] Wolfgang

[NTG-context] toppath

2012-11-26 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, there was a discussion about 'toppath' or 'pathrelativetome'. Is 'toppath:' prefix working? Or what other way is to refer to the path of the current file (i.e. the file I'm referring from)? The following code doesn't work - "t-Hello.mkiv" is not found although it's located in the same

[NTG-context] Change the title of the index of contents

2012-11-26 Thread H. Özoguz
I use \completecontent - in German the title is printed as "Inhalt", how to change that? (f.e.: to "Inhaltsverzeichnis") Thanks Huseyin ___ If your question is of interest to others as well, please add an entry to th

Re: [NTG-context] Find all words set into the margin

2012-11-26 Thread luigi scarso
On Tue, Nov 27, 2012 at 7:36 AM, "H. Özoguz" wrote: > Am 26.11.2012 18:01, schrieb ntg-context-requ...@ntg.nl: >>> >>> Is there a command or a macro to find all occurences in a file (or >>> projekt), >>> >where some word is printed into the margin? (Maybe because of bad >>> >hyphenation or somethi

[NTG-context] Problematic Nightly (2012.11.23 17:35)

2012-11-26 Thread Kip Warner
Hey list, I'm having trouble getting my book to build with nightly 2012.11.23 17:35. This is the error I am receiving which I do not understand: ! Math error: parameter \Umathquad\displaystyle is not set. \textmath ...\normalstartimath #1\normalstopimath

Re: [NTG-context] Euler Constant and limit

2012-11-26 Thread Wolfgang Schuster
Am 27.11.2012 um 07:39 schrieb Kip Warner : > On Sun, 2012-11-25 at 22:17 +0100, Wolfgang Schuster wrote: >> You have to define a typeface and enable it but Latin Modern as text font >> with patella etc. >> for math doesn’t look very nice. >> >> \definetypeface[mainface][rm][serif][modern] [def

Re: [NTG-context] Euler Constant and limit

2012-11-26 Thread Kip Warner
On Sun, 2012-11-25 at 22:17 +0100, Wolfgang Schuster wrote: > You have to define a typeface and enable it but Latin Modern as text font > with patella etc. > for math doesn’t look very nice. > > \definetypeface[mainface][rm][serif][modern] [default][designsize=auto] > \definetypeface[mainface][ss

[NTG-context] Find all words set into the margin

2012-11-26 Thread H. Özoguz
Am 26.11.2012 18:01, schrieb ntg-context-requ...@ntg.nl: Is there a command or a macro to find all occurences in a file (or projekt), >where some word is printed into the margin? (Maybe because of bad >hyphenation or something else.) - Would be perfect for manual check-up and >corrections! \vers

Re: [NTG-context] simple question on kerning activation

2012-11-26 Thread Wolfgang Schuster
Am 26.11.2012 um 23:04 schrieb Pablo Rodríguez : > On 26/11/12 21:39, Hans Hagen wrote: >> On 11/26/2012 8:01 PM, Pablo Rodríguez wrote: >>> Sorry for the stupid question: isn't it font kerning (not kern OT table, >>> but traditional non-OT kerning) enabled when compiling this source? >> >> kern

Re: [NTG-context] simple question on kerning activation

2012-11-26 Thread Hans Hagen
On 11/26/2012 11:04 PM, Pablo Rodríguez wrote: On 26/11/12 21:39, Hans Hagen wrote: On 11/26/2012 8:01 PM, Pablo Rodríguez wrote: Sorry for the stupid question: isn't it font kerning (not kern OT table, but traditional non-OT kerning) enabled when compiling this source? kerning is *always* dr

Re: [NTG-context] "verbatim boxes"

2012-11-26 Thread Wolfgang Schuster
Am 26.11.2012 um 23:06 schrieb Erik Margraf : > I thought a box would be the best to use it in connection with the > "FunnyFrame" of the Metafun manual page 137. In particular > I wanted to set the the Frametitle with the contents of a file. > (The actual contents of the file should be short enou

Re: [NTG-context] simple question on kerning activation

2012-11-26 Thread Pablo Rodríguez
On 26/11/12 21:39, Hans Hagen wrote: > On 11/26/2012 8:01 PM, Pablo Rodríguez wrote: >> Sorry for the stupid question: isn't it font kerning (not kern OT table, >> but traditional non-OT kerning) enabled when compiling this source? > > kerning is *always* driven by the font, given that the font ha

Re: [NTG-context] "verbatim boxes"

2012-11-26 Thread Wolfgang Schuster
Am 26.11.2012 um 21:42 schrieb Erik Margraf : > Dear List, > > is there a Context function/macro which enables me to set > a box with verbatim file input. I.e. something > similar to : > > \setbox\scratchbox\hbox{\verbatimfileinput{FileName}} You have to use a \vbox because a \hbox would put

Re: [NTG-context] error when using externalfigure

2012-11-26 Thread Hans Hagen
On 11/26/2012 8:54 PM, Dr. Hartmut Henkel wrote: On Mon, 26 Nov 2012, Hans Hagen wrote: On 11/26/2012 10:36 AM, luigi scarso wrote: On Mon, Nov 26, 2012 at 10:20 AM, Pavel Dohnal wrote: I have a big context source file which contains pictures from different sources. The problem is, that there

Re: [NTG-context] simple question on kerning activation

2012-11-26 Thread Hans Hagen
On 11/26/2012 8:01 PM, Pablo Rodríguez wrote: Hi there, I have the following file to check a feature in FreeSerif: \setuppapersize[A4,landscape] \usemodule[simplefonts][size=30pt] \setmainfont[FreeSerif] \starttext dadedidodufafefifofufrflftlalelilolutatetitotu\par {\em dadedidodufafefifofufrf

Re: [NTG-context] error when using externalfigure

2012-11-26 Thread Dr. Hartmut Henkel
On Mon, 26 Nov 2012, Hans Hagen wrote: > On 11/26/2012 10:36 AM, luigi scarso wrote: > > On Mon, Nov 26, 2012 at 10:20 AM, Pavel Dohnal > > wrote: > > > I have a big context source file which contains pictures from different > > > sources. The problem is, that there are some pictures the context c

Re: [NTG-context] fonts list

2012-11-26 Thread Hans Hagen
On 11/26/2012 8:52 PM, Sietse Brouwer wrote: The help text mentions this, but somewhat cryptically --- it's not quite clear that --all requires --list. Maybe mention that, like so? --list --name list installed fonts, filter by name [--pattern] --list --spec list installed fonts,

Re: [NTG-context] fonts list

2012-11-26 Thread Sietse Brouwer
The help text mentions this, but somewhat cryptically --- it's not quite clear that --all requires --list. Maybe mention that, like so? --list --name list installed fonts, filter by name [--pattern] --list --spec list installed fonts, filter by spec [--filter] --list --file

[NTG-context] simple question on kerning activation

2012-11-26 Thread Pablo Rodríguez
Hi there, I have the following file to check a feature in FreeSerif: \setuppapersize[A4,landscape] \usemodule[simplefonts][size=30pt] \setmainfont[FreeSerif] \starttext dadedidodufafefifofufrflftlalelilolutatetitotu\par {\em dadedidodufafefifofufrflftlalelilolutatetitotu\par} {\bf dadedidodufafe

Re: [NTG-context] print context version

2012-11-26 Thread Thomas A. Schmitz
On 11/26/2012 07:39 PM, Aditya Mahajan wrote: \contextversion Aditya Oh gosh, how embarrassing! Thank you Aditya, I should definitely have found that myself...Thomas ___ If your question is of interest to ot

Re: [NTG-context] print context version

2012-11-26 Thread Aditya Mahajan
On Mon, 26 Nov 2012, Thomas A. Schmitz wrote: Hi all, this is a very easy one, but I couldn't find information: for a document under version control, I would like to typeset the git revision and the context version used in a footer. For git, I have come up with \starttext git revision \ctx

[NTG-context] print context version

2012-11-26 Thread Thomas A. Schmitz
Hi all, this is a very easy one, but I couldn't find information: for a document under version control, I would like to typeset the git revision and the context version used in a footer. For git, I have come up with \starttext git revision \ctxlua{context(os.resultof("git --no-pager log --p

Re: [NTG-context] fonts list

2012-11-26 Thread luigi scarso
On Mon, Nov 26, 2012 at 6:01 PM, Vyatcheslav Y. wrote: > mtxrun --script fonts --list mtxrun --script fonts --list --all -- luigi ___ If your question is of interest to others as well, please add an entry to the Wi

[NTG-context] fonts list

2012-11-26 Thread Vyatcheslav Y.
Hi, What is modern way to see the list of available fonts? "mtxrun --script fonts --list" does not work anymore. Seems like a lot changed while I was not paying attention to ConTeXt ) Regards, Vyatcheslav ___ If your

Re: [NTG-context] MetaPost instance mechanism broken

2012-11-26 Thread Hans Hagen
On 11/26/2012 5:10 PM, Marco Patzer wrote: 2012-11-26 Sietse Brouwer: Since I don't use MetaPost, I don't think I'm the best person to document this. But I took this as an opportunity to create the command reference pages for a bunch of the \...MP... commands; perhaps one of you could add this

Re: [NTG-context] MetaPost instance mechanism broken

2012-11-26 Thread Aditya Mahajan
On Mon, 26 Nov 2012, Marco Patzer wrote: 2012-11-26 Sietse Brouwer: Since I don't use MetaPost, I don't think I'm the best person to document this. But I took this as an opportunity to create the command reference pages for a bunch of the \...MP... commands; perhaps one of you could add this i

Re: [NTG-context] MetaPost instance mechanism broken

2012-11-26 Thread Marco Patzer
2012-11-26 Sietse Brouwer: > Since I don't use MetaPost, I don't think I'm the best person to > document this. But I took this as an opportunity to create the command > reference pages for a bunch of the \...MP... commands; perhaps one of > you could add this info to the proper page(s)? Thanks. I

Re: [NTG-context] error when using externalfigure

2012-11-26 Thread Sietse Brouwer
This seems to me a case of garbage in, garbage out; I'd say it's the script's job, rather than ConTeXt's, to ensure the images have the correct dpi to get a reasonable width in inches. (Brr. I hate inches. Disgusting, Mars-mission-wrecking way of measuring things.) Here is some pseudocode. You'd s

Re: [NTG-context] MetaPost instance mechanism broken

2012-11-26 Thread Sietse Brouwer
Aditya wrote: > I am still using the old 2012.11.16 version, but now you have to specify > the instance in the \startuseMPgraphic as well (Hans had announced this > on the mailing list a few weeks ago): > \startuseMPgraphic{instance::mygraphic} > ... > \stopuseMPgraphic Since I don't use MetaPost,

[NTG-context] Find all words set into the margin

2012-11-26 Thread H. Özoguz
I use \definefontfeature[default][default][expansion=quality,protrusion=quality] \setupalign[hz,hanging] \usetypescript[times] \setupbodyfont[times,11pt] \setuptolerance[verystrict] Is there a command or a macro to find all occurences in a file (or projekt), where some word is printed int

Re: [NTG-context] error when using externalfigure

2012-11-26 Thread Hans Hagen
On 11/26/2012 11:00 AM, luigi scarso wrote: On Mon, Nov 26, 2012 at 10:50 AM, Hans Hagen wrote: On 11/26/2012 10:36 AM, luigi scarso wrote: On Mon, Nov 26, 2012 at 10:20 AM, Pavel Dohnal wrote: Hello, I have a big context source file which contains pictures from different sources. The prob

Re: [NTG-context] formulas: numbering problem

2012-11-26 Thread Philipp Gesang
Hi Andreas, · > I've spotted a problem with the numbering of the formulas (default setting: > (CHAPTER.FORMULANUMBER)): > > If a heading that does not come with a number is introduced, the chapter > number vanishes from the reference number for the formula. I have provided a > minima

Re: [NTG-context] Footnotes in Linecorrection/ Placeongrid

2012-11-26 Thread Hans Hagen
On 11/26/2012 12:05 PM, "H. Özoguz" wrote: Am 26.11.2012 12:00, schrieb ntg-context-requ...@ntg.nl: Add \automigrateinserts to your document (before \starttext). Wolfgang Thanks! Just curious about that: Why not integrate this into these environments by default? because it's not always okay

Re: [NTG-context] error when using externalfigure

2012-11-26 Thread Robert Blackstone
On 26 Nov 2012, at 11:41 , Pavel Dohnal , wrote: > When I try this particural image > convert it gives me this image: > http://cdn-images-squared.tripomatic.com/e46c68903d2c4445f05a0369578c17dd-270.jpg > But after context runs this file it falls down with error message: I have no idea what you

[NTG-context] Footnotes in Linecorrection/ Placeongrid

2012-11-26 Thread H. Özoguz
Am 26.11.2012 12:00, schrieb ntg-context-requ...@ntg.nl: Add \automigrateinserts to your document (before \starttext). Wolfgang Thanks! Just curious about that: Why not integrate this into these environments by default? Huseyin _

Re: [NTG-context] Footnotes in Linecorrection/ Placeongrid

2012-11-26 Thread Wolfgang Schuster
Am 26.11.2012 um 11:47 schrieb "H. Özoguz" : > Hi there, > > because I use gridsetting and mixed arabic and latin words together, I have > to use \placeongrid{} or \startlinecorrection\stoplinecorrection to achieve > gridsetting. > > Now this probelm arised: In these environments footnotes di

Re: [NTG-context] error when using externalfigure

2012-11-26 Thread luigi scarso
On Mon, Nov 26, 2012 at 11:40 AM, Pavel Dohnal wrote: > I can see the problem. Image has wrong information in its header. But what > to do with it? As I mentioned before, I create context source by another > script (PHP script) and php runs context. I have thousands of images so it > is impossible

[NTG-context] Footnotes in Linecorrection/ Placeongrid

2012-11-26 Thread H. Özoguz
Hi there, because I use gridsetting and mixed arabic and latin words together, I have to use \placeongrid{} or \startlinecorrection\stoplinecorrection to achieve gridsetting. Now this probelm arised: In these environments footnotes disappear, they are simply not printed, but the footnotenumb

[NTG-context] formulas: numbering problem

2012-11-26 Thread Andreas Mang
Dear all, I've spotted a problem with the numbering of the formulas (default setting: (CHAPTER.FORMULANUMBER)): If a heading that does not come with a number is introduced, the chapter number vanishes from the reference number for the formula. I have provided a minimal example to illustrate t

Re: [NTG-context] error when using externalfigure

2012-11-26 Thread Pavel Dohnal
I can see the problem. Image has wrong information in its header. But what to do with it? As I mentioned before, I create context source by another script (PHP script) and php runs context. I have thousands of images so it is impossible to me every single image convert. But I created php gate which

Re: [NTG-context] error when using externalfigure

2012-11-26 Thread Martin Schröder
2012/11/26 luigi scarso : > It has 240x160 pixels and 1ppi, so it's 6,096 meters x 4,06400meters I doubt that 1ppi is intended. :-) Best Martin ___ If your question is of interest to others as well, please add an e

Re: [NTG-context] error when using externalfigure

2012-11-26 Thread luigi scarso
On Mon, Nov 26, 2012 at 10:50 AM, Hans Hagen wrote: > On 11/26/2012 10:36 AM, luigi scarso wrote: >> >> On Mon, Nov 26, 2012 at 10:20 AM, Pavel Dohnal >> wrote: >>> >>> Hello, >>> I have a big context source file which contains pictures from different >>> sources. The problem is, that there are s

Re: [NTG-context] error when using externalfigure

2012-11-26 Thread Pavel Dohnal
2012/11/26 Hans Hagen > On 11/26/2012 10:20 AM, Pavel Dohnal wrote: > >> Hello, >> I have a big context source file which contains pictures from different >> sources.. The problem is, that there are some pictures the context >> >> cannot process. It displays an error message and ends. I run the c

Re: [NTG-context] error when using externalfigure

2012-11-26 Thread Hans Hagen
On 11/26/2012 10:36 AM, luigi scarso wrote: On Mon, Nov 26, 2012 at 10:20 AM, Pavel Dohnal wrote: Hello, I have a big context source file which contains pictures from different sources. The problem is, that there are some pictures the context cannot process. It displays an error message and end

Re: [NTG-context] error when using externalfigure

2012-11-26 Thread luigi scarso
On Mon, Nov 26, 2012 at 10:20 AM, Pavel Dohnal wrote: > Hello, > I have a big context source file which contains pictures from different > sources. The problem is, that there are some pictures the context cannot > process. It displays an error message and ends. I run the context from > another scr

Re: [NTG-context] error when using externalfigure

2012-11-26 Thread Hans Hagen
On 11/26/2012 10:20 AM, Pavel Dohnal wrote: Hello, I have a big context source file which contains pictures from different sources.. The problem is, that there are some pictures the context cannot process. It displays an error message and ends. I run the context from another script in batchmode.

[NTG-context] error when using externalfigure

2012-11-26 Thread Pavel Dohnal
Hello, I have a big context source file which contains pictures from different sources. The problem is, that there are some pictures the context cannot process. It displays an error message and ends. I run the context from another script in batchmode. After finishing, the context creates a PDF file