[NTG-context] \setuptyping[numbering=line] don't emit line numbers

2010-04-21 Thread Hongwen Qiu
$ context --version
MTXrun | current version: 2010.04.16 21:08

$ luatex --version
This is LuaTeX, Version beta-0.60.0-2010040422

I found that \setuptyping[numbering=line] no longer produces line
numbers any more. So are there something changed, or just it's ought to
be ok?
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] a0 split into a4?

2010-04-21 Thread Peter Rolf
Hi Xan,

Am 20.04.2010 20:30, schrieb Xan:
 Am 19.04.10 20:29, schrieb Xan:
 / Hi,
 //
 // Is it possible to split a0 paper into a4? I want to write
 context // document in a0 size but printing into 16 a4. Is it
 possible. If it's, // surely it's with ConTeXt! ;-)
 /\starttext
 \slicepages[document.pdf][n=4]
 \stoptext

 Wolfgang
 Thanks. But is it possible to scale it and put margins at each slicepage?

not in a straight line. but you can use \slicepages to clip the image
into the wanted sizes (papersize-offset) and then centre up the
resulting pdf pages in a new document (which adds the offsets). adding
some crop marks in this second step can be helpful too.

\starttext
\useexternalfigure[test][cow.pdf][width=29cm]% [height=20cm]
\slicepages[test][n=4,height=20cm,width=29cm]
\stoptext

i leave the rest to you.

Best wishes, Peter
attachment: mince.png___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \framed[height=broad] vs \framed[height=fit]

2010-04-21 Thread Wolfgang Schuster

Am 21.04.10 05:34, schrieb Aditya Mahajan:

Hi,

I was updating the wiki page on \framed and realized that I do not 
know the difference between height=broad|fit in \framed. Reading 
pack-rul suggests that both should behave similarly. The following 
example from pack-rul also shows no difference.


as you can see here (pack-rul.mkiv) both values result in \boxhasheightfalse
   \ifx\localheight\v!fit
 \boxhasheightfalse % no longer: \boxhasstrutfalse
   \else\ifx\localheight\v!broad
 \boxhasheightfalse

Is there a difference between the two? If not, why do we have two 
values then?

I think we have both because you can 'fit' and 'broad' for width but when
width and height should follow the same rules i say 'width=broad' should
result in 'height=\vsize' because 'width=broad' is equal to 'width=\hsize'.

Wolfgang

___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] a0 split into a4?

2010-04-21 Thread Wolfgang Schuster

Am 20.04.10 20:30, schrieb Xan:

Am 19.04.10 20:29, schrieb Xan:
/ Hi,
//
// Is it possible to split a0 paper into a4? I want to write 
context // document in a0 size but printing into 16 a4. Is it 
possible. If it's, // surely it's with ConTeXt! ;-)

/\starttext
\slicepages[document.pdf][n=4]
\stoptext

Wolfgang

Thanks. But is it possible to scale it and put margins at each slicepage?

You can try \setuplayout[scale=0.9,location=middle]

Wolfgang

___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] ConTeXt for TL 2010

2010-04-21 Thread Mojca Miklavec
Dear Hans,

since the version of LuaTeX will be frozen to 0.60.0 in TeX Live (I
assume), would it make sense to put some effort into making sure that
the version of ConTeXt that will be shipped with TeX Live will be at
least compatible (and possibly free of some bugs that will be
discovered by the time of release) with the shipped LuaTeX or are you
already in the middle of some big rewriting project targeting at
luatex beta-0.6x/0.7x?

Mojca
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] [pdftex] Problem: testing MkIV on pdftex-t manual source

2010-04-21 Thread Taco Hoekwater


Richard Chan wrote:
 Thanks - that worked for the \THANH macro - now I have a new error 
 
 
 structure   : pdftexprimitive @ level 5 : 0.0.7.15.1 - \Syntax
 {\Tex {\pdfelapsedtime }} \Whatever {read||only integer}
 ! Undefined control sequence.
 l.4258 ...\PDFTEX\ has run for \the\pdfelapsedtime

We can't fix that. The pdftex manual uses pdftex specific features
that only exist in pdftex, not in luatex.

Best wishes,
Taco


