[NTG-context] \normalsize

2005-03-25 Thread Peter Mnster
Hello,
is there a command, that switches to the normal font size (body-font)?
I tried \tf, but it affects only the shape, not the size.
TIA for any hint, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \doprepareidentity

2005-03-16 Thread Peter Mnster
Hello,
in order to get correct output of pdfinfo, I need to redefine
\doprepareidentity :

\let\doprepareidentity\relax % try with and without this line
\setupoutput[pdf]
\enableregime[il1]
\setupinteraction[state=start,author=ä,title=ä,subtitle=ä,keyword=ä]
\starttext
test
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] pdf-mode

2005-02-24 Thread Peter Mnster
Hello Hans,
I've just read your mmodes.pdf. Very helpful, thanks!
Could you also add a pdf-mode?
For now, I'm doing it like this:
\input ifpdf.sty
\ifpdf
 \enablemode[pdf]
\fi
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Widows, flush bottom, and word breaks

2005-02-12 Thread Peter Mnster
On Sat, 12 Feb 2005, Jack M. Lyon wrote:

 2. How can I turn on \flushbottom (LaTeX command) to space lines *inside*
 paragraphs but not *between* paragraphs?

Not a very beautiful page, but I hope it helps:
http://contextgarden.net/Flush_bottom
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] texshow problem after update

2005-01-27 Thread Peter Mnster
Hello,
texshow is no more working on my system after update. Here is the output:

  TeXShow-XML 0.2 beta / Taco Hoekwater 2004

 interface : cont-en

status : searching for setup files
 error : setup files not found
 error : no setup files found

Versions of the other programs:

 TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004

   texexec : TeXExec 5.2.3 - ConTeXt / PRAGMA ADE 1997-2004
   texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
   tex : pdfeTeX, 3.141592-1.20c-beta-20050121-2.2 (Web2C 7.5.4)
   context : ver: 2005.01.13
   cont-en : ver: 2005.01.13  fmt: 2005.1.25  mes: english

TIA for any help!
Peter

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texshow problem after update (teTeX-2.99.10.20050123-beta)

2005-01-27 Thread Peter Mnster
On Thu, 27 Jan 2005, Taco Hoekwater wrote:

 It cannot find the cont-en.xml data file. 
 
 The XML data files live in texmf/context/data/
 
 Perhaps you forgot to run mktexlsr (most likely) or your system's kpsewhich 
 doesn't search for other text files in this data directory (possible)?

Thanks. I'm using the newest teTeX. Here the output of kpsewhich:
kpsewhich --format=other text files --progname=context cont-en.xml
- no output
kpsewhich --progname=context cont-en.xml
- /opt/teTeX/texmf-dist/tex/context/interface/cont-en.xml

Then, I loaded the texmf.cnf into my editor and found the following text:

% Some additional input variables for several programs.  If you add
% a program that uses the 'other text files' or 'other binary files'
% search formats, you'll want to add their variables here as well.

So I added this line:
CONTEXTINPUTS = .;$TEXMF/tex/context//
And now, it seems all ok!

Thanks!
Peter

P.S.: In the manual of kpsewhich, the options begin with only one hyphen.

-- 
http://pmrb.free.fr/contact/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] french hyphenation after l-apostrophe doesn't work

2005-01-20 Thread Peter Mnster
On Thu, 20 Jan 2005, Steffen Wolfrum wrote:

 when, in a french project, the line ends with e.g. l'int\'{e}r^{e}t
 then context doesn't hyphenate l'interet and the line gets stretched.
 (If I wouldn't have the l-apostroph construction then the word is
 hyphenated in-teret, so its hyphenation is know to TeX.)

Hello Steffen,
perhaps you just need a font with real accented characters, such as
Latin-Modern. This works for me:

\enableregime[il1]
\usetypescript[modern][texnansi]
\setupbodyfont[modern]
\starttext
\dorecurse{50}{l'intérêt }
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] pragma web site error

2005-01-07 Thread Peter Mnster
Hello,
I get the following error message on URL http://www.pragma-ade.com/context/ :

Example Server Report
Fri Jan 07 22:31:20 CET 2005
Something is wrong. Maybe you need to login.

Do I have to register somewhere?

Happy new year, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] next version

2005-01-07 Thread Peter Mnster
On Fri, 7 Jan 2005, Hans van der Meer wrote:

 May I also make a suggestion? I think it will be useful when the 
 versiondate of the documents, especially the manuals, can be put along 
 the download link.

You are probably looking for this link:
http://www.pragma-ade.com/dir/general/manuals/?M=D
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] pragma web site error

2005-01-07 Thread Peter Mnster
On Fri, 7 Jan 2005, Adam Lindsay wrote:

 You probably are looking for:
  http://www.pragma-ade.com/dir/context/

Yes, indeed!
Thanks, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


RE: Re[2]: [NTG-context] Bugs

2004-11-20 Thread Peter Mnster
On Sat, 20 Nov 2004, Dirar BOUGATEF wrote:

 Is there any place to report bugs ..

Perhaps http://contextgarden.net/Bugs_and_workarounds

 and are there release notes for new context versions ?

Also on the wiki:
http://contextgarden.net/Release_Notes

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] FunnyText

2004-11-07 Thread Peter Mnster
On Sat, 6 Nov 2004, David Arnold wrote:

 \setupframedtexts
 [FunnyText]
 [backgroundcolor=lightgray,
 framecolor=darkred,
 rulethickness=2pt,
 offset=\bodyfontsize,
 before={\blank[big,medium]},
 after={\blank[big]},
 width=\textwidth]
 
 But I am wondering how to use it to set up a big Copyright in the
 background?

Not really an answer to your question, but I know about this possibility:

\startuniqueMPgraphic{copyright}
  draw btex \bf COPYRIGHT etex rotated 60 withcolor .8white;
  currentpicture := currentpicture ysized (\overlaywidth-0.5cm);
\stopuniqueMPgraphic

\defineoverlay[copyright][\uniqueMPgraphic{copyright}]
\setupbackgrounds[page][background=copyright]

\starttext
\input tufte
\stoptext

Thanks to Tobias Burnus for this code!

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Fit in Window

2004-11-07 Thread Peter Mnster
On Sat, 6 Nov 2004, David Arnold wrote:

 What commands do I use in Context to have my slide come up in Acrobat
 Reader's Fit In Window?

This should work:

\setupoutput[pdftex]
\setupinteraction[state=start,focus=fit]
\starttext
some text
\stoptext

But it doesn't... (see also http://contextgarden.net/PDF_startview)

Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] footnotes and tables

2004-09-07 Thread Peter Mnster
Hello,
is there a possibility to use footnotes in tables?
Unfortunately, the table gets printed over the footnote in the following
example:

\def\Line{\NC \tex{HL}  \NC horizontal line \NC\AR}
\starttext
\starttablehead
\HL
\NC command \NC meaning \NC\SR
\HL
\stoptablehead
\starttabletail
\HL
\stoptabletail
\starttables[|l|l|]
\NC \tex{NC}\NC next column\footnote{A footnote}\NC\AR
\dorecurse{40}{\Line}
\stoptables
\stoptext

TIA for any help, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] footnotes and tables

2004-09-07 Thread Peter Mnster
On Tue, 7 Sep 2004, Willi Egger wrote:

 may be the following is suiting your needs:
 
 {\placelocalfootnotes}

No, I'm sorry. I would like the footnote on the same page as the
footnotemark...
But anyway: thank you!

In my application, the table is several pages long.

If there is a way to place the footnotes in the footer, then I could play
with the pageheight and footerdistance etc. Perhaps, this would be the
solution?

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] et~al. in m-bib

2004-08-19 Thread Peter Mnster
Dear Taco,
a kind of feature request for the next release:
et al. is not language dependant, but nevertheless it would be nice (at
least for the thesis of my brother), if this string wouldn't be hard-coded
(just a macro as \bibetalname or similar).
Greetings, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] vertically centred

2004-08-13 Thread Peter Mnster
Hello,
how could I centre vertically a table or a vbox?
In other words, how to do the same as the following LaTeX code in ConTeXt?

\documentclass{article}
\begin{document}
a box with a table:
\fbox{\begin{tabular}[c]{l}1\\2\\3\end{tabular}}\par
a mid-aligned parbox: \parbox[c]{1em}{1 2 3}
\end{document}

I tried with \vbox to 0pt{\vss ... \vss}, but then the vertical dimension
gets lost...

A related question: where are the differences between
\framed[align=low,high,lohi]{...} ?

TIA for any help, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \startenvironment \currentfile

