Re: [NTG-context] Line spacing in footnotes

2007-03-13 Thread Oliver Buerschaper
 is there a way to influence the linespacing of the footnote block?
 I'd like to typeset it in 9pt/11pt while the main text is set to  
 12pt/
 14.5pt (using an OpenType font) ... Any help highly appreciated!

 If you just want a smaller font size

 \setupnotedefinition
[footnote]
[style=small]

 or if you also want to set interline space

 \setupnotedefinition
[footnote]
[before={\switchtobodyfont[9pt]\setupinterlinespace},
 after{\endgraf}]

 You can also pass parameters to \setupinterlinespace to get the
 precise spacing that you want.

Thanks for your quick reply, Aditya. I'm afraid this doesn't quite  
work as expected ... the line spacing isn't changed at all here :- 
( This is my setup:

\setupnote
[footnote]
[before=, % remove blank line before
%bodyfont=9pt,
 command=, % this disables the superscript
 n=0] % footnote block as a single paragraph
\setupnotedefinition
[footnote]
[location=serried,
 before={\switchtobodyfont[9pt]\setupinterlinespace[line=11pt]},
 after={\endgraf},
 distance=1ex,
 headstyle=\ss\bf]

Also I'm somewhat puzzled ... why put these before and after commands  
in \setupnotedefinition rather than \setupnote? As far as I can tell  
\setupnote already has a bodyfont option (but none for the line  
spacing) ... also I always thought that \setupnotedefinition refers  
to a description and controls the way a single footnote is typeset  
while \setupnote is supposed to influence the whole block ... On top  
of that does the \endgraf command conflict with the n=0 option in  
\setupnote?

Oliver

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Grid and footnotes [repost]

2007-03-13 Thread Oliver Buerschaper
Hi all,

I'd like to bring this issue up again because I didn't get any  
replies about two weeks ago (also I'm getting closer to handing  
things in to the printhouse) ... so comments, ideas, suggestions,  
solutions etc. very welcome ;-)



Consider the following:

---

\setuplayout
[lines=41,
 grid=no]

\starttext

%\showframe[text]
\showgrid

\dorecurse{2}{\input tufte\footnote{This is some text} \par}

\section{Test}

\dorecurse{2}{\input tufte\footnote{This is some text} \par}

\stoptext

---

As long as the grid is turned off, the footnote block perfectly
aligns with the bodytext frame. However, turn the grid on and the
footnote block suddenly jumps about a line downwards. What's going on
here?

Best wishes,
Oliver
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] How to put all floats in margin without any drawbacks?

2007-03-13 Thread Zhichu Chen

Hi everyone,

I just wrote a small test file:
===
\starttext

\dorecurse{10}{\placefigure[inright]{}{}}\dorecurse{10}{\input
knuth\endgraf}

\stoptext
===

You can see that the in-margin figures do push the main texts away. How can
I do with that?

If you get any suggestions, please let me know.

Thank you.

--
Sincerely yours,
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to put all floats in margin without any drawbacks?

2007-03-13 Thread Zhichu Chen

Oh, by the way, it's very complex in my situation. So I don't really want to
use the \usemodule[streams]

Thanks


On 3/13/07, Zhichu Chen [EMAIL PROTECTED] wrote:


Hi everyone,

I just wrote a small test file:
===
\starttext

\dorecurse{10}{\placefigure[inright]{}{}}\dorecurse{10}{\input
knuth\endgraf}

\stoptext
===

You can see that the in-margin figures do push the main texts away. How
can I do with that?

If you get any suggestions, please let me know.

Thank you.

--
Sincerely yours,
Chen


  Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
 tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
   | www.sinap.ac.cn






--
Sincerely yours,
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Page quadruple not working

2007-03-13 Thread Wolfgang Schuster

2007/3/13, Aditya Mahajan [EMAIL PROTECTED]:


Why does \page[quadruple] not work?

\setuppagenumbering [alternative=doublesided,location=footer]

\starttext

this is a test
\page[quadruple]



