Re: [NTG-context] footnotes in natural tables

2006-04-21 Thread Hans Hagen
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


Re: [NTG-context] footnotes in natural tables

2006-04-21 Thread Johan Sandblom
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 [EMAIL PROTECTED]:
 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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] footnotes in natural tables

2006-04-21 Thread Hans Hagen
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


Re: [NTG-context] footnotes in natural tables

2006-04-21 Thread Johan Sandblom
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 [EMAIL PROTECTED]:
 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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] footnotes in natural tables

2006-04-20 Thread Johan Sandblom
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
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context