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

2011-06-23 Thread dalyoung
Dear Hans, Thank you for the suggestion to use "setbounds". And sorry to send you a untested sample file which is not working. However, I couldn't succeed because of my lack of knowledge on "setbounds, boundingbox". Instead, I try to use "addto" and get a wanted result. There is a better way t

[NTG-context] bad argument #1 to 'gsub'

2011-06-23 Thread Kip Warner
Hey folks, This code, as far as I remember, was working fine a few days ago but now craps out with: system > begin file Source/Handbook.tex at line 1 system > begin file Source/Environment at line 2 ! LuaTeX error ...text/tex/texmf-context/tex/context/base/data-env.lua:234: bad

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-23 Thread Kip Warner
On Thu, 2011-06-23 at 06:36 +0200, Khaled Hosny wrote: > ConTeXt MkIV (assuming it is what you use) has no proper support for > Devanagari or other Indic scripts. Since you need only few words, you > can produce them externally (say ConTeXt MkII with XeTeX or Inkscape) > and include the resultant P

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-23 Thread Kip Warner
On Thu, 2011-06-23 at 14:05 +0200, Daniel Stender wrote: > I was planning to spend some time on at least typesetting Devanagari with > ConTeXt in the > foreseenable future. I'll come back with this in a couple of weeks. > > Greetings, > Daniel Stender Thanks Daniel. If you need a sample project

Re: [NTG-context] t-filter: how to use math-mode

2011-06-23 Thread Aditya Mahajan
On Thu, 23 Jun 2011, yoraxe wrote: Am 23.06.2011 18:30, schrieb Aditya Mahajan: On Thu, 23 Jun 2011, yoraxe wrote: How can I use math-mode in such a table? Using $a_b$ it just prints $a_b$ instead of identifying this as a math-input. I'm using pandoc 1.8.1.1 and context 2011.06.19. Can you

Re: [NTG-context] interpunct is not shown like \cdot in mathmode

2011-06-23 Thread Aditya Mahajan
On Fri, 24 Jun 2011, yoraxe wrote: Hey. Trying to use the interpunct · as a dot operator (normally \cdot), I noticed, that it is not shown correctly in math mode. Since the interpunct has different applications in different languages, in text mode its appearance seems to be okay. But isn't it p

Re: [NTG-context] Bibliography is not working

2011-06-23 Thread Aditya Mahajan
On Fri, 24 Jun 2011, yoraxe wrote: Am 24.06.2011 00:12, schrieb Aditya Mahajan: On Thu, 23 Jun 2011, Hans Hagen wrote: On 23-6-2011 10:16, yoraxe wrote: Strange is, that it worked a month ago. afaik nothing really changes with the bibliographic system this month It could be a \write18 p

[NTG-context] interpunct is not shown like \cdot in mathmode

2011-06-23 Thread yoraxe
Hey. Trying to use the interpunct · as a dot operator (normally \cdot), I noticed, that it is not shown correctly in math mode. Since the interpunct has different applications in different languages, in text mode its appearance seems to be okay. But isn't it possible to change its functionality to

Re: [NTG-context] Bibliography is not working

2011-06-23 Thread yoraxe
Am 24.06.2011 00:12, schrieb Aditya Mahajan: > On Thu, 23 Jun 2011, Hans Hagen wrote: > >> On 23-6-2011 10:16, yoraxe wrote: >> >>> Strange is, that it worked a month ago. >> >> afaik nothing really changes with the bibliographic system this month > > It could be a \write18 problem. Is a \jobname

Re: [NTG-context] Bibliography is not working

2011-06-23 Thread Aditya Mahajan
On Thu, 23 Jun 2011, Hans Hagen wrote: On 23-6-2011 10:16, yoraxe wrote: Strange is, that it worked a month ago. afaik nothing really changes with the bibliographic system this month It could be a \write18 problem. Is a \jobname.bbl file generated? Last I checked, TL2010 came with a horri

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

