ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* how to change the colour of the footnote marker
@ 2018-04-08 11:02 Robert Zydenbos
  2018-04-08 15:41 ` Tomas Hala
  2018-04-08 15:46 ` Wolfgang Schuster
  0 siblings, 2 replies; 12+ messages in thread
From: Robert Zydenbos @ 2018-04-08 11:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Today I wanted to print an entire document not in standard black, but in 
blue. I added (Mk II) –

\setupcolors [state=start]
\define\kleur{blue} % so I can change the colour uniformly everywhere 
through this variable
\startcolor [\kleur]
\setupnote[footnote][before={\color[\kleur]}]
\setupfooter [color=\kleur]

– and everything becomes blue, but NOT the footnote number before the 
footnote itself at the bottom of the page (the marker in the main text 
is coloured the way I want).

Can anyone tell me how to change the colour of the footnote number in 
the note?

Robert

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: how to change the colour of the footnote marker
  2018-04-08 11:02 how to change the colour of the footnote marker Robert Zydenbos
@ 2018-04-08 15:41 ` Tomas Hala
  2018-04-08 22:33   ` Robert Zydenbos
  2018-04-08 15:46 ` Wolfgang Schuster
  1 sibling, 1 reply; 12+ messages in thread
From: Tomas Hala @ 2018-04-08 15:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Robert,

I don't understand if you need solution for MkII, or
if you tried something from MkII. 

For MkIV you can use this:

\def\mycmd#1{\startcolor[\kleur]#1\stopcolor}
\setupnotation[footnote][numbercommand=\mycmd]

(But I don't know whether it will work witk MkII.)

The best,

Tomáš

Sun, Apr 08, 2018 ve 01:02:45PM +0200 Robert Zydenbos napsal(a):
# Today I wanted to print an entire document not in standard black,
# but in blue. I added (Mk II) –
# 
# \setupcolors [state=start]
# \define\kleur{blue} % so I can change the colour uniformly
# everywhere through this variable
# \startcolor [\kleur]
# \setupnote[footnote][before={\color[\kleur]}]
# \setupfooter [color=\kleur]
# 
# – and everything becomes blue, but NOT the footnote number before
# the footnote itself at the bottom of the page (the marker in the
# main text is coloured the way I want).
# 
# Can anyone tell me how to change the colour of the footnote number
# in the note?
# 
# Robert
# 
# ___________________________________________________________________________________
# 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://context.aanhet.net
# archive  : https://bitbucket.org/phg/context-mirror/commits/
# wiki     : http://contextgarden.net
# ___________________________________________________________________________________

                                         Tomáš Hála
--------------------------------------------------------------------
Mendelova univerzita, Provozně ekonomická fakulta, ústav informatiky
Zemědělská 1, CZ-613 00 Brno,  tel. +420 545 13 22 28
--------------------------------------------------------------------
http://akela.mendelu.cz/~thala
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: how to change the colour of the footnote marker
  2018-04-08 11:02 how to change the colour of the footnote marker Robert Zydenbos
  2018-04-08 15:41 ` Tomas Hala
@ 2018-04-08 15:46 ` Wolfgang Schuster
  2018-04-08 22:40   ` Robert Zydenbos
  1 sibling, 1 reply; 12+ messages in thread
From: Wolfgang Schuster @ 2018-04-08 15:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

\definecolor[kleur][blue]

\setupcolors[state=start,textcolor=kleur]

\setupnotedefinition[footnote][color=kleur]
\setupnote          [footnote][rulecolor=kleur]

\starttext

\input knuth
\footnote{\input ward }

\stoptext

Wolfgang

> Robert Zydenbos <mailto:context@zydenbos.net>
> 8. April 2018 um 13:02
> Today I wanted to print an entire document not in standard black, but 
> in blue. I added (Mk II) –
>
> \setupcolors [state=start]
> \define\kleur{blue} % so I can change the colour uniformly everywhere 
> through this variable
> \startcolor [\kleur]
> \setupnote[footnote][before={\color[\kleur]}]
> \setupfooter [color=\kleur]
>
> – and everything becomes blue, but NOT the footnote number before the 
> footnote itself at the bottom of the page (the marker in the main text 
> is coloured the way I want).
>
> Can anyone tell me how to change the colour of the footnote number in 
> the note?
>
> Robert
>
> ___________________________________________________________________________________ 
>
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


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

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: how to change the colour of the footnote marker
  2018-04-08 15:41 ` Tomas Hala
@ 2018-04-08 22:33   ` Robert Zydenbos
  2018-04-08 22:49     ` Wolfgang Schuster
  2018-04-09  7:45     ` Hans Hagen
  0 siblings, 2 replies; 12+ messages in thread
