[NTG-context] Simple Bibliography

2010-10-02 Thread Elias Oltmanns
Hi there,

in the attempt to stich together a simple bibliography, I don's seem to
get as far as I'd have liked. The layout of the bibliography should look
something like this:

+--+
| authora:   title of book |
| authorb, F.:   opus magnum with a rather |
|   title and ref. details |
| authord, authore: another important book |
+--+

To achieve this, I'm thinking of something along these lines:

\definedescription[bibitem][
  location=left,align=flushright,sample={ longest author},width=broad,
  command=\BibCommand]
\def\BibCommand#1{#1:}
\starttext
\chapter{Bibliography}
\bibitem{authora} title of book

\bibitem{authorb, F.} opus magnum with a rather title and ref. details

\bibitem{authord, authore} another important book
\stoptext

Alas, it doesn't work out as expected. Can someone give a few hints
towards a working example? It should compile under MkII too.

Thanks for your help,

Elias
___
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] Interline spacing in lists

2010-10-01 Thread Elias Oltmanns
Hi there,

how can I change the interline space when placing the list of figures?
before=\blank is not what I'm looking for since that won't help when a
caption contains an explicit \crlf.

Thanks in advance for your help,

Elias
___
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] Interline spacing in lists

2010-10-01 Thread Elias Oltmanns
Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
 Am 01.10.2010 um 18:36 schrieb Elias Oltmanns:

 Hi there,
 
 how can I change the interline space when placing the list of figures?
 before=\blank is not what I'm looking for since that won't help when a
 caption contains an explicit \crlf.
 
 Thanks in advance for your help,

 \start\setupinterlinespace[line=...]
 \placelistoffigures
 \stop

That's odd. Why didn't \setupinterlinespace[big] work then?

Anyway, thanks for your quick response.

Regards,

Elias
___
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] Question regarding strc-not.mkiv

2010-09-30 Thread Elias Oltmanns
Hi all,

trying to figure out how postponed notes are processed in MkIV, I'm
wondering when, or indeed, whether the tokens in \everyinsidenoteinsert
and friends are being inserted. The reason for my curiosity is that I'm
to understand why the setting of margindistance has no effect in the
following example:

\setupnote[footnote][location=text,margindistance=0cm]
\starttext
Some\footnote{Very short.} text.

\placenotes[footnote]
\stoptext

Regards,

Elias
___
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] insert pagebreak in toc (MkIV)

2010-09-28 Thread Elias Oltmanns
Steffen Wolfrum cont...@st.estfiles.de wrote:
 Hi,

 somewhere I saw the code how to insert a pagebreak in the table of content.
 I remember it somehow was related to the new structure model (one could 
 specify after which sections the table should break).

\completecontent[pageboundaries={20.3,30}]

Regards,

Elias
___
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] insert pagebreak in toc (MkIV)

2010-09-28 Thread Elias Oltmanns
Steffen Wolfrum cont...@st.estfiles.de wrote:
 Am 28.09.2010 um 10:49 schrieb Steffen Wolfrum:

 
 Am 28.09.2010 um 10:37 schrieb Elias Oltmanns:
 
 Steffen Wolfrum cont...@st.estfiles.de wrote:
 Hi,
 
 somewhere I saw the code how to insert a pagebreak in the table of content.
 I remember it somehow was related to the new structure model (one could 
 specify after which sections the table should break).
 
 \completecontent[pageboundaries={20.3,30}]


 In current context it doesn't show any effect.

It does here (updated minimals today) and in MkIV too. Do you have an
example that doesn't work?

Regards,

Elias
___
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] Justifying last line of paragraph

2010-09-26 Thread Elias Oltmanns
Taco Hoekwater t...@elvenkind.com wrote:
 On 09/25/2010 08:03 PM, Elias Oltmanns wrote:


 The first couple of lines of the paragraph beginning on page two should
 really go on the previous page. Since the hang mechanism of \placefigure
 doesn't work due to the page break, I'd like to split this paragraph
 into two logical entities, so TeX can put the first on the first page
 and treat the second as a separate paragraph flowing around the picture.
 However, the reader should not be aware of this split.

 Any help much appreciated,

 I don't know of any automatic solution to this problem (except _perhaps_
 columnsets could help) but the simplest way to split a paragraph into
 two paragraphs while still looking like one is by inserting a macro
 like this at an existing break point:

Thanks Taco, this appears to be exactly what I was looking for. One more
thing though: is there a simple way to arrange for all arguments
provided to \splitpar to be passed on to \placefigure in a definition
like this:


 \def\splitpar
  {\bgroup
   \parfillskip\zeropoint
   \par
\aftergroup \placefigure% arguments to \splitpar should be passed on
   \aftergroup \parskip
   \aftergroup \zeropoint
   \aftergroup \noindentation
   \egroup }

Thanks for your help,

Elias
___
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] Justifying last line of paragraph

2010-09-25 Thread Elias Oltmanns
Hi there,

what I'm trying to achieve is splitting a paragraph into two -- from
TeX's point of view -- that still look like one single paragraph. To
this end, I have to make sure that the last line of the first paragraph
is justified just like all the surrounding lines, so, in the pdf output
one couldn't tell that this is actually the end of a paragraph. so, How
can I force the last line to be justified as well?

In order to see the reason for my question, consider the following
example:

\setupwhitespace[big]
\setupalign[line]
\starttext
\dorecurse{3}{\input knuth\par}
\placefigure[right][fig:test1]{Basically just a bit of empty space.}
{\framed[width=0.5\textwidth,height=0.4\textheight,offset=none]{Test}}
{\input tufte\par}
\stoptext

The first couple of lines of the paragraph beginning on page two should
really go on the previous page. Since the hang mechanism of \placefigure
doesn't work due to the page break, I'd like to split this paragraph
into two logical entities, so TeX can put the first on the first page
and treat the second as a separate paragraph flowing around the picture.
However, the reader should not be aware of this split.

Any help much appreciated,

Elias
___
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] Wikifying: footnotes in margin - two questions

2010-09-23 Thread Elias Oltmanns
Hi all,

when Hans introduced the criterium option to \setupnote in recent betas
of MkIV, he asked me to wikify the problem of typesetting footnotes in
the margin in order to demonstrate the usage of that option. There are,
however, two questions I'd like to settle first. For one thing, the new
algorithm is still error prone as I can provide examples where it fails.
What is the preferred way to point out such a problem (in the wiki or
whereever), so it will be delt with eventually? Secondly, can someone
please explain to me why the example below produces so strikingly
different results when processed with MkII or MkIV? In particular, I'd
like to know why the footnote numbers are placed differently and, unless
this is due to a bug, how to mimic the MkII behaviour in MkIV.

Thanks in advance,

Elias


\setuplayout[backspace=6cm,width=middle,rightmarginwidth=4cm,
  rightmargindistance=5mm]

\doifelse{MKIV}{\contextmark}{
  \setupnote[footnote][location=text,criterium=page,
before=,rule=off]}{
  \setupnote[footnote][factor=0,before=,rule=off,
width=\rightmarginwidth]}

\setuptexttexts[margin][][
  \vbox to \textheight {\vfill\placenotes[footnote]}]

\starttext

\showframe

\dorecurse{12}{A little more test\footnote{Note the alignment of
consecutive lines.} text in order to achieve a certain filling of
  the page. }

\stoptext 
___
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] Adding supplemental information to entry in list of figures

2010-08-20 Thread Elias Oltmanns
Hi all,

\nolist{}, I understand, is used in headings and presumably in captions
as well to exclude parts of the heading / caption from the automatically
generated list of contents or floats. Now, my question is what the
canonical way would be to add information to an entry in a list of
figures that doesn't appear in the caption to that figure; indeed, it
might be desirable sometimes to specify the entry in the list of figures
independently of the caption, very much like the LaTeX command
\caption[entry text]{caption text} does.

Thanks for your help,

Elias
___
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] Trouble with customising section heads

2010-08-17 Thread Elias Oltmanns
For the record:

Elias Oltmanns e...@nebensachen.de wrote:
 In the attempt to customise my section headings by means of
 \setuphead[section][...command=]
 I followed the instructions at
 http://wiki.contextgarden.net/Figures_in_Headings#Figures_in_Headings
 .
