Re: [NTG-context] Placing meaningful footnotes

2007-12-19 Thread Wolfgang Schuster
2007/12/18, Zhichu Chen [EMAIL PROTECTED]:
 Thanks Wolfgang,

 I looked at the source a little bit but all macros are defined with
 insertion and I don't know how to make them share a same counter. Maybe we
 need a new \definerelatednote macro.

 Anyway, your suggestion makes sense.

You could try to look into the definition and description macros,
Aditya provided
souch a feature for enumerations to use the same number for different
environments,
the float mechanism has something similliar to use one number for
different floats.

You try to start with these moduls and adapt it to the note machanism.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Placing meaningful footnotes

2007-12-19 Thread Zhichu Chen
On Dec 19, 2007 7:54 PM, Wolfgang Schuster [EMAIL PROTECTED]
wrote:

 2007/12/18, Zhichu Chen [EMAIL PROTECTED]:
  Thanks Wolfgang,
 
  I looked at the source a little bit but all macros are defined with
  insertion and I don't know how to make them share a same counter. Maybe
 we
  need a new \definerelatednote macro.
 
  Anyway, your suggestion makes sense.

 You could try to look into the definition and description macros,
 Aditya provided
 souch a feature for enumerations to use the same number for different
 environments,
 the float mechanism has something similliar to use one number for
 different floats.

 You try to start with these moduls and adapt it to the note machanism.

Yes, I would love to do that. But I have some politics things to read. I
have to remember them in one month. So please forgive my laziness. After
then, I will have time to test luatex on Chinese and some other interesting
things like the Weiqi module or the footnote we are talking about.



 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
Best Regards
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

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Placing meaningful footnotes

2007-12-19 Thread Wolfgang Schuster
  You try to start with these moduls and adapt it to the note machanism.

 Yes, I would love to do that. But I have some politics things to read. I
 have to remember them in one month. So please forgive my laziness. After
 then, I will have time to test luatex on Chinese and some other interesting
 things like the Weiqi module or the footnote we are talking about.

I think you're also interested in the following link, there is module
for LaTeX and
plain TeX to write gezhu (intertextpostil) with XeTeX.

http://code.google.com/p/gezhu/

I have myself also no time to write any code for the second version of
the weiqi module.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Placing meaningful footnotes

2007-12-19 Thread Zhichu Chen
On Dec 19, 2007 10:06 PM, Wolfgang Schuster 
[EMAIL PROTECTED] wrote:

   You try to start with these moduls and adapt it to the note machanism.

  Yes, I would love to do that. But I have some politics things to read. I
  have to remember them in one month. So please forgive my laziness. After
  then, I will have time to test luatex on Chinese and some other
 interesting
  things like the Weiqi module or the footnote we are talking about.

 I think you're also interested in the following link, there is module
 for LaTeX and
 plain TeX to write gezhu (intertextpostil) with XeTeX.

 http://code.google.com/p/gezhu/

I knew it. It's an excellent job, actually it uses hbox rather than vbox.
And it end a paragraph to get the horizontal position with \lastbox before
the intertextpostil and then it can test whether or not the postil could fit
the rest of the line.

Anyway, in the ancient Chinese people's defense, one column is just one
page. They write things on a piece of long narrow bamboo from top to bottom
and weave them from right to left. So I still think I should use a \box255
to store one column and change the \output routine to weave them on a page.
But it's a little slow when using page arrangement so I guess I should
design a new algorithm myself to make it useful. And the intertextpostil
would use multicolumn with ConTeXt easily with no hacks.

 http://code.google.com/p/gezhu/

 I have myself also no time to write any code for the second version of
 the weiqi module.

 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
Best Regards
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

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Placing meaningful footnotes

2007-12-18 Thread Wolfgang Schuster
2007/12/17, Zhichu Chen [EMAIL PROTECTED]:
 Hi everybody,

 Right now I'm writing an article and in the title's block I wanna thank
 somebody and in the authors' block I wanna display the email addresses. And
 I want them done with footnotes with set 2 conversion. When I use
 ===
 \definenote[thanks][conversion=set 2]
 \definenote[email]
   [conversion=set 2,
textstyle=type]
 ===
 The footnotes are shown with two areas, one for the \thanks and another for
 the \email, and they all started with * symbol, I mean there're two
 footnotes noted by star-symbol. I know I can just use
 \setupfootnotes[conversion=set 2] and do all my job by only using \footnote
 macro, but it's just of curiosity, can I use those meaningful macros to do
 continuously numbered footnotes and displayed only one area at the bottom of
 the page.

Hi Chen,

I took a quick look at the source and it seems this is not possible,
but you define
email as macro and call thank in the expansion text.

\def\email#1{\thanks{\type{#1}}} or better
\def\email#1{\thanks{\hyphenatedurl{#1}}} % breaks at the line end

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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Placing meaningful footnotes

2007-12-18 Thread Zhichu Chen
Thanks Wolfgang,

I looked at the source a little bit but all macros are defined with
insertion and I don't know how to make them share a same counter. Maybe we
need a new \definerelatednote macro.

Anyway, your suggestion makes sense.

On Dec 18, 2007 5:59 PM, Wolfgang Schuster [EMAIL PROTECTED]
wrote:

 2007/12/17, Zhichu Chen [EMAIL PROTECTED]:
  Hi everybody,
 
  Right now I'm writing an article and in the title's block I wanna thank
  somebody and in the authors' block I wanna display the email addresses.
 And
  I want them done with footnotes with set 2 conversion. When I use
  ===
  \definenote[thanks][conversion=set 2]
  \definenote[email]
[conversion=set 2,
 textstyle=type]
  ===
  The footnotes are shown with two areas, one for the \thanks and another
 for
  the \email, and they all started with * symbol, I mean there're two
  footnotes noted by star-symbol. I know I can just use
  \setupfootnotes[conversion=set 2] and do all my job by only using
 \footnote
  macro, but it's just of curiosity, can I use those meaningful macros to
 do
  continuously numbered footnotes and displayed only one area at the
 bottom of
  the page.

 Hi Chen,

 I took a quick look at the source and it seems this is not possible,
 but you define
 email as macro and call thank in the expansion text.

 \def\email#1{\thanks{\type{#1}}} or better
 \def\email#1{\thanks{\hyphenatedurl{#1}}} % breaks at the line end

 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net

 ___




-- 
Best Regards
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

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Placing meaningful footnotes

2007-12-17 Thread Zhichu Chen
Hi everybody,

Right now I'm writing an article and in the title's block I wanna thank
somebody and in the authors' block I wanna display the email addresses. And
I want them done with footnotes with set 2 conversion. When I use
===
\definenote[thanks][conversion=set 2]
\definenote[email]
  [conversion=set 2,
   textstyle=type]
===
The footnotes are shown with two areas, one for the \thanks and another for
the \email, and they all started with * symbol, I mean there're two
footnotes noted by star-symbol. I know I can just use
\setupfootnotes[conversion=set 2] and do all my job by only using \footnote
macro, but it's just of curiosity, can I use those meaningful macros to do
continuously numbered footnotes and displayed only one area at the bottom of
the page.



-- 
Best Regards
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

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___