From: Robert Zydenbos @ 2018-04-08 22:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Greetings, Tomáš,

On 08.04.2018 17:41, Tomas Hala wrote:

> Hi Robert,
> 
> I don't understand if you need solution for MkII, or
> if you tried something from MkII.
> 
> For MkIV you can use this:
> 
> defmycmd#1{startcolor[kleur]#1stopcolor}
> setupnotation[footnote][numbercommand=mycmd]
> 
> (But I don't know whether it will work witk MkII.)

Thank you for the proffered help – but I found a very similar snippet of 
code in a message to this list from 2015 and tried it.

Mk II does not have \setupnotation[footnote] yet, and when I 
'translated' it to \setupfootnotes (which ordinarily ought to work in Mk 
II), it unfortunately did not work. (I need to use Mk II because I need 
the functionality of XeTeX.)

However, Wolfgang gave the solution! I do not know why that is the 
solution :-), but it works.

> The best,

Robert

-- 

Prof. Dr. Robert J. Zydenbos
Institute of Indology and Tibetology
Department of Asian Studies
Ludwig-Maximilians-Universität München (University of Munich – LMU)
Germany

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: how to change the colour of the footnote marker
  2018-04-08 15:46 ` Wolfgang Schuster
@ 2018-04-08 22:40   ` Robert Zydenbos
  2018-04-08 22:46     ` Wolfgang Schuster
  0 siblings, 1 reply; 12+ messages in thread
From: Robert Zydenbos @ 2018-04-08 22:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Greetings, Wolfgang,

On 08.04.2018 17:46, Wolfgang Schuster wrote:

> definecolor[kleur][blue]
> 
> setupcolors[state=start,textcolor=kleur]
> 
> setupnotedefinition[footnote][color=kleur]
> setupnote [footnote][rulecolor=kleur]

> …etc…

It works! Thank you for the solution.

One thing that puzzles me, however, is that you (Wolfgang) are able to 
produce solutions using (so it seems) undocumented commands and 
parameters. How did you hit upon the idea to use 'rulecolor' here? I 
rely on the ConTeXt manual (2013 version), and there is nothing there to 
suggest that 'rulecolor' determines the colour of the text of footnotes. 
Neither did the Wiki help me.

Is there some hidden documentation I do not know about?

Robert
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: how to change the colour of the footnote marker
  2018-04-08 22:40   ` Robert Zydenbos
@ 2018-04-08 22:46     ` Wolfgang Schuster
  0 siblings, 0 replies; 12+ messages in thread
From: Wolfgang Schuster @ 2018-04-08 22:46 UTC (permalink / raw)
  To: Robert Zydenbos; +Cc: mailing users


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


> Robert Zydenbos <mailto:context@zydenbos.net>
> 9. April 2018 um 00:40
> Greetings, Wolfgang,
>
> On 08.04.2018 17:46, Wolfgang Schuster wrote:
>
>> definecolor[kleur][blue]
>>
>> setupcolors[state=start,textcolor=kleur]
>>
>> setupnotedefinition[footnote][color=kleur]
>> setupnote [footnote][rulecolor=kleur]
>
>> …etc…
>
> It works! Thank you for the solution.
>
> One thing that puzzles me, however, is that you (Wolfgang) are able to 
> produce solutions using (so it seems) undocumented commands and 
> parameters. How did you hit upon the idea to use 'rulecolor' here? I 
> rely on the ConTeXt manual (2013 version), and there is nothing there 
> to suggest that 'rulecolor' determines the colour of the text of 
> footnotes. Neither did the Wiki help me.
>
> Is there some hidden documentation I do not know about?
You can look them up in the command reference which exists since a very 
long time (the current version is MkIV/LuaTeX only):

http://pragma-ade.com/show-man-5.htm

Wolfgang

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

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: how to change the colour of the footnote marker
  2018-04-08 22:33   ` Robert Zydenbos