Hi Aditya,

\page[yes,quadruple]

Wolfgang

test


\stoptext


Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to align baselines?

2007-03-13 Thread Wolfgang Schuster

2007/3/13, Helin Gai [EMAIL PROTECTED]:


Hi all,

I have some difficulty lining up the baselines of two frames... Here's
what I did:

\hbox to\hsize{%
\setupframed[frame=off]%
\vtop{chapter \switchtobodyfont[20pt] 1}\quad%
\vtop{\framed[width=6cm,align=right]{Test}}

Any idea what's going wrong here?

Thanks a lot!

Helin

--
Helin (Colin) Gai



Hi Helin,

if you want to make your own chapter layout, use the command option
in the \setuphead setup.

To get a frame that is lined up with the current baseline use the \inframed
command instead of the normal \framed command.


\showgrid

\starttext

\line
 {\setupframed[frame=off]%
  \vtop{chapter \switchtobodyfont[20pt] 1}\quad%
  \llap{\inframed[width=6cm,align=right]{Test}}}

\stoptext

Wolfgang
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to put all floats in margin without any drawbacks?

2007-03-13 Thread Wolfgang Schuster

2007/3/13, Zhichu Chen [EMAIL PROTECTED]:


Hi everyone,

I just wrote a small test file:
===
\starttext

\dorecurse{10}{\placefigure[inright]{}{}}\dorecurse{10}{\input
knuth\endgraf}

\stoptext
===

You can see that the in-margin figures do push the main texts away. How
can I do with that?

If you get any suggestions, please let me know.

Thank you.

--
Sincerely yours,
Chen



Hi Chen,

the following code should work:


\setupfloat[figure][default=margin]

\starttext
\dorecurse{10}{\placefigure{}{}}\dorecurse{10}{\input knuth\endgraf}
\stoptext

Wolfgang
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to put all floats in margin without any drawbacks?

2007-03-13 Thread Zhichu Chen

Thank you very much Wolfgang

I didn't test this setup because I thought it has the same effect as the
inright option of \placefigure. I'm so sorry.


On 3/13/07, Wolfgang Schuster [EMAIL PROTECTED] wrote:




2007/3/13, Zhichu Chen [EMAIL PROTECTED]:

 Hi everyone,

 I just wrote a small test file:
 ===
 \starttext

 \dorecurse{10}{\placefigure[inright]{}{}}\dorecurse{10}{\input
 knuth\endgraf}

 \stoptext
 ===

 You can see that the in-margin figures do push the main texts away. How
 can I do with that?

 If you get any suggestions, please let me know.

 Thank you.

 --
 Sincerely yours,
 Chen


Hi Chen,

the following code should work:


\setupfloat[figure][default=margin]

\starttext
\dorecurse{10}{\placefigure{}{}}\dorecurse{10}{\input knuth\endgraf}
\stoptext

Wolfgang



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context





--
Sincerely yours,
Chen


 Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 | zhichu.chen.googlepages.com
  | www.sinap.ac.cn

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] How to align baselines?

2007-03-13 Thread Hans Hagen
Helin Gai wrote:
 Hi all,

 I have some difficulty lining up the baselines of two frames... Here's
 what I did:

 \hbox to\hsize{%
 \setupframed[frame=off]%
 \vtop{chapter \switchtobodyfont[20pt] 1}\quad%
 \vtop{\framed[width=6cm,align=right]{Test}}

 Any idea what's going wrong here?
   

you need to make sure that the second box has the same height

\hbox to\hsize{
\setupframed[frame=off]%
\switchtobodyfont[20pt]%
\vtop{chapter \switchtobodyfont[20pt] 1}\quad
\vtop{\inframed[width=6cm,align=right]{Test}}
}

or 

\hbox to\hsize{
\setupframed[frame=off]%
\setbox0=\vtop{chapter \switchtobodyfont[20pt] 1}
\setbox2=\vtop{\inframed[width=6cm,align=right]{Test}}
\ht2=\ht0
\box0\quad\box2
}

\inframed does the lowering 


-
  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] Page quadruple not working