[...]
 As it turns out, neither MkII nor MkIV processes the attached example
 as expected:
 MkII The table of contents is incomplete, even though the wiki says
  it shouldn't be;

The solution seems to be to use deeptextcommand instead of textcommand.

 MkIV \currentheadnumber seems to be 0 all the time.

Apart from Wolfgang's solution, I have now realised that MkIV allows to
use command instead of textcommand / numbercommand and still produces a
complete table of contents. Accordingly, the setups look like this:
\setuphead[section][command=\Myhead]
\def\Myhead#1#2{%
Sect #1}

Regards,

Elias
___
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] Trouble with customising section heads

2010-08-17 Thread Elias Oltmanns
Elias Oltmanns e...@nebensachen.de wrote:
 For the record:

 Elias Oltmanns e...@nebensachen.de wrote:
 In the attempt to customise my section headings by means of
 \setuphead[section][...command=]
 I followed the instructions at
 http://wiki.contextgarden.net/Figures_in_Headings#Figures_in_Headings
 .
 [...]
 As it turns out, neither MkII nor MkIV processes the attached example
 as expected:
 MkII The table of contents is incomplete, even though the wiki says
  it shouldn't be;

 The solution seems to be to use deeptextcommand instead of textcommand.

 MkIV \currentheadnumber seems to be 0 all the time.

 Apart from Wolfgang's solution, I have now realised that MkIV allows to
 use command instead of textcommand / numbercommand and still produces a
 complete table of contents. Accordingly, the setups look like this:
 \setuphead[section][command=\Myhead]
 \def\Myhead#1#2{%
 Sect #1}

Well, actually, when I really need just a number as in
\def\Myhead#1#2{\externalfigure[chapter-\currentheadnumber]}
I'm still in trouble as far as MkIV is concerned. Can I somehow extract
that number from the argument? Or can MkIV be changed to provide
\currentheadnumber as does MkII? Personally, I'm content with using MkII
right now. So, I'm asking out of curiosity here and for the purpose of
updating the wiki page referenced above.

Regards,

Elias
___
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] Trouble with customising section heads

2010-08-15 Thread Elias Oltmanns
Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
  Am 10.08.10 17:02, schrieb Elias Oltmanns:
 In the attempt to customise my section headings by means of
 \setuphead[section][...command=]

 I followed the instructions at
 http://wiki.contextgarden.net/Figures_in_Headings#Figures_in_Headings
 . For the purposes of testing, I've installed a current minimals
 distribution. As it turns out, neither MkII nor MkIV processes the
 attached example as expected:
 MkII The table of contents is incomplete, even though the wiki says it
   shouldn't be;
 MkIV \currentheadnumber seems to be 0 all the time.
[...]

 %%
 \setuphead[section][textcommand=\Myhead,numbercommand=\Mynum]

 \setuphead[section][textcommand=\gobbleoneargument,numbercommand=\groupedcommand{Sect
 }{}]

Since I need customised headings like above in the same document that
also features footnotes in the margin, I'm wedged now. As explained in
http://archive.contextgarden.net/message/20100812.153552.6606809c.en.html
, I'm forced to use MkII to get footnote ordering right. On the other
hand, only MkIV produces a complete table of contents when I customise
the headings in that document.

Is there any chance to get one of those bugs fixed or to find a suitable
workaround in either of the two versions of ConTeXt?

Thank you ever so much for any help,

Elias
___
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] Footnote texts mistakenly appearing on page prior to call up

2010-08-12 Thread Elias Oltmanns
Hi there,

the document attached below produces rather unexpected results. Even
though footnote number 6 is called for on page 3, the associated
footnote text appears on the previous page. Using location=page in the
footnote setup restores the expected behaviour, but in this case the
footnote text does not wrap at the end of the margin but is cut off
instead. This cannot even be prevented by setting
width=\rightmarginwidth in the footnote setup.

Any ideas? (This is with MkIV)

Elias


\setuplayout[backspace=5cm,width=middle,rightmarginwidth=3cm,rightmargindistance=1mm]
\setupalign[line]
\setupnote[footnote][location=text,rule=off,align=right]
\setupnotedefinition[footnote][location=left]
\setuptexttexts[margin][][
  {\framed[frame=off,offset=none,align=low,height=\textheight,width=broad]
{\placenotes[footnote]}}]
\starttext
\dorecurse{10}{%
  \section{Section}
  As Knuth himself wrote\footnote{See knuth.tex (part of
every \CONTEXT--distribution)}: \input knuth\par}
\stoptext
___
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] Placing footnotes in right margin en bloc at bottom of page