2004-08-12 Thread Peter Mnster
Hello,
isn't it redundant:
\startenvironment filename
\startproject filename
\startproduct filename
\startcomponent filename
??

Is this argument really needed?
\startenvironment xxx seems to works too.

Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] figure placement and flushbottom

2004-08-11 Thread Peter Mnster
Hello,
in general, the suggested method to get LaTeX \flushbottom behaviour, shown
on http://contextgarden.net/Flush_bottom, works quite well.
But here I have a situation, where I do not understand, why the first page
is not filled:

\setupwhitespace[0pt plus 1fill]
\defineblank[aroundfloat][0.8\lineheight plus 3fill minus 0.2\lineheight]
\setupfloats[spacebefore=aroundfloat,spaceafter=aroundfloat]
\let\stoptextO=\stoptext
\def\stoptext{\vfilll\stoptextO}

%\setupfloats[default={top,bottom,page}]% same as [EMAIL PROTECTED] in LaTeX?

\starttext
bla

\section{bla}% strange: if there is no table, then the figure placement is ok.
\starttable[|c|]
\NC bla\NC\AR
\stoptable

bla
\placefigure{bla}{\framed[height=10cm]{bla}}

\dorecurse{30}{\dorecurse{30}{bla }\par}
\stoptext


TIA for any hint, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] figure placement and flushbottom

2004-08-11 Thread Peter Mnster
On Wed, 11 Aug 2004, Hans Hagen wrote:

 Peter Münster wrote:
 
 \let\stoptextO=\stoptext
 \def\stoptext{\vfilll\stoptextO}
   
 I don't know what you want to achieve but this is not working because 0
 is not a character (and therefore not part of a \cs)

It's an O (for Original), not a 0 (zero).

 \prependtoks \vfilll \to \everystoptext

Thanks, this looks cleaner.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \setupdescription

2004-08-10 Thread Peter Mnster
On Mon, 9 Aug 2004, Hans Hagen wrote:

 Peter Münster wrote:
 
 Hello,
 how could I define a list, that looks like this:
 
 titel 1   text text text text text text text text text text text text text
   text text text text text text text text text text text text text
   text text text text text text text text text text text
 
 long titel 2   text text text text text text text text text text text text
   text text text text text text text text text text text text text
   text text text text text text text text text text text

 \definedescription[three][location=hanging,width=broad,margin=2em]
 
 \three {long titel 2} \input ward \par

Thank you Hans, \three is quite near what I'm looking for.
But with \three {short} ... \par the text begins too much at the left.
Consider the long title 2 as an exception. The more general label will
look like title 1. Here is a little better example to show what I want:

A text text text text text text text text text text text text text
  text text text text text text text text text text text text text
  text text text text text text text text text text text

BBB   text text text text text text text text text text text text text
  text text text text text text text text text text text text text
  text text text text text text text text text text text

CCtext text text text text text text text text text text text text
  text text text text text text text text text text text text text
  text text text text text text text text text text text

long titel 2   text text text text text text text text text text text text
  text text text text text text text text text text text text text
  text text text text text text text text text text text

I used to do this in LaTeX with mdwlist.sty, see also
http://contextgarden.net/Description

Greetings, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] High level user macro (howto?)

2004-08-10 Thread Peter Mnster
On Mon, 28 Jun 2004, Taco Hoekwater wrote:

 The 'key' to the keyval functionality in ConTeXt are two macros called
 \getparameters and \processaction.
 
 Here is a 'quickstart', assuming you want to define \myzigzag:
 
 [...]

Hello Taco,
thank you for your 'quickstart'!
I've just tried to apply \getparameters to the \Changes macro on the Wiki
(http://contextgarden.net/Changes). But there is a problem and any help
would be nice.

Here is the new macro:

\def\Changes#1[#2]{%
  \getparameters[CH][#2]% Auteur, Modif, Labels, Date
  \ifnum\RevC=0 \BigTitle \vskip0.5ex \Vfil \startChanges \fi
  \global\advance\RevC by 1 \VL \the\RevC \VL \CHDate \VL \CHModif \VL
  XXX%\In[\CHLabels,\relax] % does not work, but not so important for now
  \VL \CHAuteur \VL\AR\HL}

And later on, the usage of the macro:

\Changes[Date=1/2/2004,Modif=First version,Auteur=Peter]
\Changes[Date=3/4/2004,Modif=Some modifications,Lables={sec:S1,sec:S2},
  Auteur=Peter Münster]
\Changes[Date=5/6/2004,Modif=Some other modifications,Lables={sec:S2},
  Auteur=Peter]

The problem:
the parameter values are not updated in the two last calls of the macro.

Regards, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] High level user macro (howto?)

2004-08-10 Thread Peter Mnster
Pardon, I forgot the whole tex-file:

\useregime[il1]
\enableregime[il1]
\useencoding[ffr]
\definehspace[fr][:][.16667em]
\definehspace[fr][;][.16667em]
\definehspace[fr][!][.16667em]
\definehspace[fr][?][.16667em]
\mainlanguage[fr]
\newdimen\BigWidth \BigWidth=18cm
\setupscreens[screen=0.85]
\setupcolors[state=start]
\setupheadertexts[Rév.: \the\RevC]
\def\Vfil{\vskip0pt plus3fil\relax}
\def\In[#1,#2]{\ifx#1\empty\else\in[#1]\fi\if\relax#2\else, \In[#2]\fi}
\def\BigTitle{\centerline{\framed[width=\BigWidth,offset=2mm,
  background=screen]{\bfb\setupinterlinespace\cbox{Title

\def\startChanges{\hbox to \hsize\bgroup\hss\SetTableToWidth{\BigWidth}%
  \starttable[s1 | c | c | p(95mm) | p(17mm) | p(37mm) |]
  \HL\BL[5]\AR\VL Rév.\VL Date\VL Origine de la mise à jour\VL§ modifié\VL
  Auteur\VL\AR\HL}
\def\stopChanges{\stoptable\hss\egroup}\newcount\RevC
\def\Changes#1[#2]{%
  \getparameters[CH][#2]% Auteur, Modif, Labels, Date
  \ifnum\RevC=0 \BigTitle \vskip0.5ex \Vfil \startChanges \fi
  \global\advance\RevC by 1 \VL \the\RevC \VL \CHDate \VL \CHModif \VL
  XXX%\In[\CHLabels,\relax] % does not work, but not so important for now
  \VL \CHAuteur \VL\AR\HL}
\def\Destinataires#1{\stopChanges\Vfil
  \def\temp{#1}\ifx\temp\empty\else\noindenting Destinataires:\crlf#1\blank\fi
\centerline{\SetTableToWidth{\BigWidth}%
\bf\starttable[| c | c | c |]
\HL\BL[3]\AR\VL Approbateur\VL Date\VL Visa\VL\AR\HL
\VL\vbox to 2cm{}\VL\VL\VL\AR\HL
\stoptable}\par\page\completecontent}

\starttext
\Changes[Date=1/2/2004,Modif=First version,Auteur=Peter]
\Changes[Date=3/4/2004,Modif=Some modifications,Lables={sec:S1,sec:S2},
  Auteur=Peter Münster]
\Changes[Date=5/6/2004,Modif=Some other modifications,Lables={sec:S2},
  Auteur=Peter]
%
\Destinataires{Peter, Olivier}

\section[sec:S1]{A section}
some text
\subsection{Bla}
\subsection{Bla}

\section[sec:S2]{Another section}
some text
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] High level user macro (howto?)

2004-08-10 Thread Peter Mnster
On Tue, 10 Aug 2004, Vit Zyka wrote:

\getparameters[CH][#2]% Auteur, Modif, Labels, Date
 
 Try \getgparameters

Thanks!!  What an easy fix, just ONE letter :-)
Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] 2 m-bib questions

2004-08-08 Thread Peter Mnster
Hello,

here my m-bib questions:

* The lost space after \cite[...], is it a bug or a feature?

* I'm going to add some multi-lingual support to m-bib. My idea is, to
  replace in cont-XX.bst and bibl-XXX.tex page by \pagename, and by
  \andname and so on. Is this method ok? If not, how should I do it (not
  too complicated please ;) ?

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] bug fix for ppchtex

2004-08-03 Thread Peter Mnster
On Tue, 3 Aug 2004, Hans Hagen wrote:

 Concerning the problem with mp graphics in ppchtex, change:
 
 \def\pushMPdrawing
   {\globalpushmacro\MPdrawingdata
\globallet\MPdrawingdata\empty}
 
 \def\popMPdrawing
   {\globalpopmacro\MPdrawingdata}

Thank you very much for your fast fix, it works!

Concerning my other PPCHTeX question:
Can you confirm, if atom substitution is possible or not in a
chair-structure?

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] PPCHTeX broken

2004-08-02 Thread Peter Mnster
Hello,
PPCHTeX seems to be broken in the latest ConTeXt beta version.
Here an example (copied from the manual):

\usemodule[pictex,chemic]
\starttext
\startchemical[scale=small,width=6000,height=6000,frame=on]
  \chemical[SIX,SB2356,DB14,Z2346,SR36,RZ36] [C,N,C,C,H,H_2]
  \chemical[PB:Z1,ONE,Z0,DIR8,Z0,SB24,DB7,Z27,PE] [C,C,CH_3,O]
  \chemical[PB:Z5,ONE,Z0,DIR6,Z0,SB24,DB7,Z47,PE] [C,C,H_3C,O]
  \chemical[SR24,RZ24] [CH_3,H_3C]
\stopchemical
\stoptext

log-file and dvi-file are attached.

Greetings, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en 2004.8.1)  2 
AUG 2004 16:22
entering extended mode
 (/var/lib/texmf/web2c/natural.tcx)
