[NTG-context] Latest beta: Problems with \startstructurelevel (bug?)

2011-06-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'm not able to compile the following code with the ConTeXt ver: 2011.06.15 11:49 MKIV fmt: 2011.6.15 int: english/english: \definestructurelevels [Test] [subsection, subsubsection, subsubsubsection, ] \starttext \startstructurelevel[Test][title=Title]

[NTG-context] Metafun: shifting picture

2011-06-22 Thread dalyoung
Hi, I am trying to draw dominos using metapost and ConTeXt. I borrow part of the code in Threeddice.mp by Dan Lueking for drawing dots. To display blank dominos where I want and drawing one domino work well but drawing several dominos where I want is not working well. (compare domino0 and

Re: [NTG-context] Latest beta: Problems with \startstructurelevel (bug?)

2011-06-22 Thread Wolfgang Schuster
Am 22.06.2011 um 09:56 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, I'm not able to compile the following code with the ConTeXt ver: 2011.06.15 11:49 MKIV fmt: 2011.6.15 int: english/english: \definestructurelevels [Test] [subsection, subsubsection,

Re: [NTG-context] Latest beta: Problems with \startstructurelevel (bug?)

2011-06-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, thanks for the fix, but - - but I'm still getting an error, although I've just downloaded the latest beta, I tried, I got errors, so I corrected the strc-lev.lua by your proposition and oops, still the same error. So? - (Related files are attached.) Kind regards, Lukas On Wed, 22

Re: [NTG-context] Latest beta: Problems with \startstructurelevel (bug?)

2011-06-22 Thread Wolfgang Schuster
Am 22.06.2011 um 14:51 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, thanks for the fix, but - - but I'm still getting an error, although I've just downloaded the latest beta, I tried, I got errors, so I corrected the strc-lev.lua by your proposition and oops, still the same

Re: [NTG-context] Latest beta: Problems with \startstructurelevel (bug?)

2011-06-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... I run mtxrun --generate (again) but still the same errors. Lukas On Wed, 22 Jun 2011 14:59:49 +0200, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 22.06.2011 um 14:51 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Regenerate the format! Wolfgang

Re: [NTG-context] Latest beta: Problems with \startstructurelevel (bug?)

2011-06-22 Thread luigi scarso
2011/6/22 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: ... I run mtxrun --generate (again) but still the same errors. context --make ? -- luigi ___ If your question is of interest to others as well, please

Re: [NTG-context] Latest beta: Problems with \startstructurelevel (bug?)

2011-06-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
2011/6/22 Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: ... I run mtxrun --generate (again) but still the same errors. context --make It doesn't help, either. Lukas ? -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz]

Re: [NTG-context] Metafun: shifting picture-solved with experiments.

2011-06-22 Thread dalyoung
Hi, Changing the code as following, it moves to the correct location. There may be a problem using pic := currentpicture; Instead of using draw pic scaled DieSize shifted (dx,dy); apply the shift directly to draw pips. I just guess that some number are not cleared when I use

[NTG-context] [OT] Sanitiser for OpenType

2011-06-22 Thread luigi scarso
http://code.google.com/p/ots/ -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage

[NTG-context] Additional title after enumerations-head

2011-06-22 Thread Stefan Müller
Hi list, in one of my documents (MkIV) I defined several different enumerations with \defineenumerations. Currently their only differences are in the values of text= and style=. With the following I got what I wanted so far: \defineenumeration[lemma][text=Lemma, location=serried,

[NTG-context] \setscript[hanzi] and kana

2011-06-22 Thread Wolfgang Schuster
Hi, with \setscript[hanzi] kanji are broken at the end of the line but no kana. \setuplayout[width=4cm]\showframe \setscript[hanzi] \enabletrackers[scripts.analyzing] \starttext \definedfont[file:kozminpr6nregular] にほんにほんにほんにほん 日本日本日本日本日本日本 \stoptext Wolfgang

Re: [NTG-context] Additional title after enumerations-head

2011-06-22 Thread Aditya Mahajan
On Wed, 22 Jun 2011, Stefan Müller wrote: Hi list, in one of my documents (MkIV) I defined several different enumerations with \defineenumerations. Currently their only differences are in the values of text= and style=. With the following I got what I wanted so far:

Re: [NTG-context] Additional title after enumerations-head

2011-06-22 Thread Stefan Müller
On 22.06.2011 21:02, Aditya Mahajan wrote: On Wed, 22 Jun 2011, Stefan Müller wrote: [...] \defineenumeration[lemma][title=yes] \startlemma {Farkas Lemma} ... ... \stoplemma Thanks a lot, that does the job! I'm pretty confident that ConTeXt can already handle this, but I don't know how.

Re: [NTG-context] Additional title after enumerations-head

2011-06-22 Thread Stefan Müller
On 22.06.2011 21:14, Stefan Müller wrote: On 22.06.2011 21:02, Aditya Mahajan wrote: On Wed, 22 Jun 2011, Stefan Müller wrote: [...] \defineenumeration[lemma][title=yes] \startlemma {Farkas Lemma} ... ... \stoplemma Thanks a lot, that does the job! I'm pretty confident that ConTeXt

[NTG-context] ConTeXt support for DjVu backend

2011-06-22 Thread Kip Warner
Hey list, Are there any plans to eventually support the DjVu format as an additional backend alternative to PDF? DjVu is a free standard promoted as an alternative to PDF. It is allegedly a superior format. https://secure.wikimedia.org/wikipedia/en/wiki/DjVu -- Kip Warner -- Software Engineer

Re: [NTG-context] Additional title after enumerations-head

2011-06-22 Thread Wolfgang Schuster
Am 22.06.2011 um 21:35 schrieb Stefan Müller: Two questions about the article: Can you confirm that conversion=Characters and conversion=Roman (top of page 2) does not work? I vaguely recall some more or less recent changes in ConTeXt MkIV concerning number conversion. The new name of the

Re: [NTG-context] ConTeXt support for DjVu backend

2011-06-22 Thread Hans Hagen
On 22-6-2011 9:44, Kip Warner wrote: Hey list, Are there any plans to eventually support the DjVu format as an additional backend alternative to PDF? DjVu is a free standard promoted as an alternative to PDF. It is allegedly a superior format.

Re: [NTG-context] Additional title after enumerations-head

2011-06-22 Thread Stefan Müller
Thank you. I wanted to add this to the wiki, but now I'm not sure how the mentioned commands relate to each other. So I guess \setupenumerations inherits all keys (among them number and numberconversion) from \setupnumber? Unfortunatly there's no reference page for \setupnumber on the wiki,

Re: [NTG-context] Additional title after enumerations-head

2011-06-22 Thread Wolfgang Schuster
Am 22.06.2011 um 22:03 schrieb Stefan Müller:Thank you. I wanted to add this to the wiki, but now I'm not sure how the mentioned commands relate to each other. So I guess \setupenumerations inherits all keys (among them "number" and "numberconversion") from \setupnumber?I attached a updated

Re: [NTG-context] ConTeXt support for DjVu backend

2011-06-22 Thread Pontus Lurcock
On Wed 22 Jun 2011, Kip Warner wrote: Are there any plans to eventually support the DjVu format as an additional backend alternative to PDF? DjVu is a free standard promoted as an alternative to PDF. It is allegedly a superior format. There's always http://code.google.com/p/pdf2djvu/ in lieu

Re: [NTG-context] ConTeXt support for DjVu backend

2011-06-22 Thread Kip Warner
On Wed, 2011-06-22 at 21:51 +0200, Hans Hagen wrote: it's mostly an image format (efficient storage of scanned documents) and in that sense it's an alternative (jbig2 is another candidate) Hans That's what I was thinking too at first, that's it's mostly for scanned documents. But since it

Re: [NTG-context] Additional title after enumerations-head

2011-06-22 Thread Stefan Müller
On 22.06.2011 22:14, Wolfgang Schuster wrote: Am 22.06.2011 um 22:03 schrieb Stefan Müller: Thank you. I wanted to add this to the wiki, but now I'm not sure how the mentioned commands relate to each other. So I guess \setupenumerations inherits all keys (among them number and

[NTG-context] Bibliography is not working

2011-06-22 Thread yoraxe
Hey, Typing \setupbibtex[database=bib] \starttext \completepublications \stoptext with bib.bib: @BOOKLET{booklet, title = {Something here}, year = {2005}, publisher = {Something here}, } creates the attached pdf-file without any references. I also attache the log-file. Thanks, Yoraxe

Re: [NTG-context] Bibliography is not working

2011-06-22 Thread Pontus Lurcock
On Wed 22 Jun 2011, yoraxe wrote: \setupbibtex[database=bib] \starttext \completepublications \stoptext You want \completepublications[criterium=all], if you wish to list publications even when they're not referenced in the text. Perhaps you were misled by the name -- \completepublications

Re: [NTG-context] ConTeXt support for DjVu backend

2011-06-22 Thread Hans Hagen
On 22-6-2011 10:32, Kip Warner wrote: On Wed, 2011-06-22 at 21:51 +0200, Hans Hagen wrote: it's mostly an image format (efficient storage of scanned documents) and in that sense it's an alternative (jbig2 is another candidate) Hans That's what I was thinking too at first, that's it's mostly

Re: [NTG-context] Bibliography is not working

2011-06-22 Thread yoraxe
Am 22.06.2011 23:15, schrieb Pontus Lurcock: On Wed 22 Jun 2011, yoraxe wrote: \setupbibtex[database=bib] \starttext \completepublications \stoptext You want \completepublications[criterium=all], if you wish to list publications even when they're not referenced in the text. Perhaps you

Re: [NTG-context] ConTeXt support for DjVu backend

2011-06-22 Thread Kip Warner
On Wed, 2011-06-22 at 23:27 +0200, Hans Hagen wrote: - the starting point is scanned images - there can be an ocr layer but still the image is the core - pdf is more: colorspaces, vector graphics, annotations, etc So, a djvu document would be less sophisticated. It might not matter for

Re: [NTG-context] ConTeXt support for DjVu backend

2011-06-22 Thread Hans Hagen
On 22-6-2011 11:31, Kip Warner wrote: On Wed, 2011-06-22 at 23:27 +0200, Hans Hagen wrote: - the starting point is scanned images - there can be an ocr layer but still the image is the core - pdf is more: colorspaces, vector graphics, annotations, etc So, a djvu document would be less

Re: [NTG-context] ConTeXt support for DjVu backend

2011-06-22 Thread Kip Warner
On Wed, 2011-06-22 at 23:36 +0200, Hans Hagen wrote: btw, it would be interesting to have a good open source jbig2 producer (as that is natively supported in pdf) and it's a pretty efficient compression (close to djvu) Interesting. -- Kip Warner -- Software Engineer OpenPGP

Re: [NTG-context] Bibliography is not working: entries not shown

2011-06-22 Thread Paul Menzel
Am Mittwoch, den 22.06.2011, 23:28 +0200 schrieb yoraxe: Am 22.06.2011 23:15, schrieb Pontus Lurcock: On Wed 22 Jun 2011, yoraxe wrote: \setupbibtex[database=bib] \starttext \completepublications \stoptext You want \completepublications[criterium=all], if you wish to list

Re: [NTG-context] Bibliography is not working

2011-06-22 Thread Jaroslav Hajtmar
Hello Yoraxe, what about this: \setupbibtex[database=bib] \starttext Citation: \cite[booklet] \placepublications[criterium=all] \stoptext Dne 22.6.2011 23:10, yoraxe napsal(a): Hey, Typing \setupbibtex[database=bib] \starttext \completepublications \stoptext with bib.bib:

Re: [NTG-context] \setscript[hanzi] and kana

2011-06-22 Thread Hans Hagen
On 22-6-2011 8:09, Wolfgang Schuster wrote: Hi, with \setscript[hanzi] kanji are broken at the end of the line but no kana. \setuplayout[width=4cm]\showframe \setscript[hanzi] \enabletrackers[scripts.analyzing] \starttext \definedfont[file:kozminpr6nregular] にほんにほんにほんにほん 日本日本日本日本日本日本

Re: [NTG-context] ConTeXt support for DjVu backend

2011-06-22 Thread Pontus Lurcock
On Wed 22 Jun 2011, Hans Hagen wrote: btw, it would be interesting to have a good open source jbig2 producer I believe https://github.com/agl/jbig2enc is open source, but I don't know whether it fulfils your other criterion of being good. Pont

Re: [NTG-context] Bibliography is not working

2011-06-22 Thread Pontus Lurcock
On Wed 22 Jun 2011, yoraxe wrote: Thanks for the information. I really didn't know that. But unfortunately this does not change anything. Strange, works here for me (ConTeXt MkIV version: 2011.02.25 22:03, Ubuntu Linux 32-bit) -- files attached. At this point I don't know what else to advise.

Re: [NTG-context] ConTeXt support for DjVu backend

2011-06-22 Thread Hans Hagen
On 23-6-2011 12:05, Pontus Lurcock wrote: On Wed 22 Jun 2011, Hans Hagen wrote: btw, it would be interesting to have a good open source jbig2 producer I believe https://github.com/agl/jbig2enc is open source, but I don't know whether it fulfils your other criterion of being good. aha, so

[NTG-context] Sanskrit Devanagari characters

2011-06-22 Thread Kip Warner
Hey list, I need to sprinkle my book with a few Sanskrit words written in the Devanagari script. I don't need to write complete paragraphs in it, but just a word or two inline. Can anyone show me the ConTeXt source to do such a thing, with, say तरीकिन? -- Kip Warner -- Software Engineer

[NTG-context] Changing Body Font

2011-06-22 Thread Kip Warner
Hey list, I am trying to change the body font of my document in the environment file to use the Ubuntu font provided at, /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-R.ttf , by the ttf-ubuntu-font-family package. I have tried the following, but it did not appear to change anything,

Re: [NTG-context] Changing Body Font

2011-06-22 Thread John Haltiwanger
Please take a look at the simplefonts module. \usemodule[simplefonts] \setmainfont[Ubuntu] \switchtobodyfont[11pt] (please correct me anyone, if I'm wrong). On Wed, Jun 22, 2011 at 4:10 PM, Kip Warner k...@thevertigo.com wrote: Hey list, I am trying to change the body font of my document in

Re: [NTG-context] Changing Body Font

2011-06-22 Thread Wolfgang Schuster
Am 23.06.2011 um 01:33 schrieb John Haltiwanger: Please take a look at the simplefonts module. \usemodule[simplefonts] \setmainfont[Ubuntu] \switchtobodyfont[11pt] (please correct me anyone, if I'm wrong). Use \setupbodyfont to change the font size for whole document, \switchtobodyfont

Re: [NTG-context] Metafun shifting pictures - again

2011-06-22 Thread Jeong Dalyoung
Hi all, I got the reason why the pictures locate in different position. rotation causes the problem. I defined domino as follows. It is not the exact code but just show the form of the codes. ... def domino (a, b, c, d ) save pic; picture pic; draw something 1;

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-22 Thread Khaled Hosny
On Wed, Jun 22, 2011 at 03:51:56PM -0700, Kip Warner wrote: Hey list, I need to sprinkle my book with a few Sanskrit words written in the Devanagari script. I don't need to write complete paragraphs in it, but just a word or two inline. Can anyone show me the ConTeXt source to do such a

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-22 Thread Mojca Miklavec
On Thu, Jun 23, 2011 at 06:36, Khaled Hosny wrote: On Wed, Jun 22, 2011 at 03:51:56PM -0700, Kip Warner wrote: Can anyone show me the ConTeXt source to do such a thing, with, say तरीकिन? ConTeXt MkIV (assuming it is what you use) has no proper support for Devanagari or other Indic scripts.