2010-08-10 Thread Elias Oltmanns
Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
 Am 09.08.10 23:14, schrieb Hans Hagen:
 On 9-8-2010 8:55, Wolfgang Schuster wrote:

 Am 09.08.10 12:28, schrieb Elias Oltmanns:

 I've only just realised that TeX seems to reserve space for the
 footnotes at the bottom of the main text area. Check the following
 example:

 \setupnote[footnote][width=\rightmarginwidth]

 \setupnote[footnote][width=\rightmarginwidth,factor=0]

 or location=none


 Elias use MkII and with 'location=none' nothing is shown.

That's right. Thanks for the fix, it seems to work just fine. I'm
beginning to wonder though, whether I should switch to MkIV after all.

Regards,

Elias
___
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] Trouble with customising section heads

2010-08-10 Thread Elias Oltmanns
Hi again,

sorry for bothering you so persistently, but I really did try to hard to
find a solution -- and failed:
In the attempt to customise my section headings by means of
\setuphead[section][...command=]

I followed the instructions at
http://wiki.contextgarden.net/Figures_in_Headings#Figures_in_Headings
. For the purposes of testing, I've installed a current minimals
distribution. As it turns out, neither MkII nor MkIV processes the
attached example as expected:
MkII The table of contents is incomplete, even though the wiki says it
 shouldn't be;
MkIV \currentheadnumber seems to be 0 all the time.

There is a possibility, of course, that something is wrong with my setup
of ConTeXt. But I just did another
% ./first-setup.sh --context=current

Thanks in advance for any hint,

Elias


%%
\setuphead[section][textcommand=\Myhead,numbercommand=\Mynum]
\def\Myhead#1{%
Sect \currentheadnumber}
\def\Mynum#1{}
\starttext
\completecontent
\chapter{First chapter}
\section{First section}
Some text.

\chapter{Second chapter}
Introductory text.

\section{First section}
More text.

\section{Second section}
The end.
\stoptext
___
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] Trouble with customising section heads

2010-08-10 Thread Elias Oltmanns
Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
  Am 10.08.10 17:02, schrieb Elias Oltmanns:
 Hi again,


 sorry for bothering you so persistently, but I really did try to hard to
 find a solution -- and failed:
 In the attempt to customise my section headings by means of
 \setuphead[section][...command=]

 I followed the instructions at
 http://wiki.contextgarden.net/Figures_in_Headings#Figures_in_Headings
 . For the purposes of testing, I've installed a current minimals
 distribution. As it turns out, neither MkII nor MkIV processes the
 attached example as expected:
 MkII The table of contents is incomplete, even though the wiki says it
   shouldn't be;
 MkIV \currentheadnumber seems to be 0 all the time.

 There is a possibility, of course, that something is wrong with my setup
 of ConTeXt. But I just did another
 % ./first-setup.sh --context=current

 Thanks in advance for any hint,

 Elias


 %%
 \setuphead[section][textcommand=\Myhead,numbercommand=\Mynum]

 \setuphead[section][textcommand=\gobbleoneargument,numbercommand=\groupedcommand{Sect
 }{}]

I see. Well, this seems to fix the issue with MkIV at least.

Thanks,

Elias
___
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] How to use local setups in selected components of a project only

2010-08-09 Thread Elias Oltmanns
Hi all,

it has been suggested on this list before, that people should use modes
instead of \localenvironment and friends. Unfortunately, I don't seem to
get either of them working as expected. Consider the following example:

% project.tex
\startproject project
\environment environ
\component compa
\component compb
\stopproject


% environ.tex
\startenvironment environ
% global setups
% ...
\startmode[compa]
\setuphead[section][number=no]
\stopmode
\stopenvironment


% localenv.tex
\startlocalenvironment [compa]
\setuphead[section][number=no]
\stoplocalenvironment


% compa.tex
\startcomponent compa
%\enablemode[compa]
\project project
\localenvironment localenv

