Re: [NTG-context] error \handlecompoundcharacter ...

2003-09-17 Thread Hans Hagen
At 08:29 16/09/2003 +0200, you wrote:
Hi experts!
Consider this simple code:
\defineXMLcommand
 [de] {\language[de]}
\defineXMLcommand
 [end]
 {\disableXML}
\starttext
\enableXML
 de/
 anytag anyattrib=Aqq/
 Ich liebe ConTeXt!
 end/
\stoptext
It cause en ERROR! It happens ONLY for \language[de] neither pl nor en,
nl...
ah ... you suffer from german double quote handling u - umlaut; if you 
were older you'd probably suffer from the polish active / as well

Add the following to cont-new.tex:

\def\disablelanguagespecifics{\def\installcompoundcharacter##1 ##2{}}

\appendtoks \disablelanguagespecifics \to \everyenableXML

and you can love context again (given that no de switch is done at the 
outer level). Some day i'll make context dual input mode aware.

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] problems with embedded spaces in file paths (Win32)

2003-09-17 Thread Fabrice Popineau

 \input some path

 (not sure if \input some path/somefile also works; can you test
 that?)

Both seems to be working under win (XP for me) but that's incompatible
with unix.

Fabrice

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Newbie wants to make long tables

2003-09-17 Thread Hans Hagen
At 23:41 15/09/2003 +0100, you wrote:
Hans,
Thank you again for your speedy response.
 \bTABLE[split=yes]
 \bTR \bTD left \eTD\bTD right \eTD\eTR
 \bTR[after=\pagina] \bTD left \eTD\bTD right \eTD\eTR
 \bTR \bTD left \eTD\bTD right \eTD\eTR
 \bTR \bTD left \eTD\bTD right \eTD\eTR
 \bTR \bTD left \eTD\bTD right \eTD\eTR
 \bTR \bTD left \eTD\bTD right \eTD\eTR
 \eTABLE

 i'll send you the adapted core-ntb in another mail
Thanks received and installed

 Hans
\pagina seems to be synonymous with \page at least \page appears to have the
same effect. I was hoping for [after={\page[bigpreference]}] but that does
not appear to work. [after={\page[yes]}] does the same as \page. It seems to
be just that the preference does not do anything.
I was also hoping for [split=repeat] but that stops [after=\pagina] from
doing anything.
the next solution is quite ugly but seems to work; i wonder what happens in 
boundary cases

\def\splittblbox#1% #1  0/2
  {\ifinsidefloat
 \unvbox#1%
   \else
 % spacing between rows gets lost in split
 \setbox4\vbox
   {\doifsomething\tbltbltussenwit{\blank[\tbltbltussenwit]}}%
 \setbox2\vbox
   {}%
 \dorecurse\noftblheadlines
   {\setbox0\vsplit#1 to \lineheight
\setbox2\vbox{\unvcopy2\unvcopy0}}%
 \ifcase\noftblheadlines\else\unvcopy2\fi
 \donefalse
 \doloop
   {\setbox0\vsplit#1 to \lineheight
\ifdim\pagegoal\maxdimen
  \setbox0\vbox{\unvbox0}%
  \dimen0\ht0
  \advance\dimen0\ht4
  \advance\dimen0\pagetotal
  \ifdim\dimen0\pagegoal
\bgroup \pagina \egroup % make sure that local vars are kept
\ifcase\noftblheadlines\else\unvcopy2\fi
  \fi
\fi
\ifdone
  \doifsomething\tbltbltussenwit{\blank[\tbltbltussenwit]}%
\fi
\unvbox0
% old solution: \allowbreak
% start of forced break handling for Nigel King
\bgroup
\scratchcounter\recurselevel
\advance\scratchcounter\noftblheadlines
\setupTBLcell{\number\scratchcounter}1
\ifx\@@tblsplitafter\relax\else
  \scratchcounter\realpageno
  \@@tblsplitafter
  \ifnum\scratchcounter\realpageno
\ifcase\noftblheadlines\else\unvcopy2\fi
  \fi
\else
  \allowbreak
\fi
\egroup
% so far for the repeated head after forced break
\ifvoid#1 \exitloop \else \donetrue \fi}%
   \fi}
works ok for :

% \bTABLE[split=repeat]
%   \bTABLEhead
% \bTR \bTH lxxxeft \eTH\bTD right \eTD\eTR
%   \eTABLEhead
%   \bTABLEbody
% \dorecurse{100}{\bTR[after={\pagina[bigpreference]}] \bTD left 
\eTD\bTD right \eTD\eTR}
% \dorecurse{100}{\bTR\bTD left \eTD\bTD right \eTD\eTR}
%   \eTABLEbody
% \eTABLE

As said, an ugly, not so wel tested, patch

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: height and width of a figure

2003-09-17 Thread Hans Hagen
At 04:26 17/09/2003 +0200, Pawel Jackowski na Onet wrote:
Hello!

 Hi Patrick and all the others

 thanks for your answer. I  think I asked my question a little bit
unclearly.
 I wanted to know if i can get the width of a figure, or the overlaywidth
of
 this figure as a numeric. I want to make a frame like this:
 \framed[width=width of \exernalfigure[fig], height=height of
 \externalfigure[fig]]{blabla}.
 I don't know if such a thing is possible, I didn't find such a thing in a
 manual.
Why dont You just put the figure into a box? You can always say:

\newdimen\W
\newdimen\H
\setbox0\hbox{\externalfigure[your_figure]}
\W=\wd0\relax
\H=\ht0
\advance\H by \dp0\relax
\the\W
\the\H
\end
Such row TeX code always work:)
\getfiguredimensionsonly[...][...]