___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] MathML Support

2010-04-21 Thread Li, Dun
Hi,

I'm new to ConText. I wonder if ConText could import or convert MathML embedded 
HTML or XML files. We have a program that creates HTML/XML documents with 
MathML embedded. We are using Microsoft Word to print the documents, but the 
output is not satisfactory. Thanks.

Dun
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MathML Support

2010-04-21 Thread Wolfgang Schuster

Am 21.04.10 15:21, schrieb Li, Dun:


Hi,

I'm new to ConText. I wonder if ConText could import or convert MathML 
embedded HTML or XML files. We have a program that creates HTML/XML 
documents with MathML embedded. We are using Microsoft Word to print 
the documents, but the output is not satisfactory. Thanks.




http://wiki.contextgarden.net/MathML

Wolfgang

___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] ConTeXt for TL 2010

2010-04-21 Thread Hans Hagen

On 21-4-2010 2:51, Mojca Miklavec wrote:

Dear Hans,

since the version of LuaTeX will be frozen to 0.60.0 in TeX Live (I
assume), would it make sense to put some effort into making sure that
the version of ConTeXt that will be shipped with TeX Live will be at
least compatible (and possibly free of some bugs that will be
discovered by the time of release) with the shipped LuaTeX or are you
already in the middle of some big rewriting project targeting at
luatex beta-0.6x/0.7x?


sure, i need to make a current one of these days (but not today as i'm 
in the middle of replacing our nas infrastructure)


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] a0 split into a4?

2010-04-21 Thread Xan

En/na Xan ha escrit:

En/na Xan ha escrit:

En/na Xan ha escrit:

Hi,

Is it possible to split a0 paper into a4? I want to write context 
document in a0 size but printing into 16 a4. Is it possible. If 
it's, surely it's with ConTeXt! ;-)


Xan.

I found a page [http://nxg.me.uk/docs/posters/] dedicated for 
printing posters in LaTeX. In section 3.1 Printing onto multiple 
sheets, it provides two resources:

- epssplit [http://home.clara.net/nox/software/epssplit/]
- poster [ftp://ftp.es.ele.tue.nl/pub/users/jos/poster/]

It seems that the first it's only EPS dependant. Is there any way to 
pass the ConTeXt pdf output to eps?


And it seems that the second it's only PS dependant. Is there any way 
to pass pdf to ps?


Can you CCme?
Thanks a lot,
Xan.

PS: I found nothing in contextgarden and in the official manual 
related to poster.


Ah!, perhaps some guy who want to help wants to know that in CTAN 
there is a section dedicated to posters in LaTeX:


http://texcatalogue.sarovar.org/bytopic.html#posterpackages

Cheers,
Xan.


The following methods work:

1) pdf2ps prova.pdf prova.ps
./poster -iA0 -mA4 -pA0 prova.eps  prova2.pdf

2) convert prova.pdf prova.ps
./poster -iA0 -mA4 -pA0 prova.ps  prova2.pdf

The pain is that we have to move to ps or eps. pdfposter 
[http://pdfposter.origo.ethz.ch/] seems that leave this prerequisite, 
but it does not work for me as better as poster works, because the first 
does not put marks to margins in the split pages (A4 in my case).


Xan.
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] a0 split into a4?

2010-04-21 Thread Xan

En/na Xan ha escrit:

Am 19.04.10 20:29, schrieb Xan:
/ Hi,
//
// Is it possible to split a0 paper into a4? I want to write 
context // document in a0 size but printing into 16 a4. Is it 
possible. If it's, // surely it's with ConTeXt! ;-)

/\starttext
\slicepages[document.pdf][n=4]
\stoptext

Wolfgang

Thanks. But is it possible to scale it and put margins at each slicepage?

Xan.



Thanks Wolfgang and Peter...

Xan.
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] a0 split into a4?

2010-04-21 Thread Wolfgang Schuster

