Re: [NTG-context] Images centered on page

2007-11-23 Thread Wolfgang Schuster
On Fri, 23 Nov 2007 18:55:37 +0200 Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello, How can I center the image on a page? I want images to cover the page completely, and since they have proper size (roughly A4), I only need them to be centered. Now they are stuck to the top, leaving

Re: [NTG-context] Images centered on page

2007-11-23 Thread Wolfgang Schuster
2007/11/23, Vyatcheslav Yatskovsky [EMAIL PROTECTED]: Hello, How can I center the image on a page? I want images to cover the page completely, and since they have proper size (roughly A4), I only need them to be centered. Now they are stuck to the top, leaving a gap on bottom (and same

Re: [NTG-context] Gentium Basic/Book (getting weird)

2007-11-23 Thread Arthur Reutenauer
No, it's not about the syntax, but rather about the list of accepted names for input encodings. Yes, I know, I only mentioned it in passing. Now for completeness' sake, the complete list of encodings accepted by XeTeX's \XeTeXinputencoding seems to be: - A couple of special encodings

Re: [NTG-context] Images centered on page : Solved

2007-11-23 Thread luigi scarso
On Nov 23, 2007 9:39 PM, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello, Thank you all very much. I'm pleased with number and quality of solutions to my problem. Did you look in supp-box at centerbox definition ? it' something like \vbox to \adimension{\vfill \vfill} (well, not

Re: [NTG-context] Images centered on page

2007-11-23 Thread Idris Samawi Hamid
On Fri, 23 Nov 2007 12:30:48 -0700, Wolfgang Schuster [EMAIL PROTECTED] wrote: \unprotect \def\fullpagebox {\bgroup \dowithnextbox {\!!widtha\dimexpr\paperwidth/\nextboxwd\relax \!!widthb\dimexpr\paperheight/\nextboxht\relax \ifdim\!!widtha\!!widthb

Re: [NTG-context] Gentium Basic/Book (getting weird)

2007-11-23 Thread Mojca Miklavec
On Nov 23, 2007 8:36 PM, Steffen Wolfrum wrote: Hi Arthur, can you tell me then what is wrong in my minimal example here (it work like a charm in April!)? \usetypescriptfile[times] What exactly is written in type-times.tex? And what does log say? Typescripts in XeTeX have been broken

Re: [NTG-context] Quickie about Line Numbering

2007-11-23 Thread Taco Hoekwater
Matthias Wächter wrote: Thomas A. Schmitz schrieb: Just wondering how I can manage to number all the lines of my document. Thought that this would work but it actually doesn't. I have some dim recollection that I asked a similar question some time ago, and the answer was: you can't (but I

Re: [NTG-context] Gentium Basic/Book (getting weird)

2007-11-23 Thread Arthur Reutenauer
Hello Steffen, Yes, it seems we have forgotten your original problem in the discussion ;-) I'm not sure I can really help, though, but: can you tell me then what is wrong in my minimal example here (it work like a charm in April!)? Nothing is wrong with your input file,

Re: [NTG-context] Quickie about Line Numbering

2007-11-23 Thread Thomas A. Schmitz
On Fri, 2007-11-23 at 21:46 +0100, Matthias Wächter wrote: Hi! Just wondering how I can manage to number all the lines of my document. Thought that this would work but it actually doesn't. \starttext \startlinenumbering \chapter{First} A paragraph Another paragraph.

[NTG-context] Quickie about Line Numbering

2007-11-23 Thread Matthias Wächter
Hi! Just wondering how I can manage to number all the lines of my document. Thought that this would work but it actually doesn't. \starttext \startlinenumbering \chapter{First} A paragraph Another paragraph. \chapter{Second} Wait and see---nothing. \stoplinenumbering \stoptext Is there a

Re: [NTG-context] Images centered on page

2007-11-23 Thread luigi scarso
amazing mailing list -- luigi ... it's new . it's powerful . it's luatex . http://www.luatex.org ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] backward compatibility

2007-11-23 Thread Peter Münster
Dear ConTeXt developers, With the new generation of ConTeXt, MKIV, would it be possible to drop backward compatibility at some places, where it was the only reason to keep some undesired behaviour? Examples: align=left|right or insertion of \dontleavehmode before \externalfigure and \framed

Re: [NTG-context] Images centered on page

2007-11-23 Thread Idris Samawi Hamid
On Fri, 23 Nov 2007 10:31:08 -0700, luigi scarso [EMAIL PROTECTED] wrote: On Nov 23, 2007 6:24 PM, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello Idris, Thank you. What is display mode? Simply \vfill\externalfigure[Image1.jpg]\vfill \vbox to

Re: [NTG-context] Images centered on page

2007-11-23 Thread Peter Münster
On Fri, 23 Nov 2007, Vyatcheslav Yatskovsky wrote: How can I center the image on a page? \setuplayout[page] \starttext \startstandardmakeup \startalignment[middle] \dontleavehmode \externalfigure[image.png] \stopalignment \stopstandardmakeup \stoptext Cheers, Peter --

Re: [NTG-context] Images centered on page

2007-11-23 Thread luigi scarso
On Nov 23, 2007 6:24 PM, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello Idris, Thank you. What is display mode? Simply \vfill\externalfigure[Image1.jpg]\vfill \vbox to \textheight{\vfill\vskip1sp\externalfigure[Image1.jpg]\vskip1sp\vfill} -- luigi

Re: [NTG-context] where is my installer? :)

2007-11-23 Thread Vyatcheslav Yatskovsky
Hello, Hi Vyatcheslav I tried you installer, and have some comments *) The context minimal installer creates a different directory structure as compared to the mswin context I downloaded from Pragma. The setuptex scripts complains that the tex tree is not correct ? No, it doesn't alter

[NTG-context] Images centered on page

2007-11-23 Thread Vyatcheslav Yatskovsky
Hello, How can I center the image on a page? I want images to cover the page completely, and since they have proper size (roughly A4), I only need them to be centered. Now they are stuck to the top, leaving a gap on bottom (and same for left-right). I have the following script (note my Lua

Re: [NTG-context] Gentium Basic/Book (getting weird)

2007-11-23 Thread Steffen Wolfrum
As this strange error makes me a bit nervous I checked an older file for its behavior: same result! A file that without problems was typeset in April now ends up with the same kind of freezing: \usetypescriptfile[type-gyr] \usetypescript[times][ec] \mainlanguage[de] \enableregime[utf]

Re: [NTG-context] typesetting a formula as a figure

2007-11-23 Thread Jeong Dalyoung
Dear Idris, I have used buffers and \plcadefigures to display formula and figure together. Here is my short sample file. \startbuffer[one] \startformula \startmatrix \NC \NC e_1 \NC e_2 \NC e_3 \NC e_5 \NC e_5 \NR \NC u \NC 0 \NC 1 \NC 1 \NC 0 \NC 1 \NR \NC v \NC 1 \NC 0 \NC 1 \NC 0 \NC 0

Re: [NTG-context] combination with an additional line centered in a placefigure?

2007-11-23 Thread Wolfgang Schuster
On Thu, 22 Nov 2007 22:02:24 +0100 Peter Schorsch [EMAIL PROTECTED] wrote: \placefigure [force][fig:xy] {captiontext} {\placelegend {\startcombination[2*1] {\externalfigure[xxx]}{} {\externalfigure[yyy]}{} \stopcombination} {Quelle: XY}}

Re: [NTG-context] where is my installer? :)

2007-11-23 Thread Mojca Miklavec
On Nov 23, 2007 6:19 PM, Vyatcheslav Yatskovsky wrote: Hello, Hi Vyatcheslav I tried you installer, and have some comments *) The context minimal installer creates a different directory structure as compared to the mswin context I downloaded from Pragma. The setuptex scripts

Re: [NTG-context] Images centered on page

2007-11-23 Thread Idris Samawi Hamid
On Fri, 23 Nov 2007 10:46:16 -0700, Peter Münster [EMAIL PROTECTED] wrote: On Fri, 23 Nov 2007, Vyatcheslav Yatskovsky wrote: How can I center the image on a page? \setuplayout[page] \starttext \startstandardmakeup \startalignment[middle] \dontleavehmode \externalfigure[image.png]

[NTG-context] kpse.rb bad guess for distribution (web2c vs miktex)

2007-11-23 Thread George N. White III
I use MiKTeX's package manager to install updates on linux TeXLive. I put mpm in /opt/miktex/bin, which causes kpse.rb to deduce that distribution=miktex (rather than web2c). Here is a trivial patch that adds a test for mswin: $ diff -C 3 kpse.rb.orig kpse.rb *** kpse.rb.orig2007-01-11

Re: [NTG-context] Gentium Basic/Book (getting even weirder)

2007-11-23 Thread Steffen Wolfrum
OK, so I followed Mojca's tip and used this: \usetypescriptfile[times] \usetypescript[times] \mainlanguage[de] \setupbodyfont[times,10pt] \setupinterlinespace[line=12pt] \starttext Wort und Tat in 1906 \stoptext But this takes about 95 (!) seconds to typeset with a lot of strange log entries:

Re: [NTG-context] Gentium Basic/Book (getting weird)

2007-11-23 Thread Arthur Reutenauer
... Hmmm when thinking agin ... I know that you asked me which regime name to pass to XeTeX and I said don't worry, it should be more or less the same, but 8859-1 isn't valid regime name either. I'll take a look and report back. The recent archives from the XeTeX list seem to yield

Re: [NTG-context] where is my installer? :)