@ 2018-04-08 22:49     ` Wolfgang Schuster
  2018-04-09 10:14       ` Robert Zydenbos
  2018-04-09  7:45     ` Hans Hagen
  1 sibling, 1 reply; 12+ messages in thread
From: Wolfgang Schuster @ 2018-04-08 22:49 UTC (permalink / raw)
  To: Robert Zydenbos; +Cc: mailing list for ConTeXt users


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


> Robert Zydenbos <mailto:context@zydenbos.net>
> 9. April 2018 um 00:33
> Greetings, Tomáš,
>
> On 08.04.2018 17:41, Tomas Hala wrote:
>
>> Hi Robert,
>>
>> I don't understand if you need solution for MkII, or
>> if you tried something from MkII.
>>
>> For MkIV you can use this:
>>
>> defmycmd#1{startcolor[kleur]#1stopcolor}
>> setupnotation[footnote][numbercommand=mycmd]
>>
>> (But I don't know whether it will work witk MkII.)
>
> Thank you for the proffered help – but I found a very similar snippet 
> of code in a message to this list from 2015 and tried it.
>
> Mk II does not have \setupnotation[footnote] yet, and when I 
> 'translated' it to \setupfootnotes (which ordinarily ought to work in 
> Mk II), it unfortunately did not work. (I need to use Mk II because I 
> need the functionality of XeTeX.)

1. \setupnotation is the new command name for \setupnotedefinition

2. Which language do you use in your document?

Wolfgang

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

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: how to change the colour of the footnote marker
  2018-04-08 22:33   ` Robert Zydenbos
  2018-04-08 22:49     ` Wolfgang Schuster
@ 2018-04-09  7:45     ` Hans Hagen
  2018-04-09 10:18       ` Robert Zydenbos
  1 sibling, 1 reply; 12+ messages in thread
From: Hans Hagen @ 2018-04-09  7:45 UTC (permalink / raw)
  To: ntg-context

On 4/9/2018 12:33 AM, Robert Zydenbos wrote:
> Greetings, Tomáš,
> 
> On 08.04.2018 17:41, Tomas Hala wrote:
> 
>> Hi Robert,
>>
>> I don't understand if you need solution for MkII, or
>> if you tried something from MkII.
>>
>> For MkIV you can use this:
>>
>> defmycmd#1{startcolor[kleur]#1stopcolor}
>> setupnotation[footnote][numbercommand=mycmd]
>>
>> (But I don't know whether it will work witk MkII.)
> 
> Thank you for the proffered help – but I found a very similar snippet of 
> code in a message to this list from 2015 and tried it.
> 
> Mk II does not have \setupnotation[footnote] yet, and when I 
> 'translated' it to \setupfootnotes (which ordinarily ought to work in Mk 
> II), it unfortunately did not work. (I need to use Mk II because I need 
> the functionality of XeTeX.)

just curious: what do you mis in mkiv / luatex

> However, Wolfgang gave the solution! I do not know why that is the 
> solution :-), but it works.
> 
>> The best,
> 
> Robert
> 


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: how to change the colour of the footnote marker
  2018-04-08 22:49     ` Wolfgang Schuster