**cont-en test.tex
(./test.tex{/var/lib/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.6.30  fmt: 2004.8.1  int: english  mes: english

language   : language en is active
protectionstate 0
system : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
color  : palette rollover is available
system (E-TEX) : [line 599] 
system (E-TEX) : [line 654] 
)
system : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys loaded
(/var/lib/texmf/tex/context/config/cont-sys.tex)
system : macros of module tryout loaded
(/usr/share/texmf/tex/context/base/m-tryout.tex
\openout2 = `test.tui'.

)
bodyfont   : 12pt rm is loaded
language   : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2
 8:2-nl-2 loaded
specials   : tex,postscript,rokicki loaded
\openout2 = `test.tui'.

system : test.top loaded
(./test.top)
\openout0 = `test-mpgraph.mp'.

\openout0 = `mpgraph.mp'.


system : macros of module pictex loaded
(/usr/share/texmf/tex/context/base/m-pictex.tex
(/usr/share/texmf/tex/generic/pictex/pictex.tex))
system : macros of module chemic loaded
(/usr/share/texmf/tex/context/base/m-chemic.tex
(/usr/share/texmf/tex/context/base/ppchtex.tex
ppchtex: using PiCTeX and MetaPost
)) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo
) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo)
(./test.tuo) (./test.tuo)
fonts  : needs map file: ec-public-lm.map
fonts  : needs map file: original-base.map
systems: begin file test at line 2
\openout6 = `test-mpgraph.mp'.

systems: randomizer starts with 1151741342
[MP as EPS ./test-mpgraph.4000] [MP color conversion ./test-mpgraph.4000
\openout0 = `test-metacmyk.tmp'.


not needed]
\openout0 = `test-metacmyk.tmp'.

 [MP as EPS ./test-mpgraph.3999]
[MP color conversion ./test-mpgraph.3999
\openout0 = `test-metacmyk.tmp'.

 not needed]
\openout0 = `test-metacmyk.tmp'.


[MP as EPS ./test-mpgraph.3998] [MP color conversion ./test-mpgraph.3998
\openout0 = `test-metacmyk.tmp'.