\naturalfigureheight
\naturalfigurewidth
\figureheight
\figurewidth
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] [NTG-context]

2003-09-17 Thread Hans Hagen
At 21:27 16/09/2003 +0200, you wrote:
Hi,

 layers, see details.pdf

Thanks, but I tried examples from there and only
\hskip\layoutcolumnoffset{2}{\red Text positioned in column 2!}
works fine...
Other examples does nothing - there is no errors on \setlayer but
I didn't see any effect - no text is visible ;(
PS. Sorry for empty subject of first post.


what version do you run?

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: [OS X TeX] Alternate/Swash Font in LaTeX, how?

2003-09-17 Thread Steffen Wolfrum
William Adams [EMAIL PROTECTED] wrote:

 Steffen asked about Adobe Garamond Swash Italic.

 Yeah, it's a non-standard encoding. You can either manually add it to a
 .vf, or follow the instructions in Alan Hoenig's wonderful book, _TeX
 Unbound_
 I've samples of it up on my web site at
 http://members.aol.com/willadams - check the portfolio section, and if
 you go to the fonts page you should be able to follow the links to a
 .vf which may or may not work for you.
 William


Thanks William,

but although I tried nearly every links on your address I couldn't 
find any link related to .vf.

Couldn't you maybe pass me the URL directly?

Thanks again

Steffen
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tables within tabulate environment

2003-09-17 Thread Frank
Similar to what you wrote:

\starttabulate
\NC test \NC
Some text here, perhaps followed by an itemized list an a table
\startitemize
\item first item
\item second item
\stopitemize
And some specifications in the following table:
\starttabulatea
\NC col1 row1 \NC col2 \NC\NR
\stoptabulate
\NC\NR
\stoptabulate
I tried a tabulate  inside the tabulate as I was not sure that the  
table being a float would be moved somewhere else. Basically what I am  
trying to do is similar to HTML layout using nested tables within a  
running text.

Regards,

Frank

On Tuesday, Sep 16, 2003, at 22:52 Europe/Brussels, Hans Hagen wrote:

At 10:42 16/09/2003 +0200, Frank wrote:

I am working on some documents which are based on a table which is  
part of the text flow and may break between pages. So I use the  
tabulate environment. However now I need to include a table inside a  
tabulate cell, but this does not seem to work.
what kind of nesting?

\starttabulate
\NC test \NC \starttable[|||] \HL \VL test \VL test \VL \NR \HL  
\stoptable \NC \NR
\stoptabulate

nesting tabulates is not (yet) possible, i played a bit with it but it  
will cost me more time to handle it (due to soem global aspects)

Hans
--- 
--
  Hans Hagen | PRAGMA ADE |  
[EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The  
Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 |  
www.pragma-ade.com
--- 
--
   information:  
http://www.pragma-ade.com/roadmap.pdf
documentation:  
http://www.pragma-ade.com/showcase.pdf
--- 
--

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] new version