\section{First section}
Some text

%\disablemode[compa]
\stopcomponent


% compb.tex
\startcomponent compb
\project project

\section{Second section}
More text
\stopcomponent


Compiling project.tex results in both sections being unnumbered.
Compiling just compb.tex yields the expected result. Apparently, the
setups of localenv stay in effect for all components processed
subsequently.

Commenting out \localenvironment and uncommenting \enablemode /
\disablemode in compa.tex, however, does not solve the problem either:
When I compile just compa.tex, everything works as expected. Compiling
preject.tex, however, results in all sections being numbered. Obviously,
the call to \enablemode comes too late.

What is the recommended approach to such a problem? Do I have to undo
local setups manually at the end of a component?

Thanks in advance for any advice,

Elias
___
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] Placing footnotes in right margin en bloc at bottom of page

2010-08-09 Thread Elias Oltmanns
Sorry for bringing this up again but ...

Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
  Am 29.07.10 15:33, schrieb Elias Oltmanns:
 Wolfgang Schusterschuster.wolfg...@googlemail.com  wrote:

 [...]
 This is easy:

 \setupnote[footnote][location=text]

 \setuptexttexts[margin][][{\framed[frame=off,offset=none,align=low,height=\textheight,width=broad]{\placenotes[footnote]}}]

 %\showframe

 \starttext
 text\footnote{one} text\footnote{two} text\footnote{\input tufte\par} text
 \stoptext
 Thanks for the snippet. Unfortunately, the footnotes don't seem to make
 it onto the page though. Would this be due to using ConTeXt MKII by any
 chance?

 You need a different setup for the footnote in Mark 2:

 \setupnote[footnote][width=\rightmarginwidth]

I've only just realised that TeX seems to reserve space for the
footnotes at the bottom of the main text area. Check the following
example:

\setupnote[footnote][width=\rightmarginwidth]

\setuptexttexts[margin][][{\framed[frame=off,rule=off,offset=none,align=low,height=\textheight,width=broad]{\placenotes[footnote]}}]

\starttext
text\footnote{one} text\footnote{two} text\footnote{And here we have
  yet another footnote spanning more than one line.} %
{\dorecurse{4}{\input tufte\par}}
\stoptext

I've tried the same with \setupfootnotes and \placefootnotes to no
avail.

Any hint will be appreciated,

Elias
___
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] Placing footnotes in right margin en bloc at bottom of page

2010-08-01 Thread Elias Oltmanns
Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
  Am 29.07.10 15:33, schrieb Elias Oltmanns:
 Wolfgang Schusterschuster.wolfg...@googlemail.com  wrote:

 [...]
 This is easy:

 \setupnote[footnote][location=text]

 \setuptexttexts[margin][][{\framed[frame=off,offset=none,align=low,height=\textheight,width=broad]{\placenotes[footnote]}}]

 %\showframe

 \starttext
 text\footnote{one} text\footnote{two} text\footnote{\input tufte\par} text
 \stoptext
 Thanks for the snippet. Unfortunately, the footnotes don't seem to make
 it onto the page though. Would this be due to using ConTeXt MKII by any
 chance? If not, I'd rather not change my current texlive installation
 just now.

 You need a different setup for the footnote in Mark 2:

 \setupnote[footnote][width=\rightmarginwidth]

Well, it works and I'm impressed with the result. Thank you very much
for your help.

Regards,

Elias

___
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] Placing footnotes in right margin en bloc at bottom of page

2010-07-29 Thread Elias Oltmanns
Wolfgang Schuster schuster.wolfg...@googlemail.com wrote:
[...]
 This is easy:

 \setupnote[footnote][location=text]

 \setuptexttexts[margin][][{\framed[frame=off,offset=none,align=low,height=\textheight,width=broad]{\placenotes[footnote]}}]

 %\showframe

 \starttext
 text\footnote{one} text\footnote{two} text\footnote{\input tufte\par} text
 \stoptext

Thanks for the snippet. Unfortunately, the footnotes don't seem to make
it onto the page though. Would this be due to using ConTeXt MKII by any
chance? If not, I'd rather not change my current texlive installation
just now.

log-output is attached.

Thanks for your time,