not needed]
\openout0 = `test-metacmyk.tmp'.

 [1.1]
systems: end file test at line 9
[flush and process test-mpgraph.mp afterwards] ) 
Here is how much of TeX's memory you used:
 2099 strings out of 66360
 26067 string characters out of 723502
 4466376 words of memory out of 5559653
 33518 multiletter control sequences out of 1+5
 10565 words of font info for 35 fonts, out of 50 for 1000
 62 hyphenation exceptions out of 1000
 44i,17n,53p,304b,1505s stack positions out of 1500i,500n,5000p,20b,5000s
 0 PDF objects out of 30
 0 named destinations out of 131072
 0 words of extra memory for PDF output out of 65536

Output written on test.dvi (1 page, 2228 bytes).


test.dvi
Description: TeX dvi file
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Downsampling images in pdfTeX

2004-07-28 Thread Peter Mnster
On Tue, 27 Jul 2004, George N. White III wrote:

 For images that will be displayed only at low resolution it may be useful 
 to downsample the original image to reduce the size.  For example you 
 might have a 2 inch by 2 inch image scanned at 400 dpi.  This image would 
 have 800x800 pixels.  For screen display you might prefer to have a 
 200x200 pixel image (or 100 dpi for 2 inches).  Downsampling refers 
 to the process of reducing an 800x800 pixel image to 200x200 pixels.
 ways to reduce image size (lossy compression, colorspace changes,
 even converting certain images to line art).

Quite soon, I'm going to convert the degrade LaTeX-package
(CTAN: graphics/degrade) to ConTeXt. It permits to down-sample JPEG images on
the fly to a given resolution.
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: A few questions regarding ConTeXt

2004-07-28 Thread Peter Mnster
On Sun, 25 Jul 2004, Willi Egger wrote:

 following this list for a couple of years now, I can not remember that 
 Hans or other list members hinted how to solve arrising problems. - 
 Specially if it concerns interesting / necessary features, Hans has 
 always beeing prepared to cook them up!

Most times, I think, but not always. Some missing features are mentioned
for example on http://contextgarden.net/Bugs_and_workarounds and
http://contextgarden.net/From_LaTeX_to_ConTeXt
But you are right: in general, Hans does a very great work, Thanks!!
Greetings, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Problems with left and right

2004-07-24 Thread Peter Mnster
On Sat, 24 Jul 2004, Matt Gushee wrote:

   COMMAND:\setupheadertexts [] [section] [title] []
 
   RESULT: +++
   | title|  section |
   |||
   |||
   |||
   |||
   +++
 
 If you say there's a logical explanation for this, then I believe you.

Hello Matt,
isn't it logical, if you consider
\setupheadertexts [odd-left] [odd-right] [even-left] [even-right] ?
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] startappendices creates an extra empty page

2004-07-10 Thread Peter Mnster
On Mon, 21 Oct 2002, Rob van Swol wrote:

 When is use \startappendices \stopappendices to create appendices, I get
 an extra empty page. Is there a way to solve this?

\setupsectionblock[appendixpart][page=no]

See also:
http://members.ping.de:8062/context/show/Empty+page+at+the+end

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: listings.sty

2004-06-28 Thread Peter Mnster
On Mon, 28 Jun 2004, Hans Hagen wrote:

 what is listings.sty providing? 

Hello Hans,
here some features of listings.sty:
- support for a lot of languages (for example C)
- easy to add further languages
- line breaking (see my email from 19. June mentioning \lstinline)
- line numbering
- different options for column alignment
- escaping to TeX
- layout elements (frames, spacing, background, captions, etc)
- indexing
- floating listings
- special treatment of comments
- a lot more...

I don't know about all the \definetyping features (only those, that are
documented), perhaps the capabilities of ConTeXt are already sufficient. On
the other side, listings.sty is a very great package and mostly written in
Plain TeX. So perhaps it's worth the effort. I don't know...

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: listings.sty

2004-06-28 Thread Peter Mnster
On Mon, 28 Jun 2004, Hans Hagen wrote:

 When cooking up a new environment, it's best to separate functionality
 and use built in support when possible. For instance, line numbering,
 layout elements, floating listings are kind of independent of such a
 mechanisms.

Yes, for such features the LaTeX built in mechanisms are used (for example
\addcontentsline{lol}{lstlisting}{...}. Here the LaTeX interface must be
replaced by a ConTeXt interface.

 If some features are missing in the current verbatim environment (one of
 the older parts of context) i can add them if needed. On the other hand,
 it does not hurt to have multiple alternatives.

In general, the users prefer one solid way to go, instead of multiple
choices but each one with missing features.
If you want to rewrite the verbatim environment anyway, perhaps it's the
easiest way to take listings.sty as starting point?

Personally for me, today I'm just looking for two features:
- line breaking as suggested in my email from 19. June (- \hyphenatedfile)
- support for C and C++

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \hyphenatedfile

2004-06-21 Thread Peter Mnster
On Mon, 21 Jun 2004, Hans Hagen wrote:

  I try to build a macro, that prints special characters as \type and
  hyphenates as \hyphenatedfile.
 
 you mean something like \typ{whatever} (i.e. \type without e)

Yes, but I don't see any difference between

\starttext
\hskip10cm \typ{lost space/file with;strange:charac?ters~/  and  /end!}
\stoptext

and

\starttext
\hskip10cm \type{lost space/file with;strange:charac?ters~/  and  /end!}
\stoptext

Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] macro expansion in bookmarks

2004-06-21 Thread Peter Mnster
On Mon, 21 Jun 2004, Hans Hagen wrote:

 Peter Münster wrote:
 
 But anyway, bookmarks are no more placed since latest beta... :(
   
 
 a minimal example would help ... i never use bookmarks myself -) 

Just the same example as before, here without \definesynonyms:
\setupinteraction[state=start]
\setupinteractionscreen[option=bookmark]
\placebookmarks[section]
\starttext
\section{some text} % no bookmark
\stoptext

ConTeXt version is now 2004.6.16

Greetings, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \hyphenatedfile

2004-06-19 Thread Peter Mnster
Hello,

I try to build a macro, that prints special characters as \type and
hyphenates as \hyphenatedfile.
I can use now : and ;, but the characters ?, !, # and \ are still not
working, and spaces are lost. Could someone help please?
Here are my tries:

file env.tex:
\startenvironment env
\useencoding[ffr]
\mainlanguage[fr]
\unprotect
\def\reactivateLostActivations{\catcode`:=\@@active\catcode`;=\@@active}
\appendtoks\reactivateLostActivations\to\everystarttext

\bgroup
  \catcode`;=12 \catcode`?=12 \catcode`!=12
  \gdef\cleanedupSemicolon{;}
  \gdef\cleanedupQuestmark{?}
  \gdef\cleanedupExclamark{!}
  \catcode`\;=\@@active \catcode`?=\@@active \catcode`!=\@@active
  \gdef\protectChars{\let;\cleanedupSemicolon
% \let?\cleanedupQuestmark \let!\cleanedupExclamark % does not work
\protectlabels}
\egroup

\protect

\def\File#1{{\tt\protectChars\hyphenatedfile{#1}}}

%\let\File\typ  % does not work
%\let\File\type % does not work

\stopenvironment

file test.tex:
\environment env
\starttext
bla: bla? bla! bla; bla, this works now.

\hskip10cm
\File{lost space/file with;strange:charac?ters~/  and  /end!}
% And it would be nice, if I could use the following characters too:
% ?, !, # and \
\stoptext

In fact, I'm looking for something like this:
\documentclass[frenchb]{article}
\usepackage[latin1]{inputenc}
\usepackage{listings,babel}
\lstset{breaklines=true,basicstyle=\ttfamily}
\begin{document}
\hsize8cm\noindent
\lstinline{hööah:aloh/aa?lha llol!loh%lloh#allhal\lohhll;ohohal~loll ohalölo}
\end{document}

Perhaps, it could be possbible to port listings.sty to ConTeXt?

Greetings, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] footnote in paragraph

2004-06-19 Thread Peter Mnster
On Tue, 15 Jun 2004, Hans Hagen Outside wrote:

 \startPar
 bla\Par bla\postponefootnotes\footnote{a footnote, that gets hidden...}\Par bla
 \stopPar
 \flushfootnotes

Thanks, it seems, that I even don't need \flushfootnotes !

 \starttabulate[]
 \NC bla \NC bla \footnote{test} \NC bla \NC \NR
 \stoptabulate

Yes, tabulate would have been better for my application, but I need
vertical rules and page-breaking at the same time.

Thank you, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] macro expansion in bookmarks

2004-06-19 Thread Peter Mnster
On Tue, 15 Jun 2004, Hans Hagen Outside wrote:

 is there a switch to turn on macro expansion in bookmarks?
 Here an example, to show what I mean:
 \setupinteraction[state=start]
 \setupinteractionscreen[option=bookmark]
 \definesynonyms[Acro][acronymes][\Full]
 \Acro{ST}{some text}
 \placebookmarks[section]
 \starttext
 \section{\Full{ST}} % result not as expected in bookmark
 \stoptext
 
 you can simplify commands with: 
   
 \appendtoks
   \def\yourdangerouscommand{dont worry} 
 \to \simplifiedcommands 

Thanks for your answer Hans.
You should I applie this to my example?
Same behaviour as with LaTeX and hyperref.sty would be nice.

But anyway, bookmarks are no more placed since latest beta... :(

Greetings, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Can \note repeat its footnote?

2004-06-18 Thread Peter Mnster
On Thu, 17 Jun 2004, Stefan Wachter wrote:

 The \note[xxx] command is used to reference a previously defined 
 footnote. Is it possible that the previously defined footnote is 
 repeated if a page break had occured between the \footnote[xxx]{bla bla 
 bla} and the corresponding \note[xxx] command?

I've tried to build a macro based on \ifnum\currentpage=\at[xxx] (or
similar), but without success. In LaTeX I've used something like this:
\ifthenelse{\thepage=\pageref{LastPage}}
Perhaps, there is something similar in ConTeXt?
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] poster

2004-06-15 Thread Peter Mnster
On Tue, 15 Jun 2004, Zunbeltz wrote:

 I'm trying to do a scientific poster in latex and i've some problem. now
 i want to try it in context.

Hello,
I've done it in LaTeX, worked very well, these were my first lines:
\documentclass[portrait,a0]{a0poster}
\usepackage{multicol,pstricks,textpos}
Should work with ConTeXt also without much problems.

 I need two things
 1) set a backgroud for the paper (A0 size) with gradient color

You can make the gradient at least with MetaFun or PStricks. Making
backgrounds is easy with ConTeXt, see for example the mail about
draft stamp 3 weeks ago.

 2) Deal with textblocks (like the textpos package of latex). This package
 makes a grid (dont printing it),  for example 16x25 part (width and
 height). And then you can say
 \begin{textblock}{2}(0,3)
 ..
 \end{textbloc}

Should be possible with \position.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \AtBeginDocument

2004-06-14 Thread Peter Mnster
On Sun, 13 Jun 2004, Hans Hagen Outside wrote:

 hm, starttext is called anyway so it should work with product as well

Indeed, I saw this in the definition of \startproduct. Now I know, why it
does not work here: in my example (see below), \startproduct is called
before the environment is read in.

file env.tex:
\startenvironment env
\appendtoks\def\TestIt{test}\to\everystarttext
\stopenvironment

file proj.tex:
\startproject proj
\environment env
\product prod
\stopproject

file prod.tex:
\startproduct prod
\project proj
Test it: \TestIt
\stopproduct

Doesn't matter, I'll find other solutions for my purposes.

 P.S.: Unfortunately, it is quite hard to browse the core-*.tex files,
 because of the mix of 2 languages...  Are the non-english user-interfaces
 really used?
   
 sure, i use it, esp for dutch books (styles)

Excuse me, in fact it was a silly question.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] enco-ffr again

2004-06-14 Thread Peter Mnster
I've just discovered, that the problem is only with : and ; but not with ?
and !
Here my example files:

file env.tex:
\startenvironment env
\useencoding[ffr]
\mainlanguage[fr]
\stopenvironment

file test.tex:
\environment env
\starttext
No space before : nor ;
bla: bla; bla? bla!
\stoptext

Could someone help?
Greetings, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] startappendices creates an extra empty page

2004-06-14 Thread Peter Mnster
On Mon, 21 Oct 2002, Rob van Swol wrote:

 When is use \startappendices \stopappendices to create appendices, I get
 an extra empty page. Is there a way to solve this?

Hello,
did someone find a solution for this problem?
I have the same problem with \startbackmatter, here a test file:

\setupheadertexts[\currentpage/\lastpage]
\starttext
\startfrontmatter
hello
\stopfrontmatter
\startbodymatter
hello
\stopbodymatter
\startbackmatter
hello
\stopbackmatter
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] footnote in paragraph

2004-06-14 Thread Peter Mnster
Hello,
how could I place a footnote in a startParagraph environment?

\defineparagraphs[Par][n=3]
\starttext
\startPar
bla\Par bla\footnote{a footnote, that gets hidden...}\Par bla
\stopPar
\stoptext

Greetings, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \AtBeginDocument

2004-06-11 Thread Peter Mnster
Hello,

is there something in ConTeXt like the \AtBeginDocument in LaTeX ?

Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \dogetobject and pdf

2004-06-11 Thread Peter Mnster
On Fri, 11 Jun 2004, Hans Hagen wrote:

 pdf ok now, but the dvi is shifted up and to the right... :(
   
 
 Can you try this? You need to remake the format 

Yes, dvi and pdf ok, after deleting the \dogetobject definition in
cont-new.tex.

Thank you!
Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \setupdescription

2004-06-11 Thread Peter Mnster
Hello,
how could I define a list, that looks like this:

titel 1   text text text text text text text text text text text text text
  text text text text text text text text text text text text text
  text text text text text text text text text text text

long titel 2   text text text text text text text text text text text text
  text text text text text text text text text text text text text
  text text text text text text text text text text text

I tried with parameters distance and width of \setupdescription, but no
success.

TIA for any hint, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \AtBeginDocument

2004-06-11 Thread Peter Mnster
On Fri, 11 Jun 2004, Hans Hagen wrote:

 Peter Münster wrote:
 
 Hello,
 
 is there something in ConTeXt like the \AtBeginDocument in LaTeX ?
   
 
 \appendtoks
 something
 \to  \everystarttext
 
 could work

In fact, I'm looking for something, that also works for startproduct.
Seems to work only for starttext.
Perhaps, I could do something like this:
\let\startproductO=\startproduct
\def\startproduct{something\startproductO} ?

Peter

P.S.: Unfortunately, it is quite hard to browse the core-*.tex files,
because of the mix of 2 languages...  Are the non-english user-interfaces
really used?

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \dogetobject and pdf

2004-06-10 Thread Peter Mnster
On Thu, 10 Jun 2004, Hans Hagen wrote:

 Peter Münster wrote:
 
 Hello Hans,
 I'm sorry, your patch of the May 17 works well for dvi, but not for pdf:
 the figure is again shifted down and to the left.
 
 Here an example:
 \setupoutput[pdftex]
 \starttext
 X\externalfigure[example][width=5cm]X
 \stoptext
 
 example.pdf is attached, also the resulting pdf.
 
 
 Concerning the issus with \useencoding[ffr] and FitBH:
 Do you think, you could solve the problems? If not, I'll go on trying to
 find solutions.
   
 
 i ran into that last week as well -)
 
 can you try:
 
 \def\dogetobject#1#2#3#4#5#6#7%
   {\initializepaper
\forgetall
\dontshowcomposition
\setbox\scratchbox\vbox
  {\doinsertobject{#1}{#2}}%
\setbox\scratchbox#3%
  {\vbox to #5\scaledpoint
 {\ifdim\ht\scratchbox#5\scaledpoint
\vss\hbox to #4\scaledpoint{\hss\box\scratchbox\hss}\vss
  \else\ifdim\wd\scratchbox#4\scaledpoint
\vss\hbox to #4\scaledpoint{\hss\box\scratchbox\hss}\vss
  \else
\vss\box\scratchbox
  \fi\fi}}%
\box\scratchbox
\elabelgroup}
 
 if this does not work i 'll do an upload

pdf ok now, but the dvi is shifted up and to the right... :(

Now I use a workaround in form of an environment:

\startenvironment pdf-figures
\input ifpdf.sty
\ifpdf
\def\dogetobject#1#2#3#4#5#6#7%
  {\initializepaper
   \forgetall
   \dontshowcomposition
   \setbox\scratchbox\vbox
 {\doinsertobject{#1}{#2}}%
   \setbox\scratchbox#3%
 {\vbox to #5\scaledpoint
{\ifdim\ht\scratchbox#5\scaledpoint
   \vss\hbox to #4\scaledpoint{\hss\box\scratchbox\hss}\vss
 \else\ifdim\wd\scratchbox#4\scaledpoint
   \vss\hbox to #4\scaledpoint{\hss\box\scratchbox\hss}\vss
 \else
   \vss\box\scratchbox
 \fi\fi}}%
   \box\scratchbox
   \elabelgroup}
\fi
\stopenvironment

Greetings, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \dogetobject and pdf

2004-06-09 Thread Peter Mnster
Hello Hans,
I'm sorry, your patch of the May 17 works well for dvi, but not for pdf:
the figure is again shifted down and to the left.

Here an example:
\setupoutput[pdftex]
\starttext
X\externalfigure[example][width=5cm]X
\stoptext

example.pdf is attached, also the resulting pdf.


Concerning the issus with \useencoding[ffr] and FitBH:
Do you think, you could solve the problems? If not, I'll go on trying to
find solutions.

Greeting, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/

example.pdf
Description: Adobe PDF document


result.pdf
Description: Adobe PDF document


Re: [NTG-context] Strange bug with ffr and \in[]

2004-06-07 Thread Peter Mnster
On Fri, 21 May 2004, Peter Münster wrote:

 On Fri, 21 May 2004, Hans Hagen wrote:
 
  The reason is that the environment that handles the : is loaded after the 
  first access to the utility file;
  
  you can try to add this to your local cont-sys.tex file
  
  \enablemode[activecolon] \usemodule[tryout]
 
 Yes, it works. Thank you!

Oh, no, I was too fast. There is no more problem with \in[], but there is
no more space before a colon:

file env.tex:
\startenvironment env
\useencoding[ffr]
\mainlanguage[fr]
\stopenvironment

file test.tex:
\environment env
\starttext
bla: bla % no space before colon, if \useencoding[ffr] is in environment.
\stoptext

Do you know the reason?
Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: pdfTeX questions

2004-06-07 Thread Peter Mnster
On Mon, 7 Jun 2004, Hans Hagen wrote:

 \setupinteraction[focus=fit|width|height|standard]
 
 BH is not supported (yet)
 
 you need to add the following to mult-con.tex first to get minheight supported 
 
 minhoogte: minhoogte minheight
minhoehe  minvyska
altezzamininaltimeminima

Thank you, Hans!
I also had to add minbreedte, then my testfile compiled.
With \setupinteraction[state=start,focus=minwidth] I get indeed a line like
this: /D [2 0 R /FitBH 0] in the pdf-file, but Acroread does not start in
this mode... (focus=width does not work neither)

 so now we have minheight and minwidth; can you test that (only when it
 works i will move it to the driver module; such things were buggy in
 previous versions of acrobat)

Yes, I think they are still buggy, but it seems, that newer pdftex versions
know to handle those bugs. At least with pdftex-1.10b and LaTeX, there is
no more problem. (with pdftex-0.14h, there was no hope...)

Greetings, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] m-bib and \setupinteraction

2004-06-06 Thread Peter Mnster
Not so important, but strange behaviour:

\setupoutput[pdftex]
\usemodule[bib] % no problem if this line comes after \setupinteraction
\setupinteraction[author=Jan,title=Titel] % strange: title ok, but not author
\starttext
bla
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: pdfTeX questions

2004-06-06 Thread Peter Mnster
On Mon, 31 May 2004, Patrick Gundlach wrote:

  FitBH means, fit to width of bounding box. When reading text on the screen,
  the combination of FullScreen and FitBH seems to me optimal.
 
 I could not find anything like this in ConTeXt.

After a while of searching, I found in spec-fdf.tex the following lines:

\def\PDFpageviewkey{  fit}
\def\PDFpageviewwrd{ /Fit}
\def\PDFpageview   {/View [\PDFpageviewwrd] }

I changed /Fit to /FitBH and indeed, I get lines like this:
/S /GoTo /D [0 /FitBH]
in the pdf-file. When clicking on a link, I get into FitBH mode, but not at
startup. Does anybody know a little bit more about PDF to get this working
as in LaTeX?

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] %%BoundingBox: (atend)

2004-06-03 Thread Peter Mnster
On Thu, 3 Jun 2004, Taco Hoekwater wrote:

  But how is texutil used in this situation?
 
 with 
   texutil --figures

I tried this too, but still the same error. Perhaps something wrong with my
installation? I would be glad if someone could help.
The file example.eps is in the attachment.
Here is test.tex:
\starttext
\externalfigure[example][width=10cm]
\stoptext

After executing texutil --figures example.eps the file texutil.tuf is
created:
%
% TeXUtil 8.2 - ConTeXt / PRAGMA ADE 1992-2004 / Figures
%
\thisisfigureversion{1996.06.01}
%
\presetfigure[example.eps][e=eps,w=22.754cm,h=16.051cm
,x=2.258cm,y=2.540cm,t={Untitled},c={Grace-5.1.14},s=9396]

And then, after texexec test the attached log-file is created.

I tried to move away the eps-file just before executing texexec and move it
back just before dvips, but then, I get a corrupted ps-file.

Greetings, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/

example.eps
Description: eps-file
This is pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5) (format=cont-en 2004.6.2)  3 
JUN 2004 18:42
entering extended mode
**cont-en test.tex
(./test.tex{/var/lib/texmf/pdftex/config/pdftex.cfg}

ConTeXt  ver: 2004.4.9  fmt: 2004.6.2  int: english  mes: english

language   : language en is active
protectionstate 0
system : cont-new loaded
(/usr/share/texmf/tex/context/base/cont-new.tex
systems: beware: some patches loaded from cont-new.tex!
color  : palette rollover is available
system (E-TEX) : [line 278] 
system (E-TEX) : [line 333] 
)
system : cont-old loaded
(/usr/share/texmf/tex/context/base/cont-old.tex
loading: Context Old Macros
)
system : cont-fil loaded
(/usr/share/texmf/tex/context/base/cont-fil.tex
loading: Context File Synonyms
)
system : cont-sys loaded
(/var/lib/texmf/tex/context/config/cont-sys.tex)
system : macros of module tryout loaded
(/usr/share/texmf/tex/context/base/m-tryout.tex
\openout2 = `test.tui'.

)
bodyfont   : 12pt rm is loaded
language   : patterns 2:2-en-2 3:2-uk-2 4:2-de-2 5:2-fr-2 6:2-es-2 7:2-it-2
 8:2-nl-2 loaded