2003-09-17 Thread Hans Hagen
Hi,

The last hour I fixed a couple of things that came up during the recent 
dante/gutenberg tex conferences as well as added the table thingies 
discussed here. (for the split lovers: there was a small bug in the patch i 
sent earlier; actually the patch broke some of my existing files -)

the main as well as the beta files have been upgraded

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Soul Package in ConTeXt

2003-09-17 Thread Steffen Wolfrum
Because of looking for a nice letterspacing solution I had a look at 
the LaTeX's soul.sty.

Melchior Franz wrote that it should also work with ConTeXt:

 The soul package
 Melchior FRANZ
 May 29, 2002
 Abstract
 This article describes the soul package1, which provides h y p h e n -
 a t a b l e l e t t e r s p a c i n g ( s p a c i n g o u t ) , 
underlining and some
 derivatives such as overstriking and highlighting. Although the package is
 optimized for LATEX2, it also works with Plain TEX and with other flavors
 of TEX like, for instance, ConTEXt.


But how?

\input soul.sty

gives me in ConTeXt:

 (/Users/steffen/Library/texmf/tex/latex/misc/soul.sty
 ! Undefined control sequence.
 l.49 \NeedsTeXFormat
 {LaTeX2e}
 ?


So what what did he mean by works with?
What is the right way?
Thank you for any reply,

Steffen

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] new version

2003-09-17 Thread Steffen Wolfrum
Hans Hagen [EMAIL PROTECTED] wrote:

 Hi,

 The last hour I fixed a couple of things that came up during the recent
 dante/gutenberg tex conferences as well as added the table thingies
 discussed here. (for the split lovers: there was a small bug in the patch i
 sent earlier; actually the patch broke some of my existing files -)
 the main as well as the beta files have been upgraded

 Hans


Hi Hans,

that's good news.

I almost don't dare to ask, but...
do you think that you might have now a little time to look at the 
placefigure[top,left] topic?

The solution that you proposed some days ago unfortunately doesn't help much:
\hangsidefloat[2] \placefigure[left] {}{} \dorecurse{3}{\input ward\par}
What is needed is a kind of extension to placefigure[top] where 
figures are *still* placed top/bottom but *also* are surrounded by 
text (right or left).

I am really sorry for being persistent, but the main reason for me to 
switch from LaTeX to ConTeXt was that I thought that some has much 
more possibilities in placing figures in ConTeXt than in LaTeX.

And I was honestly surprised that this is not implemented yet, as it 
is such a frequently used feature - at least in the books of 
humanities, art history etc. it is very, very common.

You said that it should not be too difficult - and it really would be 
a great feature for ConTeXt!!

What do you think?

Steffen

P.S. Sorry, hope I don't annoy you too much...


2. Isn't it possible to make a kind of combination between the placefigure
options top and left (for example), so that a small picture can have text
floating around it but it is placed at the top of the page (like big
landscape formats would be with the top option)?
...

2. should not be too difficult, i'll look into it

Hans

--
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Soul Package in ConTeXt

2003-09-17 Thread Patrick Gundlach
Steffen Wolfrum [EMAIL PROTECTED] writes:

Hi,

 But how?

 \input soul.sty

 gives me in ConTeXt:

  (/Users/steffen/Library/texmf/tex/latex/misc/soul.sty
  ! Undefined control sequence.
  l.49 \NeedsTeXFormat
  {LaTeX2e}
  ?

this is because in core-mis.tex, ConTeXt defines \documentclass. I
wonder why. This works, but I don't know about any drawbacks:

\starttext
\let\documentclass\undefined
\input soul.sty 
\textul{foo}
\stoptext

But: (this is for Melchior Franz) IMO there is a newcommand* in
soul.sty where it does not belong (line 89):

[EMAIL PROTECTED]
[EMAIL PROTECTED]
\newcommand*\soulomit{\noexpand\soulomit}
[EMAIL PROTECTED]@stop}
[EMAIL PROTECTED]

$Id: soul.dtx,v 1.82 2002/05/07 22:09:30 m Exp $

If you replace it with \def{..} everything looks fine.

Patrick
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] tables within tabulate environment

2003-09-17 Thread Hans Hagen
At 10:48 17/09/2003 +0200, you wrote:
Similar to what you wrote:

