Re: [NTG-context] Re: flushbottom

2004-05-31 Thread Peter Münster
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


Re: [NTG-context] flushbottom

2004-05-31 Thread Henning Hraban Ramm
Am Montag, 31.05.04, um 14:29 Uhr (Europe/Zurich) schrieb Peter Münster:
How about \vfil \vfill \vfilll ?
What do you mean?
\setupwhitespace[\vfil] won't work.
I thought you'd need it only at some special place.
Grüßlis vom Hraban!
--
http://www.fiee.net/texnique/
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: pdfTeX questions

2004-05-31 Thread Patrick Gundlach
Peter Münster <[EMAIL PROTECTED]> writes:

>> \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 ?

a quick test shows that 
/Author (M¸nster) is put in the pdf file, where the Character after
the M is 0xfc. Dunno if this is right.


> It seems, that there is no key named "keywords" ?

Hans?

> 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.


> BTW, how do you create bookmarks with ConTeXt?
> I tried the following, but it did not work:
>
> \setupinteractionscreen[option=bookmark]

\placebookmarks[section]

Patrick
-- 
Es wird kein Wunder geschehen
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: flushbottom

2004-05-31 Thread Peter Münster
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: pdfTeX questions

2004-05-31 Thread Peter Münster
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: pdfTeX questions

2004-05-31 Thread Peter Münster
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: flushbottom

2004-05-31 Thread Henning Hraban Ramm
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 ?

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


[NTG-context] Re: pdfTeX questions

2004-05-31 Thread Patrick Gundlach
correction:

>> \pdfcatalog{ /PageMode /FullScreen } % this works well
>
> \setupinteraction[option=max]

\setupinteractionscreen[option=max] 

(...screen)


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


[NTG-context] Re: pdfTeX questions

2004-05-31 Thread Patrick Gundlach

Hello again,

> \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?). And \externalfigure eats up the
whitespace after "5cm]". This is sligthly confusing.

This is pdfeTeXk, Version 3.141592-1.11a-2.1 (Web2C 7.5.2)
ConTeXt  ver: 2004.4.9  fmt: 2004.4.16  int: english  mes: english

I'll attach a screenshot.



Bild2.pdf
Description: Adobe PDF document

Patrick
-- 
Es wird kein Wunder geschehen


[NTG-context] Re: pdfTeX questions

2004-05-31 Thread Patrick Gundlach
Hi,

why don't you use \setupinteraction for this?

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


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

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

\setupinteraction[option=max]

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

what does this do?

Patrick
-- 
Es wird kein Wunder geschehen
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Re: flushbottom

2004-05-31 Thread Patrick Gundlach
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.


Patrick

-- 
Es wird kein Wunder geschehen
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] pdfTeX questions

2004-05-31 Thread Peter Münster
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/<>

[NTG-context] flushbottom

2004-05-31 Thread Peter Münster
Hello,
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...

Here is my test-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}
\setuplayout[height=24cm]
\setupwhitespace[0pt plus 1pt] % value of parskip in LaTeX
\starttext
\dorecurse{20}{\section{Section}\Par\par\Par\par\Par\par\Par\par}
\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