2007-03-13 Thread Aditya Mahajan
On Tue, 13 Mar 2007, Wolfgang Schuster wrote:

 2007/3/13, Aditya Mahajan [EMAIL PROTECTED]:
 
 Why does \page[quadruple] not work?
 
 \setuppagenumbering [alternative=doublesided,location=footer]
 
 \starttext
 
 this is a test
 \page[quadruple]


 Hi Aditya,

 \page[yes,quadruple]

Thank you Wolfgang.

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] \lcd

2007-03-13 Thread Aditya Mahajan
On Mon, 12 Mar 2007, Aditya Mahajan wrote:

 On Sun, 11 Mar 2007, David Arnold wrote:

 All,

 In Context, how do I make a mathop for lcd? I want to typeset the
 following in math mode.

 \lcd(8,12)=24

 \definemathcommand  [lcd] [nolop] {\mfunction{lcd}}


See http://wiki.contextgarden.net/Math/functions

for an explanation of what is happening.

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Grid and footnotes [repost]

2007-03-13 Thread Hans Hagen
Oliver Buerschaper wrote:
 Hi all,

 I'd like to bring this issue up again because I didn't get any  
 replies about two weeks ago (also I'm getting closer to handing  
 things in to the printhouse) ... so comments, ideas, suggestions,  
 solutions etc. very welcome ;-)



 Consider the following:

 ---

 \setuplayout
   [lines=41,
grid=no]

 \starttext

 %\showframe[text]
 \showgrid

 \dorecurse{2}{\input tufte\footnote{This is some text} \par}

 \section{Test}

 \dorecurse{2}{\input tufte\footnote{This is some text} \par}

 \stoptext

 ---

 As long as the grid is turned off, the footnote block perfectly
 aligns with the bodytext frame. However, turn the grid on and the
 footnote block suddenly jumps about a line downwards. What's going on
 here?
   

in core-one: change the getnoflines call into

   \ifbottomnotes
 \ifgridsnapping
\ifcase\layoutlines % todo: make macro of this
\getrawnoflines\textheight
\else
\noflines\layoutlines
\fi
%\getnoflines\textheight

and remake the format 

usual rounding errors mess 

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] index questions - again