\starttabulate
\NC test \NC
Some text here, perhaps followed by an itemized list an a table
\startitemize
\item first item
\item second item
\stopitemize
And some specifications in the following table:
\starttabulatea
\NC col1 row1 \NC col2 \NC\NR
\stoptabulate
\NC\NR
\stoptabulate
I tried a tabulate  inside the tabulate as I was not sure that the
table being a float would be moved somewhere else. Basically what I am
trying to do is similar to HTML layout using nested tables within a
running text.
in that case use the bTABLE .. eTABLE alternative which can handle nested 
tables given that they are {grouped}

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Soul Package in ConTeXt

2003-09-17 Thread Hans Hagen
At 13:52 17/09/2003 +0200, you wrote:
Because of looking for a nice letterspacing solution I had a look at the 
LaTeX's soul.sty.

Melchior Franz wrote that it should also work with ConTeXt:

 The soul package
 Melchior FRANZ
 May 29, 2002
 Abstract
 This article describes the soul package1, which provides h y p h e n -
 a t a b l e l e t t e r s p a c i n g ( s p a c i n g o u t ) , 
underlining and some
 derivatives such as overstriking and highlighting. Although the package is
 optimized for LATEX2, it also works with Plain TEX and with other flavors
 of TEX like, for instance, ConTEXt.


But how?

\input soul.sty

gives me in ConTeXt:

 (/Users/steffen/Library/texmf/tex/latex/misc/soul.sty
 ! Undefined control sequence.
 l.49 \NeedsTeXFormat
 {LaTeX2e}
 ?
you can take a look in core-fnt.tex and supp-fun which has streched, all 
kinds of underline, dropped caps and alike

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Vertical alignment of formulas

2003-09-17 Thread Emil Hedevang Lohse

Hello,

Suppose I have the following code:

  blah blah blah blah blah blah blah blah blah

  \startmpformula
formula
  \stopmpformula

and that it yields the following output

  blah blah blah blah blah blah blah 
  blah blah 
  
   formula

that is, the final blah is placed so far to the left of formula
that it would be desireable to reduce the vertical space between the
text and the formula such that we get the following output instead:

  blah blah blah blah blah blah blah 
  blah blah 
   formula

The question is now: How do I do that?

Regards,

-- 
Emil Hedevang Lohse http://home.imf.au.dk/emil/ 

Alle spørgsmål er lige dumme. 
Og spørgsmålet Kan ænder flyve? er ikke dumt.

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: [OS X TeX] Alternate/Swash Font in LaTeX, how?

2003-09-17 Thread William Adams
Steffen said:
but although I tried nearly every links on your address I couldn't 
find any link related to .vf.

Couldn't you maybe pass me the URL directly?
Sorry, that should've been ``.vpl''

It also wasn't where I'd said it would be---it was on my old Portfolio 
page,

http://members.aol.com/willadams/prtflio.htm

Here're links to the two files:
http://members.aol.com/willadams/tex/padr9alt.vp
http://members.aol.com/willadams/tex/padi9alt.vp
and here's the map file.

You'll still need to process the (renamed) .afms w/ FontInst (but 
you've done that, right?) and you should check to see if my font 
versions match yours---probably best just to use the above as a 
template.

The .vpl file format is documented in Dr. Knuth's ``Virtual Fonts: More 
fun for grand wizards'' file (which is re-published in his _Digital 
Typography_). Using Alan Hoenig's book will probably help a lot 
though---well worth buying, or get it from a library.

Meanwhile, Jan had said:
Oh yes. I started this journey some days ago and have not solved it 
yet. But I
did not even get to the Swash font, since my fondu-generated pfb are 
rejected by
dvips (as I had complained on this list).
I would suggest that you purchase a ``sidegrade'' to the PC version, 
that way you know you'll get files which will work.

Also, Philipp Lehman's font installation guide is very good, and I 
think has been updated to handle swash fonts, it's listed at 
http://members.aol.com/willadams/books-free-type.html

William

--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: height and width of a figure

2003-09-17 Thread seob
 At 04:26 17/09/2003 +0200, Pawel Jackowski na Onet wrote:
 Hello!
 
 
   Hi Patrick and all the others
  
   thanks for your answer. I  think I asked my question a little bit
 unclearly.
   I wanted to know if i can get the width of a figure, or the
 overlaywidth
 of
   this figure as a numeric. I want to make a frame like this:
   \framed[width=width of \exernalfigure[fig], height=height of
   \externalfigure[fig]]{blabla}.
 
   I don't know if such a thing is possible, I didn't find such a thing
 in a
   manual.
 
 Why dont You just put the figure into a box? You can always say:
 
 \newdimen\W
 \newdimen\H
 \setbox0\hbox{\externalfigure[your_figure]}
 \W=\wd0\relax
 \H=\ht0
 \advance\H by \dp0\relax
 \the\W
 \the\H
 \end
 
 Such row TeX code always work:)
 
 \getfiguredimensionsonly[...][...]
 
 \naturalfigureheight
 \naturalfigurewidth
 \figureheight
 \figurewidth
 