Elias


This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=cont-en 
2010.7.29)  29 JUL 2010 15:05
entering extended mode
 %-line parsing enabled.
 (/opt/tl/2009/texmf/web2c/natural.tcx)
**con-footnote.tex \emergencyend
(./con-footnote.tex

ConTeXt  ver: 2009.08.19 17:10 MKII  fmt: 2010.7.29  int: english/english

system  : cont-new loaded
(/opt/tl/2009/texmf-dist/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/opt/tl/2009/texmf-dist/tex/context/base/cont-new.mkii))
system  : cont-fil loaded
(/opt/tl/2009/texmf-dist/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(/opt/tl/2009/texmf-dist/tex/context/user/cont-sys.rme
(/opt/tl/2009/texmf-dist/tex/context/base/type-tmf.tex
(/opt/tl/2009/texmf-dist/tex/context/base/type-tmf.mkii))
(/opt/tl/2009/texmf-dist/tex/context/base/type-siz.tex
(/opt/tl/2009/texmf-dist/tex/context/base/type-siz.mkii))
(/opt/tl/2009/texmf-dist/tex/context/base/type-one.tex
(/opt/tl/2009/texmf-dist/tex/context/base/type-one.mkii)))
system  : con-footnote.top loaded
(./con-footnote.top)
bodyfont: 12pt rm is loaded
language: patterns nl-texnansi:texnansi-1-2:2 nl-ec:ec-2-2:2 us-
ec:ec-3-2:3 de-texnansi:texnansi-4-3:3 de-ec:ec-5-3:3 da-ec:ec-6-2:2
 sv-ec:ec-7-2:2 gb-ec:ec-8-2:2 fr-texnansi:texnansi-9-2:2 fr-ec:ec-1
0-2:2 es-ec:ec-11-2:2 ca-ec:ec-12-2:2 it-texnansi:texnansi-13-2:2 it-
ec:ec-14-2:2 la-ec:ec-15-2:2 pt-texnansi:texnansi-16-2:2 pt-ec:ec-17
-2:2 ro-ec:ec-18-2:2 pl-pl0:pl0-19-2:2 pl-ec:ec-20-2:2 pl-qx:qx-21-
2:2 cs-il2:il2-22-2:2 cs-ec:ec-23-2:2 sk-il2:il2-24-2:2 sk-ec:ec-25
-2:2 hr-ec:ec-26-2:2 sl-ec:ec-27-2:2 tr-ec:ec-28-2:2 agr-agr:agr-30
-2:2 fi-ec:ec-31-2:2 hu-ec:ec-32-2:2 ru-t2a:t2a-34-2:2 uk-t2a:t2a-3
5-3:3 loaded
specials: dvips loaded
\openout3 = `con-footnote.tui'.

\openout0 = `con-footnote-mpgraph.mp'.

\openout0 = `mpgraph.mp'.

systems : system commands are disabled
language: language en is active
specials: loading definition file tpd
(/opt/tl/2009/texmf-dist/tex/context/base/spec-tpd.mkii
specials: loading definition file fdf
(/opt/tl/2009/texmf-dist/tex/context/base/spec-fdf.mkii)) (./con-footnote.tuo)
(./con-footnote.tuo) (./con-footnote.tuo) (./con-footnote.tuo)
(./con-footnote.tuo) (./con-footnote.tuo) (./con-footnote.tuo)
(./con-footnote.tuo) (./con-footnote.tuo) (./con-footnote.tuo)
(./con-footnote.tuo) (./con-footnote.tuo)
systems : begin file con-footnote at line 7
references  : unknown reference [][fnt:t:1]
references  : unknown reference [][fnt:t:2]
references  : unknown reference [][fnt:t:3]
(/opt/tl/2009/texmf-dist/tex/context/sample/tufte.tex)
fonts   : resetting map file list
{/opt/tl/2009/texmf-dist/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{/opt/tl/2009/texmf-dist/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{/opt/tl/2009/texmf-dist/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-public-lm
{/opt/tl/2009/texmf-dist/fonts/map/pdftex/context/original-public-lm.map}
fonts   : using map file: lm-ec
{/opt/tl/2009/texmf-dist/fonts/map/dvips/lm/lm-ec.map}
fonts   : using map file: lm-math
{/opt/tl/2009/texmf-dist/fonts/map/dvips/lm/lm-math.map}
fonts   : using map file: lm-rm
{/opt/tl/2009/texmf-dist/fonts/map/dvips/lm/lm-rm.map}
fonts   : using map file: original-ams-euler
{/opt/tl/2009/texmf-dist/fonts/map/pdftex/context/original-ams-euler.map}
(/opt/tl/2009/texmf-dist/tex/context/base/sort-def.mkii)
(/opt/tl/2009/texmf-dist/tex/context/base/sort-lan.mkii) [1.1]
systems : end file con-footnote at line 9
system  : cont-err loaded
(/opt/tl/2009/texmf-dist/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) ) 
Here is how much of TeX's memory you used:
 1045 strings out of 457152
 16610 string characters out of 2541996
 4687853 words of memory out of 7118750
 40822 multiletter control sequences out of 15000+20
 140365 words of font info for 63 fonts, out of 300 for 9000
 396 hyphenation exceptions out of 8191
 48i,20n,59p,274b,757s stack positions out of 

Re: [NTG-context] Placing footnotes in right margin en bloc at bottom of page

2010-07-29 Thread Elias Oltmanns
Oliver Heins o...@sopos.org wrote:
 Hi Elias,

 erfreut habe ich gesehen, dass dir mit ConTeXt wohl geholfen werden
 kann.

 Elias Oltmanns e...@nebensachen.de writes:

 Thanks for the snippet. Unfortunately, the footnotes don't seem to make
 it onto the page though. Would this be due to using ConTeXt MKII by any
 chance? If not, I'd rather not change my current texlive installation
 just now.

 Ohne direkt auf das Problem eingehen zu können: Wenn du ConTeXt benutzt,
 installier am besten die Minimals.  Die Installation ist denkbar einfach
 und hier beschrieben:
 http://wiki.contextgarden.net/ConTeXt_Minimals#Simple_instructions_for_installing_on_Unix_like_system_.28Linux.2FMac_OSX.2FFreeBSD.2FSolaris.29

Vielen Dank für den Hinweis und die weiteren Tips. Allerdings habe ich
das Minimalbeispiel auch einmal im contextgarden online kompilieren
lassen, was das gleiche Problem mit sehr ähnlichen log-Meldungen
aufgeworfen hat. Es scheint also nicht unbedingt an meiner Installation
zu liegen. Vielleicht kann Wolfgang oder jemand anderes sagen, ob dem
Minimalbeispiel noch etwas hinzugefügt oder korrigiert werden muss,
damit das gewünschte Ergebnis erzielt wird.

Wenn ConTeXt sich schließlich als geeignete Lösung erweisen sollte, ist
es aber wahrscheinlich eine gute Idee, deine Idee mit paralleler Nutzung
von texlive und context minimal aufzugreifen.

Gruß,

Elias

___
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] Placing footnotes in right margin en bloc at bottom of page

2010-07-28 Thread Elias Oltmanns
Hi there,

not being a ConTeXt user myself, I have been advised on the tex-d-l list
of the German TUG that a certain problem could possibly be solved more
easily in ConTeXt than in LaTeX. So, here is what I'm trying to achieve:
The numerous but short footnotes of a document shall be placed in the
right margin rather than below the main text area. Additionally, though,
the footnotes should not be placed near the call up (similar to what
\marginpar does), but type set en bloc at the bottom of the page. In
other words, the main text area should have fixed margins all round
across all pages and the footnotes should be printed in a small
rectangular block beside the main text area such that the height of this
block varies according to the number of footnotes on the page, but the
block is always flushed to the bottom of the page. You'll find an ascii
art illustration below.

Is such a layout feasible in ConTeXt without too much hassle at all?

Regards,

Elias




=| =
=| =
=| =
=  M A I N   | =
=| =
=  T E X T   | =
=| =
=  A R E A   | =
=| =
=| =
=| =
=| =
=| =
=| =
=| =
=| =
=| =
=| =
=| =
=| =
=| =
=| =
=| =
=| =
=| =
=| =
=| =
=| =
=| =
=|-=
=|foot-=
=|notes=


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