specials   : tex,postscript,rokicki loaded
\openout2 = `test.tui'.

system : test.top loaded
(./test.top)
\openout0 = `test-mpgraph.mp'.

\openout0 = `mpgraph.mp'.


fonts  : needs map file: ec-public-lm.map
fonts  : needs map file: original-base.map
systems: begin file test at line 1
! Missing number, treated as zero.
to be read again 
   (
\EPSllx -(
   atend)
\dogetEPSboundingbox ...m \EPSfound 0 #2=\EPSllx 
  bp#4=\EPSurx bp#3=\EPSlly ...

\getfiguredimensionsA ...heightb } \executedfalse 
  \ifexecuted \donetrue \ifd...
argument \getfiguredimensionsA 
 \getfiguredimensionsB \getfiguredimensionsC 
\firstoftwoarguments #1#2-#1
 
...
l.3 \stoptext
 
? x
 
Here is how much of TeX's memory you used:
 888 strings out of 66597
 9826 string characters out of 727591
 4409401 words of memory out of 5504447
 32118 multiletter control sequences out of 1+5
 10284 words of font info for 34 fonts, out of 50 for 1000
 62 hyphenation exceptions out of 1000
 27i,1n,40p,149b,714s stack positions out of 1500i,500n,5000p,20b,5000s
 0 PDF objects out of 30
 0 named destinations out of 131072
 0 words of extra memory for PDF output out of 65536
No pages of output.


[NTG-context] pdfTeX questions

2004-05-31 Thread Peter Mnster
Hello,
I have some questions concerning pdfTeX, the following example illustrates
the problems:

\setupoutput[pdftex]
\enableregime[il1]

\pdfinfo{ /Title (\Ubung) /Author (Münster) } % neither \U nor ü work

\pdfcatalog{ /PageMode /FullScreen } % this works well

\pdfdest num 1 fitbh % I would like to get the same result as in LaTeX with
 % \hypersetup{pdfstartview={FitBH}}
\starttext

some text
\externalfigure[example][width=5cm]
some text, jpeg-figure is shifted down and to the left.
The file example.jpg is attached.

The versions:
pdfeTeX, Version 3.14159-1.10b-2.1 (Web2C 7.4.5)
ConTeXt  ver: 2004.3.16  fmt: 2004.5.18  int: english  mes: english

\stoptext

TIA for any help, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/attachment: example.jpg

Re: [NTG-context] Re: pdfTeX questions

2004-05-31 Thread Peter Mnster
On Mon, 31 May 2004, Patrick Gundlach wrote:

 \setupinteraction[title=Übung,Author=Münster]

Thanks, I missed those keys in the manual.
Ü is still not working, perhaps I should update to ConTeXt-2004.4.9 ?

It seems, that there is no key named keywords ?

  \pdfdest num 1 fitbh % I would like to get the same result as in LaTeX with
   % \hypersetup{pdfstartview={FitBH}}

 what does this do?

FitBH means, fit to width of bounding box. When reading text on the screen,
the combination of FullScreen and FitBH seems to me optimal.

When you create a pdf-file of the following LaTeX-source (with pdflatex),
you see all features, I'm looking for:

\documentclass{article}
\usepackage[latin1]{inputenc}
\usepackage{hyperref}
\hypersetup{pdfstartview=FitBH,pdfpagemode=FullScreen,
  pdfauthor={Peter Münster},pdftitle={A title},pdfsubject={The subject},
  pdfkeywords={some keywords}}
\begin{document}
\section{Section with ö, with bookmark}
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
\end{document}

BTW, how do you create bookmarks with ConTeXt?
I tried the following, but it did not work:

\setupoutput[pdftex]
\enableregime[il1]
\setupinteraction[state=start,menu=on]
\setupinteractionmenu[left][state=start]
\setupinteractionscreen[option=bookmark]
\starttext
\section{Section with ö}
some text
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: pdfTeX questions

2004-05-31 Thread Peter Mnster
On Mon, 31 May 2004, Patrick Gundlach wrote:

  \externalfigure[example][width=5cm]
  some text, jpeg-figure is shifted down and to the left.
 
 I don't see that it is shifted to the left, but slightly down (I
 wonder where this is aligned?).

Indeed, very slightly. But much better than here. So I just have to update
to ConTeXt 2004.4.9.

 And \externalfigure eats up the
 whitespace after 5cm]. This is sligthly confusing.

Yes. I've just seen the same problem with \cite[...] (m-bib). With \cite
it's a bigger problem, because it's in the running text, \externalfigure
in most cases in a \placefigure.

Thanks for your answers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: flushbottom

2004-05-31 Thread Peter Mnster
On Mon, 31 May 2004, Henning Hraban Ramm wrote:

 Am Montag, 31.05.04, um 11:39 Uhr (Europe/Zurich) schrieb Patrick 
 Gundlach:
  how could I get stretchable space between paragraphs, tables and 
  figures, so
  that the last line of a page flushes always to the bottom?
  \setupwhitespace[0pt plus 1pt] does not seem to work...
 
  try \setupwhitespace[0pt plus 1fil]
  But this might be too much sometimes.
 
 How about \vfil \vfill \vfilll ?

What do you mean?
\setupwhitespace[\vfil] won't work.
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: flushbottom

2004-05-31 Thread Peter Mnster
On Mon, 31 May 2004, Patrick Gundlach wrote:

 Peter Münster [EMAIL PROTECTED] writes:
 
  how could I get stretchable space between paragraphs, tables and figures, so
  that the last line of a page flushes always to the bottom?
  \setupwhitespace[0pt plus 1pt] does not seem to work...
 
 try \setupwhitespace[0pt plus 1fil]
 But this might be too much sometimes.

Thanks! I tried 1fil, but it was not enough. 1fill seems to be good. But on
the last page, there is a problem. Here is my example file:

\def\Par{bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla
  bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla}
\def\Fig{\placefigure{A figure.}{\framed{\vbox to 5cm{bla
\def\Tab{\placetable{A table.}{\framed{\vbox to 5cm{bla
\setuplayout[height=24cm]
\setupwhitespace[0pt plus 1fill]
\starttext
\dorecurse{20}{\section{Section}\Par\Par\Par\Fig\Par\Par\par\Par\par\Tab
\Par\Par\Par\par\Par\Par\par\Par\Par\par\Par\Par\par\Par\Par\Par\Par\Par}
\stoptext

I could place a \vfilll at the end of each chapter, but perhaps there is
a more elegant solution.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] %%BoundingBox: (atend)

2004-05-30 Thread Peter Mnster
Hello,
ConTeXt does not find the EPS-BoundingBox in EPS files generated by xmgrace.
Such a file begins like this:

%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: (atend)

and it ends like this:

%%Trailer
%%BoundingBox: 64 72 709 527
%%DocumentNeededResources: font Times-Roman
%%EOF

When using \externalfigure, one gets the following error:
ERROR: Missing number, treated as zero.

--- TeX said ---
to be read again 
   (
\EPSllx -(
   atend)
\dogetEPSboundingbox ...m \EPSfound 0 #2=\EPSllx 
  bp#4=\EPSurx bp#3=\EPSlly ...

Would it be possible, to enable ConTeXt to read such a file?
If not, I'm going to write a script, that converts the file.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] m-bib sorting, etc.

2004-05-25 Thread Peter Mnster
On Thu, 13 Mar 2003, Eckhart Guthöhrlein wrote:

 Am Donnerstag, 13. März 2003 16:13 schrieb Bruce D'Arcus:
   \setupbibtex[sort=author]
   \setuppublications[sorttype=bbl]
 
  If I understand correctly, if I have this code in the preamble and I
  run BibTeX, the cont-au.bst file ought to be automatically used.  Is
 
 Yes. Another bug. You have to manually edit the aux file produced by the first
 tex run and replace cont-no by cont-au. Even worse: since the extension .aux
 is hard coded in bibtex, and since the file is written each time you run tex,
 you will have to do this before every bibtex run (i.e., every time you make
 changes to your bib database).

Hello,
does anybody know, how to fix this bug?
If not, I'm going to try it...
Cheers, Peter

-- 
http://pmrb.free.fr/contact/
_
FilmSearch engine: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Strange bug with ffr and \in[]

2004-05-21 Thread Peter Mnster
On Fri, 21 May 2004, Hans Hagen wrote:

 The reason is that the environment that handles the : is loaded after the 
 first access to the utility file;
 
 you can try to add this to your local cont-sys.tex file
 
 \enablemode[activecolon] \usemodule[tryout]

Yes, it works. Thank you!
Peter

-- 
http://pmrb.free.fr/contact/

FilmSearch engine with a lot of new features: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \externalfigure and dvi-output

2004-05-17 Thread Peter Mnster
On Mon, 17 May 2004, Hans Hagen wrote:

 put this in cont-new.tex:
 
 and replace this in spec-tr.tex:

Thank you, it works!
Instead of spec-tr.tex, I replaced in spec-dvi.tex.
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

FilmSearch engine with a lot of new features: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] French, ? : ; !, and spacing, \setuppapersize problem

2004-05-14 Thread Peter Mnster
On Fri, 14 May 2004, Hans Hagen wrote:

 (Passing on a question.) Is there a simple methode to automatically add
 a thinspace before ?, !, : and ; as it is done commonly in
 French? This would make typing easier and would allow to change a
 thinspace into a normal space etc.
 
 \useencoding[ffr]
 
 \starttext
 
 \fr test: test
 
 \de test: test
 
 \stoptext 

Hello,
thanks for this ffr-mode. I took a look into m-tryout.tex and
enco-ffr.tex, but unfortunately I didn't find out where to trigger a
thinspace instead of a full space before the colon.
Could you help please?  (ConTeXt version is 2004.3.16)
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

FilmSearch engine with a lot of new features: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] bold typewriter cm-font

2004-05-13 Thread Peter Mnster
Hello,
I'm quite lucky, that I've finally got a bold typewriter font. Could you
just tell me please, if this is the right ConTeXt-way to do it?

\usetypescript[modern][texnansi]
\setupbodyfont[modern]

\definebodyfont [12pt] [tt] [bf=cmttb10 at 12pt]
\definebodyfont [11pt] [tt] [bf=cmttb10 at 11pt]
\definebodyfont [10pt] [tt] [bf=cmttb10]
\definebodyfont [9pt] [tt] [bf=cmttb10 at 9pt]
\definebodyfont [8pt] [tt] [bf=cmttb10 at 8pt]
%\definebodyfont [12pt] [tt] [bf=cmbtt10 at 12pt]
%\definebodyfont [11pt] [tt] [bf=cmbtt10 at 11pt]
%\definebodyfont [10pt] [tt] [bf=cmbtt10]
%\definebodyfont [9pt] [tt] [bf=cmbtt9]
%\definebodyfont [8pt] [tt] [bf=cmbtt8]

\starttext
\tt hugo \bf hugo
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

FilmSearch engine with a lot of new features: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] \definestartstop and \starttabulate

2004-05-06 Thread Peter Mnster
Hello,
how could I create a new start-stop-pair that uses \starttabulate ?
The following example does not seem to work...

\definestartstop[Tab][before={\starttabulate[|c|]},
after={\stoptabulate}]
\starttext
\startTab
\NC test \NC\AR
\stopTab
\stoptext

TIA for any help, Peter

-- 
http://pmrb.free.fr/contact/

FilmSearch engine with a lot of new features: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] context2html converter (was: ConTeXt Switcher? )

2004-04-01 Thread Peter Mnster
On Tue, 9 Dec 2003, Bob Kerstetter wrote:

 I have contacted a friend who is a tex4ht power user and asked if he 
 could help with making tex4ht work with ConTeXt. He said his 
 uneducated guess is that tex4ht can be made to work with ConTeXt, but 

Hello Bob,
any news about TeX4ht for ConTeXt?
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

FilmSearch engine with a lot of new features: http://f-s.sf.net/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] typearea

2004-01-14 Thread Peter Mnster
On Sun, 11 Jan 2004, Peter Münster wrote:

 %% Here is the problem: dividing one length by another. %%

Hello,
I've found a solution. Here is now the full environment:

% this environment works a little bit like \usepackage[DIVcalc]{typearea}
% in LaTeX as explained in detail in scrguien.pdf (KOMA-Script documentation)
\startenvironment e-test
\def\BCOR{3mm}% eventual binding correction
\setbox\scratchbox\hbox{\dorecurse{26}{\character\recurselevel}}
\newdimen\PageWidth
\PageWidth=\paperwidth
\doifmode{BCOR}{\PageWidth=\dimexpr(\PageWidth-\BCOR)}
\unprotect
\begingroup
  \catcode`P=12
  \catcode`T=12
  [EMAIL PROTECTED]
[EMAIL PROTECTED]
\def\rem@@pt##1.##2PT{##1}}}
[EMAIL PROTECTED]
[EMAIL PROTECTED]@pt\the}
[EMAIL PROTECTED]@@pt\the}
[EMAIL PROTECTED](10\paperheight/[EMAIL PROTECTED](10\PageWidth))}
\protect
\newdimen\Width
\newdimen\Height
\newdimen\Back
\Width=\dimexpr(2.5\wd\scratchbox)
\Height=\dimexpr(\Ratio\Width)
\headerheight=2.75\baselineskip
\edef\Top{\the\dimexpr((\paperheight - \Height) / 3 - \headerheight)}
\doifmodeelse{oneside}{%
  \Back=\dimexpr((\PageWidth - \Width) / 2)
}{%
  \Back=\dimexpr((\PageWidth - \Width) / 3)
  \setuppagenumbering[alternative=doublesided]}
\doifmode{BCOR}{\Back=\dimexpr(\Back + \BCOR)}
\Height=\dimexpr(\Height + \headerheight + \footerheight)
\setuplayout[header=\the\headerheight,height=\the\Height,
  width=\the\Width,topspace=\Top,backspace=\the\Back]
\stopenvironment

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

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


Re: [NTG-context] Footnotes Without Text Marks?

2004-01-11 Thread Peter Mnster
On Sat, 10 Jan 2004, John McChesney-Young wrote:

 right direction. Here's the Overfull \hbox
 message from the console, on the off-chance it's
 relevant for the hyphenation problem:

Hello John,
if I understand it right, the hyphenation problem is related to the font:
to get correct hyphenation, the accented characters have to be in the font,
as they are in Latin Modern or EC. In CM the é is a composition of an e and
the accent.
* Latin Modern: works out of the box with the latest ConTeXt, but is still
  in development, the kerning for example has to be improved (see
  http://pc52.ifw.ing.tu-bs.de/~harders/latex/lmodern.html).
  It's a PS Type 1 font.
* EC: seems to be difficult to support with ConTeXt, but I'll try it.
  It's a MetaFont font (bitmap).

 Thank you very much for the solution to the
 diacritical problem! Now I'm going to have to
 look in the manual for the difference between
 \useregime and \enableregime...

It's not in the manual, but it seems that \useregime does nothing, it only
pre-loads a regime to make it available for an \enableregime
command. Since there is already a \useregime[def,uni,ibm,win,il1,mac] in
regi-ini.tex, you'll need an extra \useregime only for other regimes.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

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


[NTG-context] Argument of \next1 has an extra }.

2004-01-11 Thread Peter Mnster
Hello,
I would like to write a twoside document with a title page, so I wrote the
following file:

\setuppagenumbering[alternative=doublesided]
\starttext
\startstandardmakeup
bla
\stopstandardmakeup
\stoptext

But when processing \stopstandardmakeup, I get the error
! Argument of \next1 has an extra }.

ConTeXt  ver: 2003.12.12

Could someone help please?

TIA, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

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


Re: [NTG-context] typearea

2004-01-11 Thread Peter Mnster
On Tue, 6 Jan 2004, Henning Hraban Ramm wrote:

 Am Dienstag, 06.01.04, um 08:21 Uhr (Europe/Zurich) schrieb Peter
 Münster:
  Ok, I'm going to try it, perhaps it'll be my first ConTeXt module ;)

 It shouldn't be a module, but an environment.

All right. Here is my first try, where you can see, that I've still a
problem to be solved, so I would be lucky about any help:

% this environment works a little bit like \usepackage[DIVcalc]{typearea}
% in LaTeX as explained in detail in scrguien.pdf (KOMA-Script documentation)
\startenvironment e-test
\def\BCOR{3mm}% eventual binding correction
\setbox\scratchbox\hbox{\dorecurse{26}{\character\recurselevel}}
\newdimen\PageWidth
\PageWidth=\paperwidth
\doifmode{BCOR}{\PageWidth=\dimexpr(\PageWidth-\BCOR)}

%% Here is the problem: dividing one length by another. %%
% the following is not working for 2 reasons:
% * there is still the pt behind the numbers
% * one cannot divide by a real number, only integer
%\edef\Ratio{\the\numexpr(\the\paperheight / \the\PageWidth)}
\edef\Ratio{1.5}% to make the rest work...
\newdimen\Width
\newdimen\Height
\newdimen\Back
\Width=\dimexpr(2.5\wd\scratchbox)
\Height=\dimexpr(\Ratio\Width)
\headerheight=2.75\baselineskip
\edef\Top{\the\dimexpr((\paperheight - \Height) / 3 - \headerheight)}
\doifmodeelse{oneside}{%
  \Back=\dimexpr((\PageWidth - \Width) / 2)
}{%
  \Back=\dimexpr((\PageWidth - \Width) / 3)
  \setuppagenumbering[alternative=doublesided]}
\doifmode{BCOR}{\Back=\dimexpr(\Back + \BCOR)}
\Height=\dimexpr(\Height + \headerheight + \footerheight)
\setuplayout[header=\the\headerheight,height=\the\Height,
  width=\the\Width,topspace=\Top,backspace=\the\Back]
\stopenvironment

Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

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


[NTG-context] bold small caps

2004-01-09 Thread Peter Mnster
Hello,
I just tried the Latin Modern font, but there are no bold small caps
available, as in the EC fonts. Is it possible to add EC support to ConTeXt?
TIA for any hint, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

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


Re: [NTG-context] hyphenation: latin modern fonts

2004-01-08 Thread Peter Mnster
On Wed, 7 Jan 2004, Helmut Schwertner wrote:

 Peter Münster schrieb:

 Here again the example, where you can see the problem.

 Here's no problem - I get hyphenation.

  Ok, then there must be a problem with my installation. I only get evolution
  hyphenated, but not évolution... :(

 take the  latin modern fonts. This example works with winxp and miktex:

Thanks for this hint. But as I read in newsgroup d.c.t.t aren't there still
bugs with the kerning etc?

Strange: I don't have Latin Modern installed, but your example file
compiled here with texexec without any error nor warning message...

Under LaTeX I used the EC fonts. Will it be difficult to get them work with
ConTeXt?

So, there is no problem with my installation?

Thanks for your help, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

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


Re: [NTG-context] hyphenation

2004-01-07 Thread Peter Mnster
On Tue, 6 Jan 2004, Henning Hraban Ramm wrote:

  Here again the example, where you can see the problem.

 Here's no problem - I get hyphenation.

Ok, then there must be a problem with my installation. I only get evolution
hyphenated, but not évolution... :(
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

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


Re: [NTG-context] Re: extended ascii characters

2004-01-06 Thread Peter Mnster
On Sun, 4 Jan 2004, Adam Lindsay wrote:

 Peter Münster said this at Sun, 4 Jan 2004 19:09:38 +0100:

 * What should I do to use the latin9 encoding?
 I copied regi-il1.tex with the appropriate changes to regi-il9.tex but it
 does not work. Anyway: when I get a working il9-file in my private ConTeXt
 directory, how should I name it?

 Peter, off the top of my head, I think you would do:
 \input regi-il9 % read the file in
 \useregime [il9]% make sure the regime is loaded
 \enableregime [il9] % activate it.

Thanks, my mistake was not to use the \useregime command.

 I'm pretty clueless about hyphenation, though.

Oh, too bad... :(
I'll ask this question perhaps another day, if I don't get it.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

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


Re: [NTG-context] typearea

2004-01-06 Thread Peter Mnster
On Sun, 4 Jan 2004, Hans Hagen wrote:

 I'm just switching from LaTeX to ConTeXt. Is there already a module with
 similar functionalities as the typearea¹ package that comes with LaTeX?
 
 ¹ typearea comes with KOMA-Script and permits to automatically calculate
 the right margins with respect to some typographic rules.

 it's not to hard to implement (predefine) a few layout like that, if
 someone figures out the dimensions and rules ...

Ok, I'm going to try it, perhaps it'll be my first ConTeXt module ;)
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

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


Re: [NTG-context] hyphenation (was: Re: extended ascii characters)

2004-01-06 Thread Peter Mnster
On Tue, 6 Jan 2004, Henning Hraban Ramm wrote:

 For correct hyphenation and some other details you need to declare your
 language:
 \mainlanguage[fr] or \language[fr]

The original posted example began with \fr, which should be the same as
\language[fr].

Here again the example, where you can see the problem.

\fr
\useencoding[ec]
\enableregime[il1]
\starttext
évolution évolution évolution évolution évolution évolution évolution
évolution évolution

evolution evolution evolution evolution evolution evolution evolution
evolution evolution
\stoptext

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

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


[NTG-context] VTeX

2004-01-04 Thread Peter Mnster
Hello,
is it possible to get work ConTeXt and VTeX together?  It's interesting
because of free EC fonts in type 1 format in the VTeX-Linux distribution.
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

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


[NTG-context] typearea

2004-01-04 Thread Peter Mnster
Hello,
I'm just switching from LaTeX to ConTeXt. Is there already a module with
similar functionalities as the typearea¹ package that comes with LaTeX?

¹ typearea comes with KOMA-Script and permits to automatically calculate
the right margins with respect to some typographic rules.

Cheers, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

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


Re: [NTG-context] Re: extended ascii characters

2004-01-04 Thread Peter Mnster
On Sat, 3 Jan 2004, Adam Lindsay wrote:

 like this, you might find it easier to use this at the beginning of your
 document:
 \enableregime[il1]  %...or...
 \enableregime[windows] % as appropriate.

Hello,
since I didn't find any documentation about this command, here 2 questions:

* What should I do to use the latin9 encoding?
I copied regi-il1.tex with the appropriate changes to regi-il9.tex but it
does not work. Anyway: when I get a working il9-file in my private ConTeXt
directory, how should I name it?

* How do you get hyphenation with accented characters?
In LaTeX I used to switch to the EC fonts by issuing \usepackage[T1]{fontenc}
I tried the following, but it didn't work:
\fr
\useencoding[ec]
\enableregime[il1]
\starttext
évolution évolution évolution évolution évolution évolution évolution
évolution évolution

evolution evolution evolution evolution evolution evolution evolution
evolution evolution
\stoptext

Thanks in advance for any help!

Happy new year, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

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


Re: [NTG-context] Re: Context-mode for Emacs 21.3

2003-12-08 Thread Peter Mnster
On Mon, 8 Dec 2003, Patrick Gundlach wrote:

 Oh, don't mix up Berend's mode and AUCTeX. The have nothing in
 common, except that they are written in elisp and handle TeX input
 files.

Hello,
is there already some comparison between these 2 modes somewhere
(advantages/disadvantages)?
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

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


Re: [NTG-context] m-bib and crossref

2003-12-05 Thread Peter Mnster
On Thu, 4 Dec 2003, Taco Hoekwater wrote:

 On Mon, 1 Dec 2003 12:00:08 -0700 (MST), William wrote:
 
  I suppose that's a valid sentiment, although it saves many, many
  keystrokes when your bib file is full of proceedings and journal articles.
  Plus it looks fairly silly to reference the proceedings when you reference
  only one or two of the articles in it (the same goes for books, journals,
  etc.).  Oh well... until I'm willing to write my own package I suppose I
  have to play along or go back to LaTeX.

 If there are more people that agree with you I might change my mind ...

Hello,
me too, I agree. I'm just beginning to learn ConTeXt, but soon I'll have
some application of your bib-module.
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/

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


Re: Re: [NTG-context] installing context with tetex

2003-11-28 Thread Peter Mnster
On Fri, 28 Nov 2003 [EMAIL PROTECTED] wrote:

 i run a vaniall SuSE 9.0 and have installed: tetex-2.0.2-48
 There is no 'texexec':(

Hello Walter,
tetex is perhaps not enough. Did you install te_cont, te_etex and te_pdf?
Especially te_cont!
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

Film Search site: http://f-s.sf.net/


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