@ 2018-04-09 10:14       ` Robert Zydenbos
  0 siblings, 0 replies; 12+ messages in thread
From: Robert Zydenbos @ 2018-04-09 10:14 UTC (permalink / raw)
  To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users

On 09.04.2018 00:49, Wolfgang Schuster wrote:

> Mk II does not have setupnotation[footnote] yet, and when I 
> 'translated' it to setupfootnotes (which ordinarily ought to work in Mk 
> II), it unfortunately did not work. (I need to use Mk II because I need 
> the functionality of XeTeX.)

> 1. setupnotation is the new command name for setupnotedefinition

> 2. Which language do you use in your document?

Kannada. This is one of the world's larger languages, belonging to the 
Dravidian language family, spoken in the southern Indian state of 
Karnataka (its capital city Bangalore / Bengaluru is known outside India 
mainly as the centre of India's IT industry).

I am about to finish writing the first comprehensive modern teaching 
manual of the language for non-Indian learners, and this is the kind of 
book that one can hardly leave to typesetters. First I was thinking of 
producing the ready-to-print PDF in XeLaTeX, but… oh, well, we're among 
ourselves here, so I think I need not go into the details of why I 
prefer to do it in ConTeXt. :-)

Robert

-- 

Prof. Dr. Robert J. Zydenbos
Institute of Indology and Tibetology
Department of Asian Studies
Ludwig-Maximilians-Universität München (University of Munich – LMU)
Germany
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: how to change the colour of the footnote marker
  2018-04-09  7:45     ` Hans Hagen
@ 2018-04-09 10:18       ` Robert Zydenbos
  2018-04-09 12:14         ` Hans Hagen
  0 siblings, 1 reply; 12+ messages in thread
From: Robert Zydenbos @ 2018-04-09 10:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 09.04.2018 09:45, Hans Hagen wrote:

>> On 4/9/2018 12:33 AM, Robert Zydenbos wrote:
>> […] (I need to use Mk II because I need the functionality of XeTeX.)

> just curious: what do you mis in mkiv / luatex

Support for Indic scripts / fonts. (I think we had a little bit of 
correspondence on this mailing list three or four years ago about this, 
and we were not able to convert and use the TrueType fonts I required.)

Robert
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: how to change the colour of the footnote marker
  2018-04-09 10:18       ` Robert Zydenbos
@ 2018-04-09 12:14         ` Hans Hagen
  2018-04-09 23:17           ` Robert Zydenbos
  0 siblings, 1 reply; 12+ messages in thread
From: Hans Hagen @ 2018-04-09 12:14 UTC (permalink / raw)
  To: Robert Zydenbos, mailing list for ConTeXt users

On 4/9/2018 12:18 PM, Robert Zydenbos wrote:
> On 09.04.2018 09:45, Hans Hagen wrote:
> 
>>> On 4/9/2018 12:33 AM, Robert Zydenbos wrote:
>>> […] (I need to use Mk II because I need the functionality of XeTeX.)
> 
>> just curious: what do you mis in mkiv / luatex
> 
> Support for Indic scripts / fonts. (I think we had a little bit of 
> correspondence on this mailing list three or four years ago about this, 
> and we were not able to convert and use the TrueType fonts I required.)
Which specific indic scripts?

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: how to change the colour of the footnote marker
  2018-04-09 12:14         ` Hans Hagen
@ 2018-04-09 23:17           ` Robert Zydenbos
  0 siblings, 0 replies; 12+ messages in thread
From: Robert Zydenbos @ 2018-04-09 23:17 UTC (permalink / raw)
  To: Hans Hagen, mailing list for ConTeXt users

On 09.04.18 14:14, Hans Hagen wrote:

> On 4/9/2018 12:18 PM, Robert Zydenbos wrote:
>>> just curious: what do you mis in mkiv / luatex 
>>
>> Support for Indic scripts / fonts. (I think we had a little bit of 
>> correspondence on this mailing list three or four years ago about 
>> this, and we were not able to convert and use the TrueType fonts I 
>> required.)
> Which specific indic scripts?

Kannada, and soon I will also need Nagari (also known as Devanagari).

Robert
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2018-04-09 23:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-08 11:02 how to change the colour of the footnote marker Robert Zydenbos
2018-04-08 15:41 ` Tomas Hala
2018-04-08 22:33   ` Robert Zydenbos
2018-04-08 22:49     ` Wolfgang Schuster
2018-04-09 10:14       ` Robert Zydenbos
2018-04-09  7:45     ` Hans Hagen
2018-04-09 10:18       ` Robert Zydenbos
2018-04-09 12:14         ` Hans Hagen
2018-04-09 23:17           ` Robert Zydenbos
2018-04-08 15:46 ` Wolfgang Schuster
2018-04-08 22:40   ` Robert Zydenbos
2018-04-08 22:46     ` Wolfgang Schuster

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