Hi

thanks a lot for your help

sevi
 -
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
 -
 information: http://www.pragma-ade.com/roadmap.pdf
  documentation: http://www.pragma-ade.com/showcase.pdf
 -
 
 ___
 ntg-context mailing list
 [EMAIL PROTECTED]
 http://www.ntg.nl/mailman/listinfo/ntg-context
 

-- 
+++ GMX - die erste Adresse für Mail, Message, More! +++

Getestet von Stiftung Warentest: GMX FreeMail (GUT), GMX ProMail (GUT)
(Heft 9/03 - 23 e-mail-Tarife: 6 gut, 12 befriedigend, 5 ausreichend)

Jetzt selbst kostenlos testen: http://www.gmx.net

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to set paths

2003-09-17 Thread Pawel Jackowski na Onet
Hello!

 you can set the directory (gebied in dutch) with:

\setupsystem

 or pass --path to texexec

Thanks a lot Hans! Although I can't still use \setupsystem  properly (even
with looking at core-code tricks), --path option seems to be the solution.
I've solve processing XML files in this way. Typing (\typefile) and inputing
(\input) files are still the quest. --path seems not to work with this
commands
or I do something wrong. I'll look closely into it.

Regards, Pawe/l


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] error \handlecompoundcharacter ...

2003-09-17 Thread Pawel Jackowski na Onet
Hi!

 Consider this simple code:
 
 \defineXMLcommand
   [de] {\language[de]}
 
 \defineXMLcommand
   [end]
   {\disableXML}
 
 \starttext
 \enableXML
   de/
   anytag anyattrib=Aqq/
   Ich liebe ConTeXt!
   end/
 \stoptext
 
 It cause en ERROR! It happens ONLY for \language[de] neither pl nor en,
 nl...

 ah ... you suffer from german double quote handling u - umlaut; if you
 were older you'd probably suffer from the polish active / as well
:-)

 \def\disablelanguagespecifics{\def\installcompoundcharacter##1 ##2{}}
 \appendtoks \disablelanguagespecifics \to \everyenableXML

That's it

 and you can love context again

I just can't stop loving it!

 (given that no de switch is done at the
 outer level). Some day i'll make context dual input mode aware.

Till that time I won't expect that form ConTeXt.

Thanks again, Pawe/l


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Vertical alignment of formulas

2003-09-17 Thread Giuseppe Bilotta
Tuesday, September 16, 2003 Emil Hedevang Lohse wrote:


 Hello,

 Suppose I have the following code:

   blah blah blah blah blah blah blah blah blah

   \startmpformula
 formula
   \stopmpformula

 and that it yields the following output

   blah blah blah blah blah blah blah 
   blah blah 
  
formula

 that is, the final blah is placed so far to the left of formula
 that it would be desireable to reduce the vertical space between the
 text and the formula such that we get the following output instead:

   blah blah blah blah blah blah blah 
   blah blah 
formula

 The question is now: How do I do that?

You don't :\ Sadly, Hans decided that the difference between
abovedisplayskip and abovedisplayshortskip was unnecessary.
Hans?

-- 
Giuseppe Oblomov Bilotta

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new version

2003-09-17 Thread Hans Hagen
At 14:25 17/09/2003 +0200, you wrote:

 What is needed is a kind of extension to placefigure[top] where figures 
are *still* placed top/bottom but *also* are surrounded by text (right or 
left).

this is kind of impossible in tex since it works per paragraph and during 
that it has no concept of crossing a page boundary; i presume that i can 
cook up something for a controlled situation but it's far from trivial

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Vertical alignment of formulas

2003-09-17 Thread Hans Hagen
At 22:32 16/09/2003 +0200, you wrote:

The question is now: How do I do that?
i'll have a look at it,

one complication is that the last line width is not available outside math 
mode (which is a pain)

Hans
-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Vertical alignment of formulas

2003-09-17 Thread Hans Hagen
At 17:59 17/09/2003 +0200, you wrote:

You don't :\ Sadly, Hans decided that the difference between
abovedisplayskip and abovedisplayshortskip was unnecessary.
Hans?
that's not true -)

the problem is that it is quite hard to get the spacing ok in situations like

text

formula

text

this has to do with the fact (and i spent days on that topic) that tex only 
knows the length of the last line when in display math mode and even then 
not always

this means that when one wants control over spacing, and to take the length 
of the last lin einto account, one has to go through a lot of trouble; i 
once had it working but somehow lost something in the code, so i need to 
look at it

suggestion for gbetex: lastlinelength always available

Hans

-
  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-
   information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] beginner question re: counters

