ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* footnotes in natural tables
@ 2006-04-20 22:00 Johan Sandblom
  2006-04-21 13:55 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Johan Sandblom @ 2006-04-20 22:00 UTC (permalink / raw)


With the following file the footnotes are typeset on top of each
other. What am I doing wrong?

Johan

\starttext
\startlocalfootnotes[n=0, location={text, none}]
\bTABLE
\bTR \bTD Sinuit \eTD
     \bTD penicillin V \eTD
     \bTD amoxicillin, pivampicillin, cefalosporin\footnote[cef]{Ej
       cefadroxil eller cefalexin pga H infl}, doxycyklin,
     trim-sulfa \eTD \eTR
\bTR \bTD Otit \eTD
     \bTD penicillin V \eTD
     \bTD amoxicillin, pivampicillin, makrolid\footnote{Endast vid
       allergi}, cefalosporin\note[cef], trim-sulfa \eTD \eTR
\eTABLE\stoplocalfootnotes%}
\placelocalfootnotes
\stoptext

--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: footnotes in natural tables
  2006-04-20 22:00 footnotes in natural tables Johan Sandblom
@ 2006-04-21 13:55 ` Hans Hagen
  2006-04-21 14:14   ` Johan Sandblom
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2006-04-21 13:55 UTC (permalink / raw)


Johan Sandblom wrote:
> With the following file the footnotes are typeset on top of each
> other. What am I doing wrong?
>
> Johan
>
> \starttext
> \startlocalfootnotes[n=0, location={text, none}]
> \bTABLE
> \bTR \bTD Sinuit \eTD
>      \bTD penicillin V \eTD
>      \bTD amoxicillin, pivampicillin, cefalosporin\footnote[cef]{Ej
>        cefadroxil eller cefalexin pga H infl}, doxycyklin,
>      trim-sulfa \eTD \eTR
> \bTR \bTD Otit \eTD
>      \bTD penicillin V \eTD
>      \bTD amoxicillin, pivampicillin, makrolid\footnote{Endast vid
>        allergi}, cefalosporin\note[cef], trim-sulfa \eTD \eTR
> \eTABLE\stoplocalfootnotes%}
> \placelocalfootnotes
> \stoptext
>   
\def\doplacelocalnotes[#1][#2]%
  {\bgroup
   \processnotes
     {\dolocalsetupnotes{#1}{#2}%
      \expanded{\doifinsetelse{\v!none}{\noteparameter\c!location}}
        \placenotesasnone\placenotesintext\localpostponednotes}%
   \egroup
   \checknotes}

still not what it should do but already better 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: footnotes in natural tables
  2006-04-21 13:55 ` Hans Hagen
@ 2006-04-21 14:14   ` Johan Sandblom
  2006-04-21 15:14     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Johan Sandblom @ 2006-04-21 14:14 UTC (permalink / raw)


I tried putting this in the testfile itself but got a complaint about
a missing \endcsname. So following some previous advice I put this in
texmf-local/tex/context/base/cont-loc.tex and rebuilt the format.
Processing the testfile did not generate an error but also no
improvement. How should I use this code?

Johan

2006/4/21, Hans Hagen <pragma@wxs.nl>:
> Johan Sandblom wrote:
> > With the following file the footnotes are typeset on top of each
> > other. What am I doing wrong?
> >
> > Johan
> >
> > \starttext
> > \startlocalfootnotes[n=0, location={text, none}]
> > \bTABLE
> > \bTR \bTD Sinuit \eTD
> >      \bTD penicillin V \eTD
> >      \bTD amoxicillin, pivampicillin, cefalosporin\footnote[cef]{Ej
> >        cefadroxil eller cefalexin pga H infl}, doxycyklin,
> >      trim-sulfa \eTD \eTR
> > \bTR \bTD Otit \eTD
> >      \bTD penicillin V \eTD
> >      \bTD amoxicillin, pivampicillin, makrolid\footnote{Endast vid
> >        allergi}, cefalosporin\note[cef], trim-sulfa \eTD \eTR
> > \eTABLE\stoplocalfootnotes%}
> > \placelocalfootnotes
> > \stoptext
> >
> \def\doplacelocalnotes[#1][#2]%
>   {\bgroup
>    \processnotes
>      {\dolocalsetupnotes{#1}{#2}%
>       \expanded{\doifinsetelse{\v!none}{\noteparameter\c!location}}
>         \placenotesasnone\placenotesintext\localpostponednotes}%
>    \egroup
>    \checknotes}
>
> still not what it should do but already better
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>


--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: footnotes in natural tables
  2006-04-21 14:14   ` Johan Sandblom
@ 2006-04-21 15:14     ` Hans Hagen
  2006-04-21 15:37       ` Johan Sandblom
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2006-04-21 15:14 UTC (permalink / raw)


Johan Sandblom wrote:
> I tried putting this in the testfile itself but got a complaint about
> a missing \endcsname. So following some previous advice I put this in
> texmf-local/tex/context/base/cont-loc.tex and rebuilt the format.
> Processing the testfile did not generate an error but also no
> improvement. How should I use this code?
>
>   
in cont-new.tex, after \unprotect 

(remove the cont-loc file) 

Hans 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: footnotes in natural tables
  2006-04-21 15:14     ` Hans Hagen
@ 2006-04-21 15:37       ` Johan Sandblom
  0 siblings, 0 replies; 5+ messages in thread
From: Johan Sandblom @ 2006-04-21 15:37 UTC (permalink / raw)


No, the result is still the same. I realize I am being obtuse, but in
what way, specifically? I placed the code after the ^L after the
writestatus thing, and rebuilt the format (although perhaps that is
not necessary for cont-new?), but the footnotes still come out on top
of each other.

Johan

2006/4/21, Hans Hagen <pragma@wxs.nl>:
> Johan Sandblom wrote:
> > I tried putting this in the testfile itself but got a complaint about
> > a missing \endcsname. So following some previous advice I put this in
> > texmf-local/tex/context/base/cont-loc.tex and rebuilt the format.
> > Processing the testfile did not generate an error but also no
> > improvement. How should I use this code?
> >
> >
> in cont-new.tex, after \unprotect
>
> (remove the cont-loc file)
>
> Hans
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>


--
Johan Sandblom  N8, MRC, Karolinska sjh
t +46851776108  17176 Stockholm
m +46735521477  Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-04-21 15:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-20 22:00 footnotes in natural tables Johan Sandblom
2006-04-21 13:55 ` Hans Hagen
2006-04-21 14:14   ` Johan Sandblom
2006-04-21 15:14     ` Hans Hagen
2006-04-21 15:37       ` Johan Sandblom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).