2007-03-13 Thread Hans Hagen
Thomas A. Schmitz wrote:
 On Mar 12, 2007, at 9:42 AM, Thomas A. Schmitz wrote:

   
 Hi,

 I'm sorry, this is the third time I'm asking this question, but I
 haven't been able to solve this, and the book is going to the
 publisher next month, so it's kind of urgent (I will sulk in Epen if
 this doesn't work :-)

 1. I need to define a special type of register that will typeset page
 ranges in bold. I have a subindex that does that for single entries:

 \setupregister[index][imp][pagestyle=bold]

 which I invoke like

 \index[imp::]{modernity}

 and it works. How can I have the same thing for ranges?
 

 OK, I tried a hack, and I just wanted to ask if there's anything  
 wrong with it: as dirty workaround, I added a fourth key to  
 dostartregister:


 \def\startregister
{\doquadrupleempty\dostartregister}

 \def\dostartregister[#1][#2][#3][#4]#5%
{\chardef\registerpagestatus\plustwo
 \def\currentregister{#1}%
 \setgvalue{\??id#1\??id#2}{\dodostopregister[#1][#3]{#5}}%
 \dodoregister[#3]{#4}{#5}}

 and after a quick test, this seems to do what I want. The endash  
 between numbers is not bold, but I could live with that. Any comments  
 from the developers?

   
looks harmless to me so we can patch that 

can you also provide the appropriate cont-en.xml entry 

-
  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] ec-lmr12 not loadable: Metric (TFM) file ... not found

2007-03-13 Thread Hans Hagen
Mojca Miklavec wrote:
 On 3/9/07, Akira Kakuto wrote:
   
 Hi Mojca,

 
 Well, OK, that's understandable. That's just an accidental mix-up with
 otf files in ConTeXt. Line 73 of font-ini.mkii should read
 \def\fontfilesome#1{#1}
 instead of
 \def\fontfilesome#1{[#1]}
   
 Please check my previous mail with care
  \def\fontfilesome#1{#1}
 should be
  \def\fontfilesome#1{#1}
 (note that there is no quotation).

 If you use \def\fontfilesome#1{#1}, XeTeX tries to find
 OpenType or TrueType font #1 by using fontconfig, and fails.
 

 I was blindly looking to the right point, but didn't notice the most
 obvious thing. I'm sorry for the noise and thanks for pointing this
 out again.

 Hans, can you please replace the following block of code in
 font-ini.mkii? (Please also include lm-ec.map into the ConTeXt zip if
 possible - you may throw it out again as soon as the typescripts for
 OpenType LM are ready.)


 \def\fontfilename#1{#1}
 \def\fontfilefile#1{#1}
 \def\fontfilesome#1{#1} % I don't know about the two above, but  doesn't work

 \beginXETEX

 \def\fontfilename#1{#1}
 \def\fontfilefile#1{[#1]}
 \def\fontfilesome#1{#1}

 \endXETEX

 Or perhaps:

 \def\fontfilename#1{#1}
 \def\fontfilefile#1{#1}
 \def\fontfilesome#1{#1}

 \beginXETEX
 \def\fontfilefile#1{[#1]}
 \endXETEX

   
sure, as long as you do the testing

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] A doubt while compiling modules

2007-03-13 Thread luigi scarso
On 3/7/07, luigi scarso [EMAIL PROTECTED] wrote:
  No errors or anything in the log?
ok, I  switched to texlive2007 and metapost 0.994 .
All good now.
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Grid and footnotes [repost]

2007-03-13 Thread Oliver Buerschaper
 As long as the grid is turned off, the footnote block perfectly
 aligns with the bodytext frame. However, turn the grid on and the
 footnote block suddenly jumps about a line downwards. What's going on
 here?

 in core-one: change the getnoflines call into

\ifbottomnotes
  \ifgridsnapping
 \ifcase\layoutlines % todo: make macro of this
 \getrawnoflines\textheight
 \else
 \noflines\layoutlines
 \fi
 %\getnoflines\textheight

 and remake the format

 usual rounding errors mess

I'm afraid I can't find no file core-one.tex on my machine ... it  
seems that there's also none at ConTeXt live :-( What to do?

Oliver
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] index questions - again

2007-03-13 Thread Thomas A. Schmitz

On Mar 13, 2007, at 6:41 PM, Hans Hagen wrote:

 OK, I tried a hack, and I just wanted to ask if there's anything
 wrong with it: as dirty workaround, I added a fourth key to
 dostartregister:


 \def\startregister
{\doquadrupleempty\dostartregister}

 \def\dostartregister[#1][#2][#3][#4]#5%
{\chardef\registerpagestatus\plustwo
 \def\currentregister{#1}%
 \setgvalue{\??id#1\??id#2}{\dodostopregister[#1][#3]{#5}}%
 \dodoregister[#3]{#4}{#5}}

 and after a quick test, this seems to do what I want. The endash
 between numbers is not bold, but I could live with that. Any comments
 from the developers?


 looks harmless to me so we can patch that


Hmm, I'm not quite sure I'm doing the right thing. I thought I could  
have 4 arguments in []:

\startregister[name of register][key for range][type of register] 
[sort key]{register entry}

but the [sort key] doesn't seem to work. The hack is OK for me now,  
but it may not be good for the distribution.


 can you also provide the appropriate cont-en.xml entry


Would like to, but comparing register to startregister, I don't  
see anything that has to be changed?


cd:command name=register generated=yes file=core-reg.tex
   cd:sequence
 cd:variable value=register/
   /cd:sequence
   cd:arguments
 cd:keywords optional=yes
   cd:constant type=cd:text/
 /cd:keywords
 cd:index list=yes/
   /cd:arguments
/cd:command

cd:command name=startregister generated=yes file=core-reg.tex
   cd:sequence
 cd:string value=start/
 cd:variable value=register/
   /cd:sequence
   cd:arguments
 cd:keywords optional=yes
   cd:constant type=cd:text/
 /cd:keywords
 cd:index list=yes/
   /cd:arguments
/cd:command

Best

Thomas

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Grid and footnotes [repost]

2007-03-13 Thread Willi Egger
Hi Oliver,

the file is called page-one.tex


Willi

On Mar 13, 2007, at 7:59 PM, Oliver Buerschaper wrote:

 As long as the grid is turned off, the footnote block perfectly
 aligns with the bodytext frame. However, turn the grid on and the
 footnote block suddenly jumps about a line downwards. What's  
 going on
 here?

 in core-one: change the getnoflines call into

\ifbottomnotes
  \ifgridsnapping
 \ifcase\layoutlines % todo: make macro of this
 \getrawnoflines\textheight
 \else
 \noflines\layoutlines
 \fi
 %\getnoflines\textheight

 and remake the format

 usual rounding errors mess

 I'm afraid I can't find no file core-one.tex on my machine ... it
 seems that there's also none at ConTeXt live :-( What to do?

 Oliver
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

Willi Egger
[EMAIL PROTECTED]



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Grid and footnotes [repost]

2007-03-13 Thread Oliver Buerschaper
 As long as the grid is turned off, the footnote block perfectly
 aligns with the bodytext frame. However, turn the grid on and the
 footnote block suddenly jumps about a line downwards. What's going on
 here?


 in core-one: change the getnoflines call into

\ifbottomnotes
  \ifgridsnapping
 \ifcase\layoutlines % todo: make macro of this
 \getrawnoflines\textheight
 \else
 \noflines\layoutlines
 \fi
 %\getnoflines\textheight

 and remake the format

 usual rounding errors mess

 Hans

Following Willi's hint I patched the right file and ... it works like  
a charm! Thanks so much! Now there's just the linespacing thing left ;-)

Oliver
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Line spacing in footnotes

2007-03-13 Thread Aditya Mahajan
On Tue, 13 Mar 2007, Oliver Buerschaper wrote:

 is there a way to influence the linespacing of the footnote block?
 I'd like to typeset it in 9pt/11pt while the main text is set to
 12pt/
 14.5pt (using an OpenType font) ... Any help highly appreciated!

 If you just want a smaller font size

 \setupnotedefinition
[footnote]
[style=small]

 or if you also want to set interline space

 \setupnotedefinition
[footnote]
[before={\switchtobodyfont[9pt]\setupinterlinespace},
 after{\endgraf}]

 You can also pass parameters to \setupinterlinespace to get the
 precise spacing that you want.

 Thanks for your quick reply, Aditya. I'm afraid this doesn't quite
 work as expected ... the line spacing isn't changed at all here :-
 ( This is my setup:

 \setupnote
   [footnote]
   [before=, % remove blank line before
 %  bodyfont=9pt,
command=, % this disables the superscript
n=0] % footnote block as a single paragraph
 \setupnotedefinition
   [footnote]
   [location=serried,
before={\switchtobodyfont[9pt]\setupinterlinespace[line=11pt]},
after={\endgraf},
distance=1ex,
headstyle=\ss\bf]


If the only place you use 9pt font is footnotes then something like 
this should also work

\setupbodyfontenvironment[9pt][interlinespace=11pt]


Since you use n=0, you can also do

  \setupnote
 [footnote]
 [before={\setupinterlinespace[line=11pt]},
  bodyfont=9pt,
  command=, % this disables the superscript
  n=0] % footnote block as a single paragraph

\setupnotedefinition
 [footnote]
 [location=serried,
  distance=1ex,
  headstyle=\ss\bf]


 Also I'm somewhat puzzled ... why put these before and after commands
 in \setupnotedefinition rather than \setupnote?

Since you are working with line=11pt it does not make a difference. 
I was thinking of line=1.2ex (or something) where it matters what is 
the current font size.

If n=0 is not set, and you use absolute font sizes, it will work in 
both cases.

With n=0, things are a bit different. n=0 uses \starttextnotes instead 
of \setcolumnnotes and both work differently. So, with n=0, you need 
it in setupnotes.

 As far as I can tell
 \setupnote already has a bodyfont option (but none for the line
 spacing)

It is not too hard to add. For fun, try

\def\setnotebodyfont
{\switchtobodyfont[9pt]\setupinterlinespace[line=50pt]}

with default settings. (this of course is not a good idea, especially 
in this case, when there are other workarounds)


 ... also I always thought that \setupnotedefinition refers
 to a description and controls the way a single footnote is typeset
 while \setupnote is supposed to influence the whole block

Yes. What I reasoned was that interline space should be set for each 
footnote.

 ... On top of that does the \endgraf command conflict with the n=0 
 option in \setupnote?

Forget about what I said earlier. n=0 uses a different setup 
altogether.


Hans, does it make sense to interface interlinespace in footnotes? Or 
add a \everyfootnotebodyfontswitch token?

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] Underfull \vbox (badness 10000) in tables

2007-03-13 Thread Aditya Mahajan
Hi,

I get underfull \vbox badness 1 in start/stoptable. Is this a 
false alarm, or am I doing something wrong?

\starttext
   \starttable[|ls(1em)|l|p(5cm)|c|]
 \HL[3]
 \BL[4]  \SR
 \NC \ReFormat[cB] {Forward Channel}
 \NC \ReFormat[cB] {Backward Channel}
 \NC \ReFormat[cB] {Equivalent System }
 \NC \ReFormat[cB] {Literature }
 \NC \SR
 \HL[2]
 \NC Noiseless \NC Noiseless/Useless
 \NC Real-Time source coding
 \NC [7]
 \NC \FR
 \NL
 \NC Noisy \NC Noiseless
 \NC Real-Time joint source-channel coding over DMC with noiseless
 feedback
 \NC [5]
 \NC \MR
 \NL
 \NC Noisy \NC Useless
 \NC Real-Time joint source-channel coding over DMC with no feedback
 \NC [2-3,5]\NC \LR
 \HL[3]
   \stoptable
\stoptext

This gives

Underfull \vbox (badness 1) detected at line 19

\vbox(43.40007+0.0)x142.26378
.\vbox(8.26648+0.0)x142.26378
..\hbox(8.26648+2.1)x142.26378, glue set 0.88643
...\hbox(0.0+0.0)x0.0
...\*12ptrmtfrm* R
...\*12ptrmtfrm* e
...\*12ptrmtfrm* a
...\*12ptrmtfrm* l
...etc.
..\penalty 2100
..\glue(\baselineskip) 3.8669
..\hbox(8.26648+2.1)x142.26378, glue set 0.35889
...\*12ptrmtfrm* c
...\kern-0.3264
...\*12ptrmtfrm* h
...\*12ptrmtfrm* a
...\*12ptrmtfrm* n
...etc.
..\penalty 2000
..etc.


Underfull \vbox (badness 1) detected at line 24

\vbox(43.40007+0.0)x142.26378
.\vbox(8.26648+0.0)x142.26378
..\hbox(8.26648+2.1)x142.26378, glue set 0.88643
...\hbox(0.0+0.0)x0.0
...\*12ptrmtfrm* R
...\*12ptrmtfrm* e
...\*12ptrmtfrm* a
...\*12ptrmtfrm* l
...etc.
..\penalty 2100
..\glue(\baselineskip) 3.8669
..\hbox(8.26648+2.1)x142.26378, glue set 0.35889
...\*12ptrmtfrm* c
...\kern-0.3264
...\*12ptrmtfrm* h
...\*12ptrmtfrm* a
...\*12ptrmtfrm* n
...etc.
..\penalty 2000
..etc.


Lines 19 and 24 are end of rows. What is happening here?

Aditya
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context