Re: [NTG-context] emacs (was: Re: PhD Thesis in ConTeXt)

2008-10-22 Thread Marcin Borkowski
Dnia Wed, Oct 22, 2008 at 07:31:32AM +0200, Peter Münster napisa#322;(a): On Wed, Oct 22 2008, Marcin Borkowski wrote: Well, my heart is breaking when I type this, but my beloved emacs;) has rather poor ConTeXt support... I use Emacs 22 with AUCTeX 11.84. Well, although it *works*, it

Re: [NTG-context] new beta

2008-10-22 Thread Wolfgang Schuster
On Fri, Oct 17, 2008 at 11:15 AM, Hans Hagen [EMAIL PROTECTED] wrote: Hi, this time a beta that is more beta than usual (mkiv) - it needs a recent luatex (no surprise) - there are some speedups, but it might break things (should not happen) - the memory footprint should be a bit smaller

[NTG-context] How to test font availability?

2008-10-22 Thread Ruini Xue
I want to define sans to A.ttf, and if A.ttf is unavailable, B.ttf will be used. So the question is, how to test whether a font is available? Or is it possible to provide a list of candidates (e.g., \definefontsynonym[sans][name:A.ttf;name:B.ttf])? -- ruini

Re: [NTG-context] Vertically centered title page

2008-10-22 Thread Wolfgang Schuster
On Tue, Oct 21, 2008 at 10:42 PM, Idris Samawi Hamid ادريس سماوي حامد [EMAIL PROTECTED] wrote: On Tue, 21 Oct 2008 14:22:08 -0600, Flavien Lambert [EMAIL PROTECTED] wrote: Dear all, I am trying to build a presentation with specific requirements. I would like to have the title of the

Re: [NTG-context] mkiv: Bug in Right to Left numerals?

2008-10-22 Thread Wolfgang Schuster
On Tue, Oct 21, 2008 at 7:19 PM, Otared Kavian [EMAIL PROTECTED] wrote: On 21 oct. 08, at 15:13, Khaled Hosny wrote: This isn't actually a bug, \textdir TRT will reverse all text, try setting \setupdirection[bidi=global] to enable the experimental auto-bidi support. Thanks Khaled for your

Re: [NTG-context] PhD Thesis in ConTeXt

2008-10-22 Thread Stephen A. Tjemkes
As all the experts have answered your question, let a non-expert join in. The single frustrating element of context is the documentation. I use context now for many years (not on a daily basis though) for writing journal papers, posters, presentations etc. I think it is a great package. and the

Re: [NTG-context] \setuphead and horizontal rules

2008-10-22 Thread Wolfgang Schuster
On Tue, Oct 21, 2008 at 7:00 PM, Andrew Ho [EMAIL PROTECTED] wrote: Hi, Let me prefix this first my saying that I'm new to ConTeXT, so apologies if there is an obvious solution to what I'm trying to do or I'm approaching it in the wrong way. I'm trying to style chapter headings so that they

Re: [NTG-context] XML