2007-11-23 Thread WN
Hi Vyatcheslav I tried you installer, and have some comments *) The context minimal installer creates a different directory structure as compared to the mswin context I downloaded from Pragma. The setuptex scripts complains that the tex tree is not correct ? *) I installed via your installer

Re: [NTG-context] Gentium Basic/Book (getting weird)

2007-11-23 Thread Wolfgang Schuster
On Thu, 22 Nov 2007 21:23:44 +0100 Mojca Miklavec [EMAIL PROTECTED] wrote: On Nov 22, 2007 8:57 PM, Steffen Wolfrum wrote: Am 22.11.2007 um 19:31 schrieb Wolfgang Schuster: \starttypescript[serif][gentium-basic] \definefontsynonym[Serif] [GentiumBasic]

Re: [NTG-context] Gentium Basic/Book (getting weird)

2007-11-23 Thread Mojca Miklavec
On Nov 23, 2007 11:53 AM, Steffen Wolfrum wrote: As this strange error makes me a bit nervous I checked an older file for its behavior: same result! A file that without problems was typeset in April now ends up with the same kind of freezing: \usetypescriptfile[type-gyr] you don't need

[NTG-context] defining and expanding in xml

2007-11-23 Thread Thomas A. Schmitz
Hi gurus, sorry for this long mail, but this is too difficult for me, and I have to apologize that I can't provide a minimal example. Here's what I want: I have one big xml-file which is my lecture course for the semester. Every single lecture is one section. This xml-file is processed (needless

Re: [NTG-context] Gentium Basic/Book (getting weird)

2007-11-23 Thread Mojca Miklavec
On Nov 23, 2007 3:11 PM, Arthur Reutenauer wrote: ... Hmmm when thinking agin ... I know that you asked me which regime name to pass to XeTeX and I said don't worry, it should be more or less the same, but 8859-1 isn't valid regime name either. I'll take a look and report back.

Re: [NTG-context] Images centered on page

2007-11-23 Thread Idris Samawi Hamid
On Fri, 23 Nov 2007 09:55:37 -0700, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello, How can I center the image on a page? I want images to cover the page completely, and since they have proper size (roughly A4), I only need them to be centered. Now they are stuck to the top,

Re: [NTG-context] Images centered on page

2007-11-23 Thread Vyatcheslav Yatskovsky
Hello Idris, Thank you. What is display mode? Simply \vfill\externalfigure[Image1.jpg]\vfill doesn't work for me. -- Best regards, Vyatcheslav Yatskovsky Hello, How can I center the image on a page? I want images to cover the page completely, and since they have proper size

Re: [NTG-context] Images centered on page

2007-11-23 Thread Idris Samawi Hamid
On Fri, 23 Nov 2007 10:24:35 -0700, Vyatcheslav Yatskovsky [EMAIL PROTECTED] wrote: Hello Idris, Thank you. What is display mode? Simply \vfill\externalfigure[Image1.jpg]\vfill doesn't work for me. Try $$arg$$. I'm sure there's a ConTeXt-ish solution for this as well (in

Re: [NTG-context] Gentium Basic/Book (getting weird)

2007-11-23 Thread Steffen Wolfrum
Hi Arthur, can you tell me then what is wrong in my minimal example here (it work like a charm in April!)? \usetypescriptfile[times] \usetypescript[times] \mainlanguage[de] \setupbodyfont[times,10pt] \setupinterlinespace[line=12pt] \font\Arab=Baghdad at 10pt \starttext Zinedine Yazid

[NTG-context] Images centered on page : Solved

2007-11-23 Thread Vyatcheslav Yatskovsky
Hello, Thank you all very much. I'm pleased with number and quality of solutions to my problem. The winner solution is provided by Wolfgang Schuster. Simple \centeredbox{} makes all the magic I need. I was also amazed with quick porting of my Lua code for batch image processing to native

[NTG-context] [OT] gnupdf.org

2007-11-23 Thread luigi scarso
Just discovered: http://gnupdf.org/Main_Page -- luigi ... it's new . it's powerful . it's luatex . http://www.luatex.org ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] [OT] gnupdf.org

2007-11-23 Thread Martin Schröder
2007/11/24, luigi scarso [EMAIL PROTECTED]: Just discovered: http://gnupdf.org/Main_Page http://tinyurl.com/3bahws Best Martin ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] [OT] gnupdf.org

2007-11-23 Thread luigi scarso
http://tinyurl.com/3bahws http://wiki.contextgarden.net/User:Luigi.scarso#Cool_links (well, no so coool..) I collect links about pdf, libray, edit . Given i'm working with python sometimes I use http://pybrary.net/pyPdf/ If you know others, feel free to add them. -- luigi ... it's new .