2011-06-23 Thread Hans Hagen
On 23-6-2011 5:39, Wolfgang Schuster wrote: Am 23.06.2011 um 00:01 schrieb Hans Hagen: japanese is not yet defined; we need entries in scrp-ini and scrp-cjk for that, character categories and initializations and we need japanese expertise for that Japanese is supported (it’s only a few extr

Re: [NTG-context] \setscript[hanzi] and kana (Wolfgang Schuster)

2011-06-23 Thread Hans Hagen
On 23-6-2011 11:23, Wolfgang Schuster wrote: Am 23.06.2011 um 21:11 schrieb Hans Hagen: On 23-6-2011 8:52, Wolfgang Schuster wrote: Am 23.06.2011 um 20:23 schrieb S Barmeier: I guess vertical typesetting is a little more involved, but as far as horizontal typesetting goes, most of the spac

Re: [NTG-context] \setscript[hanzi] and kana (Wolfgang Schuster)

2011-06-23 Thread Wolfgang Schuster
Am 23.06.2011 um 21:11 schrieb Hans Hagen: > On 23-6-2011 8:52, Wolfgang Schuster wrote: >> >> Am 23.06.2011 um 20:23 schrieb S Barmeier: >> >>> I guess vertical typesetting is a little more involved, but as far as >>> horizontal >>> typesetting goes, most of the spacing is coded into the font

Re: [NTG-context] t-filter: how to use math-mode

2011-06-23 Thread yoraxe
Am 23.06.2011 21:59, schrieb yoraxe: > Am 23.06.2011 18:30, schrieb Aditya Mahajan: >> On Thu, 23 Jun 2011, yoraxe wrote: >> >>> How can I use math-mode in such a table? Using $a_b$ it just prints >>> $a_b$ instead of identifying this as a math-input. >>> >>> I'm using pandoc 1.8.1.1 and context 20

Re: [NTG-context] restrict # TeX Context runs

2011-06-23 Thread Hans Hagen
On 23-6-2011 10:23, Hans van der Meer wrote: I am typesetting a lot of small Metapost pictures, each on a separate page: from a few hundred to more than thousand. ConTeXt will pass some three times over the input, but I need just the bare Metapost pictures. My guess is, that one pass over the

Re: [NTG-context] Bibliography is not working

2011-06-23 Thread Hans Hagen
On 23-6-2011 10:16, yoraxe wrote: Strange is, that it worked a month ago. afaik nothing really changes with the bibliographic system this month Hans - Hans Hagen | PRAGMA ADE

[NTG-context] restrict # TeX Context runs

2011-06-23 Thread Hans van der Meer
I am typesetting a lot of small Metapost pictures, each on a separate page: from a few hundred to more than thousand. ConTeXt will pass some three times over the input, but I need just the bare Metapost pictures. My guess is, that one pass over the input will be sufficient to provide a view to a

Re: [NTG-context] Bibliography is not working

2011-06-23 Thread yoraxe
Am 23.06.2011 12:09, schrieb Jaroslav Hajtmar: > I dont know now. I dont have much experience with it. I would try if it > can not be a problem as the encoding (UTF8) or try to add at the > beginning of \usemodule [bib]. > Or try to update bib module (ie > http://www.mail-archive.com/ntg-context @

Re: [NTG-context] t-filter: how to use math-mode

2011-06-23 Thread yoraxe
Am 23.06.2011 18:30, schrieb Aditya Mahajan: > On Thu, 23 Jun 2011, yoraxe wrote: > >> How can I use math-mode in such a table? Using $a_b$ it just prints >> $a_b$ instead of identifying this as a math-input. >> >> I'm using pandoc 1.8.1.1 and context 2011.06.19. > > Can you give a complete minim

[NTG-context] Influencing of horizontal arrangement of list of publications

2011-06-23 Thread Jaroslav Hajtmar
Hello ConTeXist, As is known, the layout of a list (of content) is determined by the values of alternative, margin, width and distance. Required values can be changed via commands \setuplist or \setupcombinedlist. Can somehow influence the horizontal arrangement of items in lists typed usin

Re: [NTG-context] \setscript[hanzi] and kana (Wolfgang Schuster)

2011-06-23 Thread Hans Hagen
On 23-6-2011 8:52, Wolfgang Schuster wrote: Am 23.06.2011 um 20:23 schrieb S Barmeier: Japanese was working more or less a few months ago. It was working till February (I tested it with a old beta) and also when i comment the mentioned but i have no clue what’s the purpose of the line. I g

Re: [NTG-context] setuplist inherit margin and width

2011-06-23 Thread Jaroslav Hajtmar
Hello Wolfgang. I know that my question is a little off this topic, but: Is there any possibility change due this method affect appearance list typed using \placecontent (the gap between list items, alignment, etc.)? If I knew how to do it, maybe I found how to change appearance list of bibliog

Re: [NTG-context] \setscript[hanzi] and kana (Wolfgang Schuster)

2011-06-23 Thread Wolfgang Schuster
Am 23.06.2011 um 20:23 schrieb S Barmeier: > Japanese was working more or less a few months ago. It was working till February (I tested it with a old beta) and also when i comment the mentioned but i have no clue what’s the purpose of the line. > I guess vertical > typesetting is a little more

Re: [NTG-context] setuplist inherit margin and width

2011-06-23 Thread Wolfgang Schuster
Am 23.06.2011 um 19:49 schrieb Jaroslav Hajtmar: > Hello Wolfgang. > I know that my question is a little off this topic, but: > Is there any possibility change due this method affect appearance list typed > using \placecontent (the gap between list items, alignment, etc.)? > If I knew how to do

Re: [NTG-context] \setscript[hanzi] and kana (Wolfgang Schuster)

2011-06-23 Thread S Barmeier
On 06/24/2011 12:39 AM, ntg-context-requ...@ntg.nl wrote: >> > japanese is not yet defined; we need entries in scrp-ini and scrp-cjk for >> > that, character categories and initializations and we need japanese >> > expertise for that > Japanese is supported (it?s only a few extra chars for the ch

Re: [NTG-context] setuplist inherit margin and width

2011-06-23 Thread Hans Hagen
On 23-6-2011 6:08, Wolfgang Schuster wrote: Variant 1: Variant 2: Nice examples for the wiki! - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherland

Re: [NTG-context] Text Background

2011-06-23 Thread Aditya Mahajan
On Thu, 23 Jun 2011, H. Hodges wrote: luigi scarso gmail.com> writes: ok, this example must work under mkii. If not, can be a bug. Still no background. I downloaded context from an Ubuntu repository, so I'm not sure if it is a minimal package or not. Since it installed things on my path,

Re: [NTG-context] [solved] t-filter: no table created when Unicode characters are included

2011-06-23 Thread Aditya Mahajan
On Thu, 23 Jun 2011, yoraxe wrote: How can I use math-mode in such a table? Using $a_b$ it just prints $a_b$ instead of identifying this as a math-input. I'm using pandoc 1.8.1.1 and context 2011.06.19. Can you give a complete minimal example? Aditya _

Re: [NTG-context] setuplist inherit margin and width

2011-06-23 Thread Wolfgang Schuster
Am 23.06.2011 um 16:49 schrieb Steffen Wolfrum: > Hi, > > say, I want to design the TOC. Now I would write: > > \setuplist[LevelFour] [margin=1.20cm,width=0.5cm,...] > \setuplist[LevelFive] [margin=1.70cm,width=0.5cm,] > > > But is there some clever command that makes a calculation like thi

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

2011-06-23 Thread Wolfgang Schuster
Am 23.06.2011 um 00:01 schrieb Hans Hagen: > japanese is not yet defined; we need entries in scrp-ini and scrp-cjk for > that, character categories and initializations and we need japanese expertise > for that Japanese is supported (it’s only a few extra chars for the chinese code) and worked

Re: [NTG-context] Using Mkiv

2011-06-23 Thread Mojca Miklavec
On Thu, Jun 23, 2011 at 15:47, H. Hodges wrote: > I have Texlive installed on Ubuntu Linux x64. The version is listed as > "2009-11." > According to http://wiki.contextgarden.net/Running_Mark_IV#Introduction, with > this version, I should be able to compile by typing TeX Live 2009 is the worst po

Re: [NTG-context] Text Background

2011-06-23 Thread luigi scarso
On Thu, Jun 23, 2011 at 5:25 PM, H. Hodges wrote: > > runsystem(mpost  -progname=metafun -mem=metafun > untitled-5-mpgraph)...disabled. ^^^ open a shell and $> export shell_escape=true then try again. With shell_escape=true external commands are enabled, so by default shell_escape is not true. -

Re: [NTG-context] Text Background

2011-06-23 Thread H. Hodges
luigi scarso gmail.com> writes: > can you post the log ? > > Can be: if > $>context > works than you have a mkiv. The context command doesn't work at the command line. Here is the log; I'm not sure how much of it is useful. This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian) (fo

Re: [NTG-context] Text Background

2011-06-23 Thread luigi scarso
On Thu, Jun 23, 2011 at 4:52 PM, H. Hodges wrote: > luigi scarso gmail.com> writes: > >> >> ok, this example must work under mkii. If not, can be a bug. >> >> > > Still no background. can you post the log ? >I downloaded context from an Ubuntu repository, so I'm not > sure if it is a minimal pac

Re: [NTG-context] Text Background

2011-06-23 Thread H. Hodges
luigi scarso gmail.com> writes: > > ok, this example must work under mkii. If not, can be a bug. > > Still no background. I downloaded context from an Ubuntu repository, so I'm not sure if it is a minimal package or not. Since it installed things on my path, I assume that it isn't.

[NTG-context] setuplist inherit margin and width

2011-06-23 Thread Steffen Wolfrum
Hi, say, I want to design the TOC. Now I would write: \setuplist[LevelFour] [margin=1.20cm,width=0.5cm,...] \setuplist[LevelFive] [margin=1.70cm,width=0.5cm,] But is there some clever command that makes a calculation like this: \setuplist[LevelFour] [margin=1.20cm,width=0.5cm,...] \setuplis

Re: [NTG-context] Text Background

2011-06-23 Thread Martin Schröder
2011/6/23 H. Hodges : > I don't know what "minimals" means. I've tried both of the commands you listed http://lmgtfy.com/?q=context+minimals&l=1 Best Martin ___ If your question is of interest to others as well, pl

Re: [NTG-context] Text Background

2011-06-23 Thread luigi scarso
On Thu, Jun 23, 2011 at 4:21 PM, H. Hodges wrote: > luigi scarso gmail.com> writes: > >> Are you using minimals (recommended) or not ? >> >> for mkiv >> $> context test.tex >> >> for mkii >> $> texexec test.tex >> or >> $>texmfstart texexec  test >> > > I don't know what "minimals" means. http://

Re: [NTG-context] [solved] t-filter: no table created when Unicode characters are included

2011-06-23 Thread yoraxe
Am 27.05.2011 10:53, schrieb Paul Menzel: > Am Montag, den 02.05.2011, 17:30 +0200 schrieb Paul Menzel: >> Am Sonntag, den 01.05.2011, 15:09 -0400 schrieb Aditya Mahajan: >>> On Sun, 1 May 2011, Aditya Mahajan wrote: >>> On Sun, 1 May 2011, Peter Münster wrote: > So, whatever the orig

Re: [NTG-context] Text Background

2011-06-23 Thread H. Hodges
luigi scarso gmail.com> writes: > Are you using minimals (recommended) or not ? > > for mkiv > $> context test.tex > > for mkii > $> texexec test.tex > or > $>texmfstart texexec test > I don't know what "minimals" means. I've tried both of the commands you listed for mkii; neither gave me a

Re: [NTG-context] Using Mkiv

2011-06-23 Thread luigi scarso
On Thu, Jun 23, 2011 at 3:47 PM, H. Hodges wrote: > I have Texlive installed on Ubuntu Linux x64. The version is listed as > "2009-11." > According to http://wiki.contextgarden.net/Running_Mark_IV#Introduction, with > this version, I should be able to compile by typing > > context filename.tex >

[NTG-context] Using Mkiv

2011-06-23 Thread H. Hodges
I have Texlive installed on Ubuntu Linux x64. The version is listed as "2009-11." According to http://wiki.contextgarden.net/Running_Mark_IV#Introduction, with this version, I should be able to compile by typing context filename.tex at the command line, but I get the error MTXrun | forcing cach

Re: [NTG-context] Text Background

2011-06-23 Thread luigi scarso
On Thu, Jun 23, 2011 at 2:51 PM, H. Hodges wrote: > luigi scarso gmail.com> writes: > >> >> On Thu, Jun 23, 2011 at 2:06 PM, luigi scarso gmail.com> > wrote: >> >> also with mkii, with \setupcolors[state=start] >> >> \setupcolors[state=start] >> \definetextbackground[intro][backgroundcolor=gray,

Re: [NTG-context] Problem with \definehead

2011-06-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Don’t misuse headings for your titlepage. As a titlepage is something special you can use \midaligned, \definedfont etc. to format it, e.g. Thanks for the answer, but - - to describe better my situation: I'm not creating a typical book, but a special kind of report, with many code generated b

Re: [NTG-context] Text Background

2011-06-23 Thread H. Hodges
luigi scarso gmail.com> writes: > > On Thu, Jun 23, 2011 at 2:06 PM, luigi scarso gmail.com> wrote: > > also with mkii, with \setupcolors[state=start] > > \setupcolors[state=start] > \definetextbackground[intro][backgroundcolor=gray, >location=text,color=blue] > > \starttext > > \st

Re: [NTG-context] Problem with \definehead

2011-06-23 Thread Wolfgang Schuster
Am 23.06.2011 um 11:03 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: > Its goal is to define \(start/stop)TitlePage command in which heads will be > centred (although they are not mid-aligned by default). > > (I don't know if my approach is the best - I'm using \chapterMiddle instead > of \c

Re: [NTG-context] Text Background

2011-06-23 Thread luigi scarso
On Thu, Jun 23, 2011 at 2:06 PM, luigi scarso wrote: also with mkii, with \setupcolors[state=start] \setupcolors[state=start] \definetextbackground[intro][backgroundcolor=gray, location=text,color=blue] \starttext \starttextbackground[intro] \input knuth \stoptextbackground \stoptext

Re: [NTG-context] Text Background

2011-06-23 Thread luigi scarso
On Thu, Jun 23, 2011 at 1:56 PM, H. Hodges wrote: this is ok (mkiv) \definetextbackground[intro][backgroundcolor=gray, location=text,color=blue] \starttext \starttextbackground[intro] \input knuth \stoptextbackground \stoptext -- luigi __

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-23 Thread Daniel Stender
I was planning to spend some time on at least typesetting Devanagari with ConTeXt in the foreseenable future. I'll come back with this in a couple of weeks. Greetings, Daniel Stender On 23.06.2011 09:38, Hans Hagen wrote: > On 23-6-2011 8:06, Khaled Hosny wrote: >> On Thu, Jun 23, 2011 at 07:58:

Re: [NTG-context] Text Background

2011-06-23 Thread H. Hodges
luigi scarso gmail.com> writes: > \stoptextbackground > > (btw, not checked) I have \stoptextbackground in the document. I mistyped it in my question. ___ If your question is of interest to others as well, please

Re: [NTG-context] Text Background

2011-06-23 Thread luigi scarso
On Thu, Jun 23, 2011 at 1:35 PM, H. Hodges wrote: > I can't seem to set a background on one of my paragraphs. I'm using: > > \definetextbackground[intro][backgroundcolor=gray, >        location=text,color=blue] > > along with > > \starttextbackground[intro] > paragraph > \stopbackgroundtext ^^^ \s

[NTG-context] Text Background

2011-06-23 Thread H. Hodges
I can't seem to set a background on one of my paragraphs. I'm using: \definetextbackground[intro][backgroundcolor=gray, location=text,color=blue] along with \starttextbackground[intro] paragraph \stopbackgroundtext in the body of the document. I got the impression from one of the manu

Re: [NTG-context] Problem with \definehead

2011-06-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... A simplified piece of code - the result still depends on presence of "\definehead[sectionMiddle][section]": \definehead[chapterMiddle][chapter] \setuphead[chapterMiddle][align=middle] \definehead[sectionMiddle][section] % Try to comment this line! \definecombinedlist[content][chapter,

Re: [NTG-context] Bibliography is not working

2011-06-23 Thread Jaroslav Hajtmar
I dont know now. I dont have much experience with it. I would try if it can not be a problem as the encoding (UTF8) or try to add at the beginning of \usemodule [bib]. Or try to update bib module (ie http://www.mail-archive.com/ntg-context @ ntg.nl/msg38443.html) etc.. Unfortunately I do not ha

Re: [NTG-context] Bibliography is not working

2011-06-23 Thread yoraxe
Am 23.06.2011 11:37, schrieb Jaroslav Hajtmar: > > It is strange. > I compiled it by > 1) latest minimals > 2) ConTeXt (MKIV) in TeXLive 2010. > (LuaTeX, Version beta-0.60.2-2010071421 (Web2C 2010) (rev 3736) > ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.9.21 int: english/english > > and in b

Re: [NTG-context] Bibliography is not working

2011-06-23 Thread Jaroslav Hajtmar
It is strange. I compiled it by 1) latest minimals 2) ConTeXt (MKIV) in TeXLive 2010. (LuaTeX, Version beta-0.60.2-2010071421 (Web2C 2010) (rev 3736) ConTeXt ver: 2010.05.24 13:05 MKIV fmt: 2010.9.21 int: english/english and in both cases it was fine... (I really tried) Jaroslav Dne 23.6.

[NTG-context] Problem with \definehead

2011-06-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, please look at the following minimal example: \definehead[chapterMiddle][chapter] \setuphead[chapterMiddle][align=middle] \definehead[sectionMiddle][section] % Try to comment this line! \definecombinedlist[content][part,chapter,chapterMiddle] \setupcombinedlist[content][alternative

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

2011-06-23 Thread Hans Hagen
On 23-6-2011 6:32, Jeong Dalyoung wrote: 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; pi

Re: [NTG-context] Sanskrit Devanagari characters

2011-06-23 Thread Hans Hagen
On 23-6-2011 8:06, Khaled Hosny wrote: On Thu, Jun 23, 2011 at 07:58:38AM +0200, Mojca Miklavec wrote: On Thu, Jun 23, 2011 at 06:36, Khaled Hosny wrote: I don't know to what extent the support is missing (how complex are the typographical rules apart from just sticking the letters close enough

Re: [NTG-context] Bibliography is not working

2011-06-23 Thread yoraxe
Am 23.06.2011 00:09, schrieb 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, Some weeks ago this also has wo

Re: [NTG-context] Bibliography is not working

2011-06-23 Thread yoraxe
Am 22.06.2011 23:49, schrieb Jaroslav Hajtmar: > Hello Yoraxe, > what about this: > > \setupbibtex[database=bib] > > \starttext > Citation: \cite[booklet] > > \placepublications[criterium=all] > > \stoptext Just Citation: [[error 2]] (attached) > Dne 22.6.2011 23:10, yoraxe napsal(a): >> He