2008-10-22 Thread Wolfgang Schuster
On Sun, Oct 19, 2008 at 10:38 PM, Johannes Graumann [EMAIL PROTECTED] wrote: Wolfgang Schuster wrote: \xmlfilter{main}{office:automatic-styles/style:style/style:text-properties /command(do:style:text-properties)} \xmlflush{#1} \egroup \stopxmlsetups \startxmlsetups text:span

Re: [NTG-context] What should I learn?

2008-10-22 Thread Hans Hagen
Mauricio wrote: Mauricio wrote: Original Tex is not an option, since PDF, today's font formats (and Unicode) and many algorithms didn't exist when Knuth decided no features would be added anymore. Maybe I should hack the source code of pdftex or luatex? I can try that, but that's going to

Re: [NTG-context] new beta

2008-10-22 Thread Hans Hagen
Wolfgang Schuster wrote: -\def\savetwopassdata#1#2#3{\expanded{\ctxlatetua{jobpasses.save('#1',#3)}}} +\def\savetwopassdata#1#2#3{\expanded{\ctxlatelua{jobpasses.save('#1',#3)}}} hm 2. \setlayer (unwanted spaces) - \dododosetlayer[#1][#2][#3] +

Re: [NTG-context] How to test font availability?

2008-10-22 Thread Hans Hagen
Ruini Xue wrote: I want to define sans to A.ttf, and if A.ttf is unavailable, B.ttf will be used. So the question is, how to test whether a font is available? Or is it possible to provide a list of candidates (e.g., \definefontsynonym[sans][name:A.ttf;name:B.ttf])? you can do something

Re: [NTG-context] PhD Thesis in ConTeXt

2008-10-22 Thread Steffen Wolfrum
Am 22.10.2008 um 09:13 schrieb Stephen A. Tjemkes: As all the experts have answered your question, let a non-expert join in. The single frustrating element of context is the documentation. I use context now for many years (not on a daily basis though) for writing journal papers,

Re: [NTG-context] mkiv: Bug in Right to Left numerals?

2008-10-22 Thread Otared Kavian
On 22 oct. 08, at 09:02, Wolfgang Schuster wrote: On Tue, Oct 21, 2008 at 7:19 PM, Otared Kavian [EMAIL PROTECTED] wrote: On 21 oct. 08, at 15:13, Khaled Hosny wrote: This isn't actually a bug, \textdir TRT will reverse all text, try setting \setupdirection[bidi=global] to enable the

Re: [NTG-context] emacs

2008-10-22 Thread Gour
Marcin == Marcin Borkowski [EMAIL PROTECTED] writes: Marcin I know that these are not *serious* problems; but the UX is poor Marcin with them... I agree :-/ Marcin I plan to learn emacs lisp a bit in my spare time (though I Marcin almost forgot what spare time means;P), but I certainly won't

Re: [NTG-context] What should I learn?

2008-10-22 Thread Mauricio
Original Tex is not an option, since PDF, today's font formats (and Unicode) and many algorithms didn't exist when Knuth decided no features would be added anymore. Maybe I should hack the source code of pdftex or luatex? (...) you want to writ ea full blown macro package with advanced

[NTG-context] TeXshop

2008-10-22 Thread Willi Egger
Hi all, is there anybody who has TeXshop running with the COnTeXt minimals? I tried to make a new engine which looks up to now as stated her under. however I get an error message: MtxRun | unknown script 'context.lua' or 'mtx-context.lua' My interpretation is, that underway the path to the

Re: [NTG-context] What should I learn?

2008-10-22 Thread Mauricio
Original Tex is not an option, since PDF, today's font formats (and Unicode) and many algorithms didn't exist when Knuth decided no features would be added anymore. Maybe I should hack the source code of pdftex or luatex? I can try that, but that's going to be hard work and I would like to

Re: [NTG-context] What should I learn?

2008-10-22 Thread Mauricio
I also like to write programs (I use a really nice language named Haskell). Do you thing I could get what I want if I write or translate typography functions to that language, and then write programs to generate documents? Where could I find or where could I learn about such functions?

Re: [NTG-context] TeXshop

2008-10-22 Thread Wolfgang Schuster
On Wed, Oct 22, 2008 at 12:57 PM, Willi Egger [EMAIL PROTECTED] wrote: Hi all, is there anybody who has TeXshop running with the COnTeXt minimals? I tried to make a new engine which looks up to now as stated her under. however I get an error message: MtxRun | unknown script 'context.lua'

Re: [NTG-context] What should I learn?

2008-10-22 Thread Taco Hoekwater
Mauricio wrote: I also like to write programs (I use a really nice language named Haskell). Do you thing I could get what I want if I write or translate typography functions to that language, and then write programs to generate documents? Where could I find or where could I learn about such

Re: [NTG-context] TeXshop

2008-10-22 Thread Otared Kavian
Hi Willi, Yes I did install mkiv through the ConTeXt Minimals (thanks to Luigi Scarso) and I invoke that installation in TeXShop: everything works fine. However I have not added any environment variables as you have done in your .bashrc. saying env | grep TEX in a Terminal window

Re: [NTG-context] What should I learn?

2008-10-22 Thread luigi scarso
On Wed, Oct 22, 2008 at 1:35 PM, Taco Hoekwater [EMAIL PROTECTED] wrote: Mauricio wrote: I also like to write programs (I use a really nice language named Haskell). Do you thing I could get what I want if I write or translate typography functions to that language, and then write

Re: [NTG-context] PhD Thesis in ConTeXt

2008-10-22 Thread John Devereux
Steffen Wolfrum [EMAIL PROTECTED] writes: Am 22.10.2008 um 09:13 schrieb Stephen A. Tjemkes: As all the experts have answered your question, let a non-expert join in. The single frustrating element of context is the documentation. I use context now for many years (not on a daily basis

Re: [NTG-context] PhD Thesis in ConTeXt

2008-10-22 Thread Piotr
Hello, thank You (!) for the many responses - I am surprised about how many people answered with suggestions, opinions, useful information and templates. I think I will give context a try - if it will run on my Vista-64 System. I will check that out in the next day(s). It sounds as a good

Re: [NTG-context] TeXshop

2008-10-22 Thread Hans van der Meer
In order to run luatex in my TeXShop (MacOSX10.5.5) I did put the following code into ~/Library/TeXShop/Engines/LuaTeX.engine #!/bin/bash export TEXLIVE=/usr/local/texlive export TEXHOME=$TEXLIVE/2008 export TEXBIN=$TEXHOME/bin/universal-darwin export TEXCONTEXT=$TEXLIVE/texmf-local export

Re: [NTG-context] TeXshop

2008-10-22 Thread Otared Kavian
On 22 oct. 08, at 12:57, Willi Egger wrote: Hi all, is there anybody who has TeXshop running with the COnTeXt minimals? I tried to make a new engine which looks up to now as stated her under. however I get an error message: Hi again Willi, If you have installed ConTeXt-Miimal for MacOS

Re: [NTG-context] PhD Thesis in ConTeXt

2008-10-22 Thread Marcin Borkowski
Dnia Wed, Oct 22, 2008 at 03:05:31PM +0200, Piotr napisa#322;(a): Hello, thank You (!) for the many responses - I am surprised about how many people answered with suggestions, opinions, useful information and templates. So you get the feeling of the ConTeXt community;). Well, sometimes it

Re: [NTG-context] XML

2008-10-22 Thread Johannes Graumann
Wolfgang Schuster wrote: I attached a fixed version, the errors in your version are: Thank you for your time! - your wrote do:style:textproperties instead of do:style:text-properties for the text:span element , the hyphen was missing Ok, that was plain stupid. - the begin of the line in

Re: [NTG-context] TeXshop

2008-10-22 Thread Willi Egger
Hi Wolfgang, I am currently on a Mac ... Willi On Oct 22, 2008, at 1:28 PM, Wolfgang Schuster wrote: On Wed, Oct 22, 2008 at 12:57 PM, Willi Egger [EMAIL PROTECTED] wrote: Hi all, is there anybody who has TeXshop running with the COnTeXt minimals? I tried to make a new engine which

Re: [NTG-context] TeXshop

2008-10-22 Thread Willi Egger
Hi Otared, Thanks for your answer, looking forward to that! Willi On Oct 22, 2008, at 1:13 PM, Otared Kavian wrote: Hi Willi, Yes I did install mkiv through the ConTeXt Minimals (thanks to Luigi Scarso) and I invoke that installation in TeXShop: everything works fine. However I have not

Re: [NTG-context] TeXshop

2008-10-22 Thread Willi Egger
Dear Otared, many thanks for your explanation. - It works now as a charm! I see, that I was at the beginning almost there. The problem was apparently, that I did not set the executable bit. Thanks again Willi On Oct 22, 2008, at 3:25 PM, Otared Kavian wrote: On 22 oct. 08, at 12:57, Willi

Re: [NTG-context] TeXshop

2008-10-22 Thread Willi Egger
Hi Wolfgang I would like to give the TEXworks application also a try. I downloaded the libraries and the executable r167 as provided from the TUG-site. The libraries were put into /Library/Frameworks (local) The other libraries into /opt/local/lib (there is no such folder as / usr/local/lib

Re: [NTG-context] TeXshop

2008-10-22 Thread Otared Kavian
Hi Wolfgang and Willi, As soon as I saw Wolfgang's message about TeXworks, I tried to install and use it, but without success (I even didn't figure out what Willi says about the libraries and so on). Maybe, in the sense of Mac OS X, it is not yet an application? I am stymmied too… Best

[NTG-context] Problem with mkiv and MPgraphic

2008-10-22 Thread Otared Kavian
Hi, The following doesn't show the swelled rule defined below in mkiv, while on mkii it is fine? So my question is: is there a new way to define MPgraphic in mkiv? Best regards: OK %% defining swelled ruel, or English rule... \setupMPvariables[SwelledRule][height=2pt,breadth=.667\localhsize]

[NTG-context] Strange behaviour with colors and figures

2008-10-22 Thread Flavien Lambert
Dear all, as expressed by the title, I have a very strange behaviour between colors and figures. Here is the example : \setupcolors[state=start] \definecolor[gris][r=0.310,g=0.333,b=0.341] \starttext \placefigure{}{\externalfigure[myfigure]} \color[gris]{\tfd Some text} \stoptext If myfigure

Re: [NTG-context] PhD Thesis in ConTeXt

2008-10-22 Thread Alan BRASLAU
On Wednesday 22 October 2008 09:13:20 Stephen A. Tjemkes wrote: The single frustrating element of context is the documentation. I use context now for many years (not on a daily basis though) for writing journal papers, posters, presentations etc. I think it is a great package. and the

Re: [NTG-context] XML

2008-10-22 Thread Johannes Graumann
I keep gnawing on this now ... Added the following (see attachment): \xmlval{fo:color}{\xmlatt{#1}{color}}{} and \xmlmapvalue{fo:color}{#ff}{\color[red]} Which works just fine (given you use \setupcolors[state=start] as well), but is there a way to generically paste the ff bit into

Re: [NTG-context] PhD Thesis in ConTeXt

2008-10-22 Thread Peter Münster
On Wed, Oct 22 2008, John Devereux wrote: But one thing I still find is that the documentation for a command (when it exists at all) can list 20 parameters, of which only a couple are explained. I often still have no idea what the others do. The meaning may be obvious to typography or tex

Re: [NTG-context] PhD Thesis in ConTeXt

2008-10-22 Thread Aditya Mahajan
On Wed, 22 Oct 2008, Alan BRASLAU wrote: My question to the mailing list: is this task structured? Is this being managed by anyone? Unfortunately, not. Taco started working on the documentation and spent more than a month rewriting the font documentation. Most of the old manual is now under

Re: [NTG-context] XML

2008-10-22 Thread Hans Hagen
Johannes Graumann wrote: I keep gnawing on this now ... Added the following (see attachment): \xmlval{fo:color}{\xmlatt{#1}{color}}{} and \xmlmapvalue{fo:color}{#ff}{\color[red]} Which works just fine (given you use \setupcolors[state=start] as well), but is there a way to

[NTG-context] Some questions about TeX Gyre support in minimals

2008-10-22 Thread Oleg Kolosov
Hello Everyone! I've started to experiment with MkIV in ConTeXt minimals recently trying to make TeX Gyre fonts work with as few definitions as possible. Here is the list of problems I've encountered: 1. No small-caps in any font (gyre fonts doesn't have that yet?) 2. adventor have italic but

Re: [NTG-context] \setuphead and horizontal rules

2008-10-22 Thread Andrew Ho
|--- 1.1 Some chapter --| \define[2]\ChapterCommand [...] Thank you, this is exactly what I was looking for. Regards, Andrew ___ If your question is of interest to others as well, please

[NTG-context] Reference to a subitem

2008-10-22 Thread Diego Depaoli
Hi all, referencing a subitem I get also the item (1.a, 2.c and so on). Can I split them or get only the subitem? \starttext \startitemize [n] \item [number] one \startitemize [a] \item [letter] letter \stopitemize \stopitemize Look at number \in[number] letter \in[letter] \stoptext Normal

[NTG-context] no hyphenation over right page break?

2008-10-22 Thread Jelle Huisman
Hi all, In my project I \input a number of text files into a double-column layout. One of the layout requests is: no hyphenation over right page breaks allowed. I can't think of a way to do this, but I would be happy if someone knew a way to prevent hyphenation of the last word of the last

Re: [NTG-context] What should I learn?

2008-10-22 Thread Maurí­cio
(...) You can also have a look at ant http://ant.berlios.de/. (...) IIRC, earlier versions of ant were actually written in haskell. Regarding stuff to read: the typeset version of the (pdf)tex source ((pdf)tex.web+(pdf)tex.ch after processing by weave) is probably

Re: [NTG-context] Some questions about TeX Gyre support in minimals

2008-10-22 Thread Mojca Miklavec
On Thu, Oct 23, 2008 at 12:31 AM, Oleg Kolosov wrote: Hello Everyone! Hello, I've started to experiment with MkIV in ConTeXt minimals recently trying to make TeX Gyre fonts work with as few definitions as possible. Here is the list of problems I've encountered: 1. No small-caps in any font

Re: [NTG-context] Persian interface

2008-10-22 Thread Mehdi Omidali
On 10/21/08, Hans Hagen [EMAIL PROTECTED] wrote: Mehdi Omidali wrote: Hi everyone, I want to be able to use persian interface in context. So I tried to create two files cont-pe.xml and cont-pe.tex for this purpose. Now my questions are: 1- Am I supposed to just create these two files and