Re: [NTG-context] \startquotation, grid and footnote

2011-01-16 Thread Oliver Heins
Wolfgang Schuster  writes:

>> \mainlanguage[de]
>> \setuplanguage[de][leftquotation=\rightguillemot,rightquotation=\leftguillemot]
>
> With MkIV you can just write
>
> \setuplanguage[de][leftquotation=»,rightquotation=«]
>
>> \setupquotation[
>> before={\startlinecorrection[blank]\noindentation},
>> after={\stoplinecorrection},
>> style=\tfx]
>
> \setupdelimitedtext
>   [blockquote]
>   [spacebefore=line,
>style=\tfx]
>
>> […]
>> 
>> \startquotation
>>  \getbuffer[quot]\footnote{foobar}
>> \stopquotation
>
> \startblockquote
> …
> \stopblockquote

Thank you Wolfgang,

it works.

Best regards,
 olli


-- 
Oliver Heins he...@sopos.org  http://www.sopos.org/olli
GPG: F27A BA8C 1CFB B905 65A8  2544 0F07 B675 9A00 D827
1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827
Please avoid sending me Word or PowerPoint attachments:
http://www.gnu.org/philosophy/no-word-attachments.html
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \startquotation, grid and footnote

2011-01-15 Thread Wolfgang Schuster

Am 15.01.2011 um 11:44 schrieb Oliver Heins:

> Hello,
> 
> I have to typeset paragraphed quotations in a smaller font (and maybe
> a smaller baselineskip, but this is not necessary) and with larger
> margins.  However, after the quotation, the main text has to be on the
> grid again.
> 
>Main Text Main Text
>Main Text (on grid)
>Main Text Main Text
>Main Text (on grid)
>Main Text Main Text
> 
>  quotation  text
>  (need not to be
>  on  grid, in  a
>  smaller   font) 
>  quotation text
> 
>Main Text Main Text
>Main Text (on grid)
>Main Text Main Text
>Main Text (on grid)
>Main Text Main Text
> 
> 
> I tried to use contexts quotation-mechanism, but it puts quotationmarks
> around the quotation, which is not only unnecessary (as the smaller font
> size marks the paragraph as a quotation already), but a problem, because
> footnotemarks appear right in front of the ending quotation mark
> (»quot¹« instead of »quot«¹, which would be right).
> 
> Footnotes seem to be a bigger problem.  When using the linecorrection
> mechanism (either with \start|\stoplinecorrection and with
> \placeongrid), the footnotetexts don't get typeset at all.  They seem to
> get lost within the linecorrection environment.
> 
> TIA for your help,
> olli
> 
> 
> \setuppapersize[A5][A4]
> \setuplayout[location=middle,
>  marking=on,
>  offset=0mm,
>  grid=yes,
> ]
> 
> \mainlanguage[de]
> \setuplanguage[de][leftquotation=\rightguillemot,rightquotation=\leftguillemot]

With MkIV you can just write

\setuplanguage[de][leftquotation=»,rightquotation=«]

> \setupquotation[
> before={\startlinecorrection[blank]\noindentation},
> after={\stoplinecorrection},
> style=\tfx]

\setupdelimitedtext
  [blockquote]
  [spacebefore=line,
   style=\tfx]

> […]
> 
> \startquotation
>  \getbuffer[quot]\footnote{foobar}
> \stopquotation

\startblockquote
…
\stopblockquote

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \startquotation, grid and footnote

2011-01-15 Thread Oliver Heins
I forgot to say that I use mkiv.

 olli
-- 
Oliver Heins he...@sopos.org  http://www.sopos.org/olli
GPG: F27A BA8C 1CFB B905 65A8  2544 0F07 B675 9A00 D827
1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827
Please avoid sending me Word or PowerPoint attachments:
http://www.gnu.org/philosophy/no-word-attachments.html
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] \startquotation, grid and footnote

2011-01-15 Thread Oliver Heins
Hello,

I have to typeset paragraphed quotations in a smaller font (and maybe
a smaller baselineskip, but this is not necessary) and with larger
margins.  However, after the quotation, the main text has to be on the
grid again.

Main Text Main Text
Main Text (on grid)
Main Text Main Text
Main Text (on grid)
Main Text Main Text

  quotation  text
  (need not to be
  on  grid, in  a
  smaller   font) 
  quotation text

Main Text Main Text
Main Text (on grid)
Main Text Main Text
Main Text (on grid)
Main Text Main Text


I tried to use contexts quotation-mechanism, but it puts quotationmarks
around the quotation, which is not only unnecessary (as the smaller font
size marks the paragraph as a quotation already), but a problem, because
footnotemarks appear right in front of the ending quotation mark
(»quot¹« instead of »quot«¹, which would be right).

Footnotes seem to be a bigger problem.  When using the linecorrection
mechanism (either with \start|\stoplinecorrection and with
\placeongrid), the footnotetexts don't get typeset at all.  They seem to
get lost within the linecorrection environment.

TIA for your help,
 olli


\setuppapersize[A5][A4]
\setuplayout[location=middle,
  marking=on,
  offset=0mm,
  grid=yes,
]

\mainlanguage[de]
\setuplanguage[de][leftquotation=\rightguillemot,rightquotation=\leftguillemot]

\setupquotation[
before={\startlinecorrection[blank]\noindentation},
after={\stoplinecorrection},
style=\tfx]

\def\begquote{%
  \placeongrid[low]\bgroup
\rightskip=10mm \leftskip=10mm \baselineskip=13pt
\blank[small]
\noindentation\small
}
\def\endquote{%
\blank[small]
  \egroup
}

\startbuffer[quot]
  Ein autobiografischer Spielfilm ohne Bekenntnis des Regisseurs und
  ohne dessen Verkörperung einer Figur wird nur als fiktionale
  Biografie verstanden. Ein autobiografischer Spielfilm ohne
  Bekenntnis des Regisseurs, aber mit dessen Verkörperung einer
  fiktionalen Figur wird zumindest selbstreflexiv gedeutet.
\stopbuffer

\showgrid

\starttext

\input tufte

\startquotation
  \getbuffer[quot]\footnote{foobar}
\stopquotation

\input tufte

\begquote
  \getbuffer[quot]\footnote{barbaz}
\endquote

\input tufte

\stoptext


-- 
Oliver Heins he...@sopos.org  http://www.sopos.org/olli
GPG: F27A BA8C 1CFB B905 65A8  2544 0F07 B675 9A00 D827
1024D/9A00D827 2004-09-24 -- gpg --recv-keys 0x9A00D827
Please avoid sending me Word or PowerPoint attachments:
http://www.gnu.org/philosophy/no-word-attachments.html
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___