2003-09-17 Thread Pawel Jackowski na Onet
 I apologize for asking such a basic question.  What is the correct way 
 to increment a counter such that each time a macro is used, the counter 
 is augmented by 1.  So far,  I have \newcount\MyCounter and have tried 
 \advance\MyCounter by1 and a few other things I found online,  but 
 whenever I try to increase its value by 1, all references to it's value 
 return 1.  Not a particularly useful counter ;-) . 

Hmmm... It can happens for many reasons. 
Try for instance

\global\advance\MyCounter by 1\relax 
\the\MyCounter

%  \relax is not always obligatory but treat it as a goode habit


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] new version

2003-09-17 Thread Steffen Wolfrum
Hans Hagen [EMAIL PROTECTED] wrote:

 At 14:25 17/09/2003 +0200, you wrote:

   What is needed is a kind of extension to placefigure[top] where figures
 are *still* placed top/bottom but *also* are surrounded by text (right or
 left).
 this is kind of impossible in tex since it works per paragraph and during
 that it has no concept of crossing a page boundary; i presume that i can
 cook up something for a controlled situation but it's far from trivial
 Hans


That would be great Hans!

I'm curious what dish you will serve .-)

Steffen
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] How to make empty pages by default empty?

2003-09-17 Thread Steffen Wolfrum
Hi,

I guess this is very likely a FAQuestion but nevertheless
I couldn't find the answer:
When a new sectionblock or a chapter (page=right) is starting
and ConTeXt is forced to add before that a left empty page
then this empty page has naked pagenumber.
So what is the code to make empty pages by default empty (no header, 
no pagenumber)?

Sorry for this probably silly question,
but I truely might be happy for an answer.
Thanks, Steffen.
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: problems with embedded spaces in file paths (Win32)

2003-09-17 Thread Mari Voipio
On Wed, 17 Sep 2003, George White wrote:
 This is starting to look like too much work.  We are supposed to
 move from Win98 to WinXP real soon now.  Are these problems also
 present for WinXP?  For myself, *n*x works, but some groups rely on
 Adobe Illustrator + Photoshop and understandably are reluctant to give
 up Win32.

I found out about this problem over a year ago and it was even discussed
on this list, but nobody came up with a really working fix. So my solution
in both my old WindowsNT and in my current Windows2000 (and my homeXP) has
been NOT to install TeXLive in Program Files. Instead I have installed
TeXLive directly under the root, i.e. I have a directory C:\TeXLive and
that works fine. On my old desktop at work with WindowsNT I actually had
TeXLive on the second partition for the while, i.e. at D:\TeXLive and even
that worked fine.

It does not seem to bother TeXLive ConTeXt that the .tex files are in a
path with couple of spaces (like c:\Documents and Settings\Mari\My
Documents\ConTeXt\test.tex) as long as TeXLive itself is installed
somewhere without spaces.