Am 21.04.10 17:39, schrieb Xan:
The pain is that we have to move to ps or eps. pdfposter 
[http://pdfposter.origo.ethz.ch/] seems that leave this prerequisite, 
but it does not work for me as better as poster works, because the 
first does not put marks to margins in the split pages (A4 in my case).

Make a spec and i can write something, when you look at the source
you can see the code for \slicepages is very simple.

Wolfgang

___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MathML Support

2010-04-21 Thread Li, Dun
Thanks very much. Glad to know MathML is natively supported by ConText. I have 
another question. If there are image URLs in XML/HTML document, can ConText 
grab the images and put them in the PDF output?

Dun


From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf 
Of Wolfgang Schuster
Sent: Wednesday, April 21, 2010 9:24 AM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] MathML Support

Am 21.04.10 15:21, schrieb Li, Dun:
Hi,

I'm new to ConText. I wonder if ConText could import or convert MathML embedded 
HTML or XML files. We have a program that creates HTML/XML documents with 
MathML embedded. We are using Microsoft Word to print the documents, but the 
output is not satisfactory. Thanks.

http://wiki.contextgarden.net/MathML

Wolfgang
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MathML Support

2010-04-21 Thread Wolfgang Schuster

Am 21.04.10 20:07, schrieb Li, Dun:


Thanks very much. Glad to know MathML is natively supported by 
ConText. I have another question. If there are image URLs in XML/HTML 
document, can ConText grab the images and put them in the PDF output?


MkIV can grab figures, texts etc. from the internet, for graphics write 
\externalfigure[http://.../myfigure]


Wolfgang

___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] MathML Support

2010-04-21 Thread Li, Dun
Wolfgang,

Thank you very much.

Dun


From: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] On Behalf 
Of Wolfgang Schuster
Sent: Wednesday, April 21, 2010 2:46 PM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] MathML Support

Am 21.04.10 20:07, schrieb Li, Dun:
Thanks very much. Glad to know MathML is natively supported by ConText. I have 
another question. If there are image URLs in XML/HTML document, can ConText 
grab the images and put them in the PDF output?
MkIV can grab figures, texts etc. from the internet, for graphics write 
\externalfigure[http://.../myfigure]

Wolfgang
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] setupinterlinespace

2010-04-21 Thread R. Bastian
Hello,

What is the sense of \setupinterlinespace?

In the following example, the distance between the line 1 and 2 seems to be 
smaller
then between line 2 and 3. 

\enableregime[utf] 
\mainlanguage[fr]
\setupbodyfont[sansserif, 10pt]
[...]
{\setupinterlinespace[line=1.1ex]
Le  {\it Mittelhochdeutsches Taschenwôrterbuch} 
de Matthias Lexer dit: {\it Âventiuren swv.
durch gefahrvolle unternehmungen aufs spiel setzen, wagen; [...],
refl. sich zu wunderbaren ereignissen gestalten}\footnote{Traduc.
approximative : risquer par d'entreprises périlleuses, braver le
danger; [...] se réaliser sous forme d'évènements merveilleux.}

i can send an png image.

\setupinterlinespace[line=3ex] works as i expect it in a table.


-- 
René Bastian
www.pythoneon.org
www.musiques-rb.org
http://www.soundsurvey.org.uk/


___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Looking for the copyleft symbol

2010-04-21 Thread Helmut Schwertner

Hello,

with  \copyright  I get the copyright-symbol in context. How can I get 
the copyleft symbol?


Thanks,

Helmut


___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Looking for the copyleft symbol

2010-04-21 Thread Alan BRASLAU
On Wednesday 21 April 2010 22:34:01 Helmut Schwertner wrote:
 with  \copyright  I get the copyright-symbol in context. How can I get
 the copyleft symbol?

\mirror{\copyright}

:)
___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] setupinterlinespace

2010-04-21 Thread Wolfgang Schuster

Am 21.04.10 22:09, schrieb R. Bastian:

Hello,

What is the sense of \setupinterlinespace?

In the following example, the distance between the line 1 and 2 seems to be 
smaller
then between line 2 and 3.

\enableregime[utf]
\mainlanguage[fr]
\setupbodyfont[sansserif, 10pt]
[...]
{\setupinterlinespace[line=1.1ex]
   

\setupinterlinespace[...]\par
...

or

{\setupinterlinespace[...]
 ...\par}

This is normal behavious in *TeX*.

Wolfgang

___
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  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___