ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* footnotes setup
@ 2012-03-17 19:38 Honza Hejzl
  2012-03-18  6:56 ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Honza Hejzl @ 2012-03-17 19:38 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 525 bytes --]

Hi,

I have installed the last standalone version from contextgarden and oops,
my (few days) old file does not work properly. My "old" setup of footnotes
was like:

\setupfootnotedefinition[loaction=page...]
\setupfootnotes[bodyfontsize=8pt, style=\ss...]

Now the context does not understand to that. So I am trying to set up
footnotes with \setupnote[footnote] but it seems nothing works. I am not
able to use location=serried, location=page, style and so on... Is it
connected with some general update? :o(

Thanks, Honza

[-- Attachment #1.2: Type: text/html, Size: 571 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

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

* Re: footnotes setup
  2012-03-17 19:38 footnotes setup Honza Hejzl
@ 2012-03-18  6:56 ` Wolfgang Schuster
  2012-03-18 12:14   ` Alan Braslau
  2012-03-18 16:36   ` Pablo Rodríguez
  0 siblings, 2 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2012-03-18  6:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 17.03.2012 um 20:38 schrieb Honza Hejzl:

> Hi,
> 
> I have installed the last standalone version from contextgarden and oops, my (few days) old file does not work properly. My "old" setup of footnotes was like:
> 
> \setupfootnotedefinition[loaction=page...]
> \setupfootnotes[bodyfontsize=8pt, style=\ss...]
> 
> Now the context does not understand to that. So I am trying to set up footnotes with \setupnote[footnote] but it seems nothing works. I am not able to use location=serried, location=page, style and so on... Is it connected with some general update? :o(

The command \setupnotedefinition (where \setupfootnotedefinition is a shortcut for \setupnotedefinition[footnote]) is now \setupnotation and “location=serried” is now “alternative=serried”. The \setupnote command (\setupfootnotes is \setupnote[footnote]) has only a “bodyfont” key which accepts “{8pt,sans}” as argument but not “bodyfontsize” key and style is only available for \setupnotation (but as you saw you can add it to bodyfont).

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


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

* Re: footnotes setup
  2012-03-18  6:56 ` Wolfgang Schuster
@ 2012-03-18 12:14   ` Alan Braslau
  2012-03-18 15:45     ` Steffen Wolfrum
  2012-03-18 20:59     ` Wolfgang Schuster
  2012-03-18 16:36   ` Pablo Rodríguez
  1 sibling, 2 replies; 8+ messages in thread
From: Alan Braslau @ 2012-03-18 12:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 18 Mar 2012 07:56:30 +0100
Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:

> 
> Am 17.03.2012 um 20:38 schrieb Honza Hejzl:
> 
> > Hi,
> > 
> > I have installed the last standalone version from contextgarden and
> > oops, my (few days) old file does not work properly. My "old" setup
> > of footnotes was like:
> > 
> > \setupfootnotedefinition[loaction=page...]
> > \setupfootnotes[bodyfontsize=8pt, style=\ss...]
> > 
> > Now the context does not understand to that. So I am trying to set
> > up footnotes with \setupnote[footnote] but it seems nothing works.
> > I am not able to use location=serried, location=page, style and so
> > on... Is it connected with some general update? :o(
> 
> The command \setupnotedefinition (where \setupfootnotedefinition is a
> shortcut for \setupnotedefinition[footnote]) is now \setupnotation
> and “location=serried” is now “alternative=serried”. The \setupnote
> command (\setupfootnotes is \setupnote[footnote]) has only a
> “bodyfont” key which accepts “{8pt,sans}” as argument but not
> “bodyfontsize” key and style is only available for \setupnotation
> (but as you saw you can add it to bodyfont).
> 
> Wolfgang
>

Looking at strc-not.mkvi and from your explanations above
it is still not clear to me how to use the new footnote definitions.
We have \setupnotedefinition
(with \setupfootnotedefinition=\setupnotedefinition[footnote]),
\setupnote (with \setupfootnotes=\setupnote[footnote]),
also \setupnotes (=\setupnote ?)
Is there any difference between the singular and the plural forms?
Also, what parameters are accepted? (I see "% not all make sense here"
in strc-not.mkvi)

http://wiki.contextgarden.net/Footnotes seems confused (ToDo).

In particular, I am still trying to get
"next=\autoinsertnextspace"
to make \startfootnote\stopfootnote work correctly...

Alan
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: footnotes setup
  2012-03-18 12:14   ` Alan Braslau
@ 2012-03-18 15:45     ` Steffen Wolfrum
  2012-03-18 20:59     ` Wolfgang Schuster
  1 sibling, 0 replies; 8+ messages in thread
From: Steffen Wolfrum @ 2012-03-18 15:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen


Am 18.03.2012 um 13:14 schrieb Alan Braslau:

> On Sun, 18 Mar 2012 07:56:30 +0100
> Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
> 
>> 
>> Am 17.03.2012 um 20:38 schrieb Honza Hejzl:
>> 
>>> Hi,
>>> 
>>> I have installed the last standalone version from contextgarden and
>>> oops, my (few days) old file does not work properly. My "old" setup
>>> of footnotes was like:
>>> 
>>> \setupfootnotedefinition[loaction=page...]
>>> \setupfootnotes[bodyfontsize=8pt, style=\ss...]
>>> 
>>> Now the context does not understand to that. So I am trying to set
>>> up footnotes with \setupnote[footnote] but it seems nothing works.
>>> I am not able to use location=serried, location=page, style and so
>>> on... Is it connected with some general update? :o(
>> 
>> The command \setupnotedefinition (where \setupfootnotedefinition is a
>> shortcut for \setupnotedefinition[footnote]) is now \setupnotation
>> and “location=serried” is now “alternative=serried”. The \setupnote
>> command (\setupfootnotes is \setupnote[footnote]) has only a
>> “bodyfont” key which accepts “{8pt,sans}” as argument but not
>> “bodyfontsize” key and style is only available for \setupnotation
>> (but as you saw you can add it to bodyfont).
>> 
>> Wolfgang
>> 
> 
> Looking at strc-not.mkvi and from your explanations above
> it is still not clear to me how to use the new footnote definitions.
> We have \setupnotedefinition
> (with \setupfootnotedefinition=\setupnotedefinition[footnote]),
> \setupnote (with \setupfootnotes=\setupnote[footnote]),
> also \setupnotes (=\setupnote ?)
> Is there any difference between the singular and the plural forms?
> Also, what parameters are accepted? (I see "% not all make sense here"
> in strc-not.mkvi)
> 
> http://wiki.contextgarden.net/Footnotes seems confused (ToDo).
> 
> In particular, I am still trying to get
> "next=\autoinsertnextspace"
> to make \startfootnote\stopfootnote work correctly...


Footnotes are not yet fixed (due to Hans' flue ...)
So it is probably in vain trying to make sense of the current state of the footnote mechanism.

Best wishes, Steffen
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: footnotes setup
  2012-03-18  6:56 ` Wolfgang Schuster
  2012-03-18 12:14   ` Alan Braslau
@ 2012-03-18 16:36   ` Pablo Rodríguez
  1 sibling, 0 replies; 8+ messages in thread
From: Pablo Rodríguez @ 2012-03-18 16:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 18/03/12 07:56, Wolfgang Schuster wrote:
> The command \setupnotedefinition (where \setupfootnotedefinition is a
> shortcut for \setupnotedefinition[footnote]) is now \setupnotation
> and “location=serried” is now “alternative=serried”. The \setupnote
> command (\setupfootnotes is \setupnote[footnote]) has only a
> “bodyfont” key which accepts “{8pt,sans}” as argument but not
> “bodyfontsize” key and style is only available for \setupnotation
> (but as you saw you can add it to bodyfont).

Many thanks for the reply, Wolfgang.

I know you weren't replying a question of mine, but reading the code
itself I solved some issues I had with linenotes and I found a bug
(which I report on a different thread).

Reading the code seemed counterproductive to me, but it seems to be one
of the best methods to learn from ConTeXt.

Thanks again,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: footnotes setup
  2012-03-18 12:14   ` Alan Braslau
  2012-03-18 15:45     ` Steffen Wolfrum
@ 2012-03-18 20:59     ` Wolfgang Schuster
  2012-03-18 22:10       ` Alan Braslau
  1 sibling, 1 reply; 8+ messages in thread
From: Wolfgang Schuster @ 2012-03-18 20:59 UTC (permalink / raw)
  To: Alan Braslau; +Cc: mailing list for ConTeXt users


Am 18.03.2012 um 13:14 schrieb Alan Braslau:

> On Sun, 18 Mar 2012 07:56:30 +0100
> Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
> 
>> 
>> Am 17.03.2012 um 20:38 schrieb Honza Hejzl:
>> 
>>> Hi,
>>> 
>>> I have installed the last standalone version from contextgarden and
>>> oops, my (few days) old file does not work properly. My "old" setup
>>> of footnotes was like:
>>> 
>>> \setupfootnotedefinition[loaction=page...]
>>> \setupfootnotes[bodyfontsize=8pt, style=\ss...]
>>> 
>>> Now the context does not understand to that. So I am trying to set
>>> up footnotes with \setupnote[footnote] but it seems nothing works.
>>> I am not able to use location=serried, location=page, style and so
>>> on... Is it connected with some general update? :o(
>> 
>> The command \setupnotedefinition (where \setupfootnotedefinition is a
>> shortcut for \setupnotedefinition[footnote]) is now \setupnotation
>> and “location=serried” is now “alternative=serried”. The \setupnote
>> command (\setupfootnotes is \setupnote[footnote]) has only a
>> “bodyfont” key which accepts “{8pt,sans}” as argument but not
>> “bodyfontsize” key and style is only available for \setupnotation
>> (but as you saw you can add it to bodyfont).
>> 
>> Wolfgang
>> 
> 
> Looking at strc-not.mkvi and from your explanations above
> it is still not clear to me how to use the new footnote definitions.
> We have \setupnotedefinition
> (with \setupfootnotedefinition=\setupnotedefinition[footnote]),
> \setupnote (with \setupfootnotes=\setupnote[footnote]),
> also \setupnotes (=\setupnote ?)
> Is there any difference between the singular and the plural forms?
> Also, what parameters are accepted? (I see "% not all make sense here"
> in strc-not.mkvi)

1. The \setupnotedefinition was replaced with \setupnotation

2. Many of the \define… and \setup… commands are now auto generated
   from \installcommandhandler which generates only one setup-command
   which can be used for global (i.e. \setup…[..,..=..,..]) and local
   (i.e. \setup…[…][..,..=..,..]) settings. For backward compatibility you
   can find things like this: \let\setupnotes\setupnote

3. The argument are same as before (with a few changes)

> http://wiki.contextgarden.net/Footnotes seems confused (ToDo).
> 
> In particular, I am still trying to get
> "next=\autoinsertnextspace"
> to make \startfootnote\stopfootnote work correctly…

Large parts of the code have been rewritten and the next key wasn’t added yet.

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


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

* Re: footnotes setup
  2012-03-18 20:59     ` Wolfgang Schuster
@ 2012-03-18 22:10       ` Alan Braslau
  2012-03-19  8:27         ` Wolfgang Schuster
  0 siblings, 1 reply; 8+ messages in thread
From: Alan Braslau @ 2012-03-18 22:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Sun, 18 Mar 2012 21:59:17 +0100
Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:

> 2. Many of the \define… and \setup… commands are now auto generated
>    from \installcommandhandler which generates only one setup-command
>    which can be used for global (i.e. \setup…[..,..=..,..]) and local
>    (i.e. \setup…[…][..,..=..,..]) settings.

Thank you Wolfgang for this explanation.

Do you mean: global (i.e. \define…[..,..=..,..] and local
(i.e. \setup…[…][..,..=..,..]) settings?

> For backward
> compatibility you can find things like this: \let\setupnotes\setupnote

OK, but is this a good idea?
I thought that mkii is kept around for backward compatibility
and that mkiv takes the liberty to rationalize the syntax,
sometimes sacrificing backwards compatibility in order not to be
encumbered with inconsistent syntax, whenever possible.

Indeed, this sometimes generates much discussion on the mailing list
when we discover that our favorite command has been removed
or renamed - a good way of testing to see if we are active and alert. :)

Alan

-- 
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS URA 2464
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.braslau@cea.fr
___________________________________________________________________________________
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
___________________________________________________________________________________

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

* Re: footnotes setup
  2012-03-18 22:10       ` Alan Braslau
@ 2012-03-19  8:27         ` Wolfgang Schuster
  0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Schuster @ 2012-03-19  8:27 UTC (permalink / raw)
  To: Alan Braslau; +Cc: mailing list for ConTeXt users


Am 18.03.2012 um 23:10 schrieb Alan Braslau:

> On Sun, 18 Mar 2012 21:59:17 +0100
> Wolfgang Schuster <schuster.wolfgang@googlemail.com> wrote:
> 
>> 2. Many of the \define… and \setup… commands are now auto generated
>>   from \installcommandhandler which generates only one setup-command
>>   which can be used for global (i.e. \setup…[..,..=..,..]) and local
>>   (i.e. \setup…[…][..,..=..,..]) settings.
> 
> Thank you Wolfgang for this explanation.
> 
> Do you mean: global (i.e. \define…[..,..=..,..] and local
> (i.e. \setup…[…][..,..=..,..]) settings?

No, I meant with \setupheads[style=bold] you can change the font of each
heading and with \setuphead[section][style=italic] you change only the font
for section. As you can see we have a plural and a singular form of the command.

With the new system to generate the setup commands we have only
\setuphead which handles bot cases.

>> For backward
>> compatibility you can find things like this: \let\setupnotes\setupnote
> 
> OK, but is this a good idea?
> I thought that mkii is kept around for backward compatibility
> and that mkiv takes the liberty to rationalize the syntax,
> sometimes sacrificing backwards compatibility in order not to be
> encumbered with inconsistent syntax, whenever possible.
> 
> Indeed, this sometimes generates much discussion on the mailing list
> when we discover that our favorite command has been removed
> or renamed - a good way of testing to see if we are active and alert. :)

It’s better to promote the new commands but we should take time
until the old variants vanish because we have to get used to them.

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


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

end of thread, other threads:[~2012-03-19  8:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-17 19:38 footnotes setup Honza Hejzl
2012-03-18  6:56 ` Wolfgang Schuster
2012-03-18 12:14   ` Alan Braslau
2012-03-18 15:45     ` Steffen Wolfrum
2012-03-18 20:59     ` Wolfgang Schuster
2012-03-18 22:10       ` Alan Braslau
2012-03-19  8:27         ` Wolfgang Schuster
2012-03-18 16:36   ` Pablo Rodríguez

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).