I know this is a workaround, but at least as long TeXLive is installed
individually (not from the network, it is an easy solution. Just change to
root directory in the beginning of the installation and everything else
will work out. I don't really have any other options than the workaround
or having somebody come up with a real fix, because the other users of
my computers would be majorly annoyed if I went *n*x...


Mari
(mix-and-match Windows user, although in the Emacs school)
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Bug? setupinteraction makes footnotenumber bold

2003-09-17 Thread Steffen Wolfrum
For having the bookmarks when viewing my PDF in Acrobat I use 
\setupinteraction[state=start]

But this forces the footnotenumbers (both in the text and in the 
footer) to be bold.
Is this a known bug?

Here a minimal example:

%\setupinteraction[state=start]

\setupfootnotes[style=italic]

\starttext

Test Test.\footnote{Fussnotentext}

\stoptext

With the first line to be (un-)commented.

Steffen
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: How to make empty pages by default empty?

2003-09-17 Thread Patrick Gundlach
Hi, 

somehow this message got lost (??),


Steffen Wolfrum [EMAIL PROTECTED] writes:
 When a new sectionblock or a chapter (page=right) is starting
 and ConTeXt is forced to add before that a left empty page
 then this empty page has naked pagenumber.

try:

\definepagebreak
   [chapter]
   [yes,header,right] 


\setuphead
  [chapter]
  [page=chapter, 
]

\setuppagenumbering[alternative=doublesided] 

\starttext

\chapter {test} \dorecurse{10}{\input tufte }
\chapter {test} \dorecurse{10}{\input tufte }
\chapter {test} \dorecurse{10}{\input tufte } 
\stoptext



Patrick
-- 
Silent is the goldfish in its bowl
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: Re: problems with embedded spaces in file paths (Win32)

2003-09-17 Thread George N. White III
On Wed, 17 Sep 2003, Mari Voipio wrote:

 It does not seem to bother TeXLive ConTeXt that the .tex files are in a
 path with couple of spaces (like c:\Documents and Settings\Mari\My
 Documents\ConTeXt\test.tex) as long as TeXLive itself is installed
 somewhere without spaces.

Thanks for the suggestion.  We can certainly do that, and it should
eliminate many of the errors (especially if some are due to a command-line
buffer limit), but leaves the problem with the HOME directory.

Have you tried this with TeX Live 2003?
Do you set HOME=??? and what do you get for the gebied entry in, e.g.,
test.tmp?
Are you using irun generated .exe files for texexec, etc.?

-- 
George N. White III  [EMAIL PROTECTED]

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] sorry (off topic)

2003-09-17 Thread Pawel Jackowski na Onet
Hi

 %  \relax is not always obligatory but treat it as a goode habit

^

What I wanted to say by 'goode'? Sorry for that... I sent it too fast.
Sorry for any other mistakes in my messages. Belive me, it's not my
negligence.
I work hard on it...

Pawe/l


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: How to make empty pages by default empty?

2003-09-17 Thread Steffen Wolfrum
 Try this:

 \definepagebreak
[chapter]
[yes,header,right]
 \setuphead
   [chapter]
   [page=chapter,
 ]
 \setuppagenumbering[alternative=doublesided]
 \starttext
 \chapter {test} \dorecurse{10}{\input tufte }
 \chapter {test} \dorecurse{10}{\input tufte }
 \chapter {test} \dorecurse{10}{\input tufte }
 \stoptext
  Sorry for this probably silly question,
  but I truely might be happy for an answer.
 \definepagebreak is an undocumented feature. This definitely no silly
 question.
 HTH,

 Patrick


Hi Patrick,

your example looks good.

Unfortunately I use the project structure and have made each chapter 
a component:

\startproduct Kueppers_Buch

\project KPPRS_0

\startfrontmatter
 \completecontent
\stopfrontmatter
 \component Einleitung

\startbodymatter
 \component Kap_1
 \component Kap_2
\stopbodymatter
\stopproduct

Now the left empty page after the TOC has a pagenumber
and also the empty last left page of Einleitung befor Kap_1 begins etc.
Is \definepagebreak also extendable for this case?
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \setuptyping

2003-09-17 Thread Jean-Pierre Le Narzul
Hi,

For typing Java code in a context document, I use \starttyping ... 
\stoptyping.

I have a problem when I configure \setuptyping in the following way :

\setuptyping[typing][color=black,style=\ss,escape=/,option=commands]

If I put characters like { or _ in my source (between \starttyping and 
\stoptyping)
, they do not appear in the produced document

{ character is replaced by - character
_ character is replaced by '  character
etc
If I configure setuptyping in the following way

\setuptyping[typing][color=black,style=\tt,escape=/,option=commands]

(just change \ss to \tt)

everything is ok !

Any idea ?

thanks in advance for any help

jp

___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: \setuptyping

2003-09-17 Thread Patrick Gundlach
Hi,

Jean-Pierre Le Narzul [EMAIL PROTECTED] writes:

 Any idea ?

Yes: don't use computer-modern fonts. They don't have { } and _
except for typewriter. 

Use any other font encoded in ec or texnansi or whatever encoding.
See for example latin-modern:


==
\starttext

\setuptyping[typing][color=black,style=\ss,escape=/,option=commands]

\starttyping
hello_world {brace}
\stoptyping

\setupencoding [default=ec] 
\usetypescript [all] [latin-modern] [\defaultencoding]%
\setupbodyfont[reset]%
\setupbodyfont[cmr]%

\starttyping
hello_world {brace}
\stoptyping

\stoptext
==

Patrick

PS: and please (!!!) provide a minimal but complete working (or
no-working) example next time. It would save the others some time.

-- 
Silent is the goldfish in its bowl
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Alternate/Swash Font in ConTeXt, how?

2003-09-17 Thread Henning Hraban Ramm
Am Dienstag, 16.09.03, um 22:54 Uhr (Europe/Zurich) schrieb Steffen 
Wolfrum:

Does any of you cracks has experience in
how to use the AGaramondAlternate Font in ConTeXt?
Sorry, no, but...

I have no problems with the other Expert fonts
but this one stays empty.
I'd like to know how do you use the others?



Grüßlis vom Hraban!
--
http://www.fiee.net/texnique/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] sorry (off topic)

2003-09-17 Thread Tobias Burnus
Hello,

On Wed, Sep 17, 2003 at 11:10:37PM +0200, Pawel Jackowski na Onet wrote:
  %  \relax is not always obligatory but treat it as a goode habit
 What I wanted to say by 'goode'?
While it is not an English word (says the Oxford English Dictionary)
there is
  Goode, Richard (Stephen)
  (b NY, 1943). Amer. pianist. Début NY 1962 (NY Young Concert Artists).
  Eur. début Spoleto Fest. 1964. Member of Boston Symphony Chamber Players
  1967-9 and of Chamber Mus. Soc. of Lincoln Center, NY, 1969-79 and 1983-9.
  Won 1st prize Clara Haskil comp. 1973. Wide repertory and has recorded
  complete cycle of Beethoven sonatas.
  (The Concise Oxford Dictionary of Music.)

Doesn't sound too bad ;)

Tobias
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: \setuptyping

2003-09-17 Thread Jean-Pierre Le Narzul
Hi,

Thanks for your explanation.
I understand the problem now !
But unfortunately, the example you provide is not working for me.
The pdf file displays the wrong characters for both \starttyping 
\stoptyping ...

  jp

PS: sorry for not providing an example in my first mail. I am using 
yours now 

Le jeudi, 18 sep 2003, à 00:18 Europe/Paris, Patrick Gundlach a écrit :

Hi,

Jean-Pierre Le Narzul [EMAIL PROTECTED] writes:

Any idea ?
Yes: don't use computer-modern fonts. They don't have { } and _
except for typewriter.
Use any other font encoded in ec or texnansi or whatever encoding.
See for example latin-modern:
==
\starttext
\setuptyping[typing][color=black,style=\ss,escape=/,option=commands]

\starttyping
hello_world {brace}
\stoptyping
\setupencoding [default=ec]
\usetypescript [all] [latin-modern] [\defaultencoding]%
\setupbodyfont[reset]%
\setupbodyfont[cmr]%
\starttyping
hello_world {brace}
\stoptyping
\stoptext
==
Patrick

PS: and please (!!!) provide a minimal but complete working (or
no-working) example next time. It would save the others some time.
--
Silent is the goldfish in its bowl
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: [NTG-context]

2003-09-17 Thread ^Nitram^
Hi,

 Other examples does nothing - there is no errors on \setlayer but
 I didn't see any effect - no text is visible ;(
 what version do you run?

pdfeTeX, Version 3.141592-1.11a-2.1 (MiKTeX 2.3)
ConTeXt  ver: 2003.8.21  fmt: 2003.9.8

-- 
Best regards
Martin


___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context