Setting the footnote symbol
Der gang, For the following \definefont scenario, the footnote symbol in the main text is not raised: ======= \setuppapersize[letter][letter] % \setupbodyfont[schola,12pt] \definefont[PagellaRegular] [texgyrepagella-regular.otf at 14pt] \definefont[PagellaRegularSmall][texgyrepagella-regular.otf at 12pt] \setupwhitespace[big] \setuplayout[width=4.5in,height=5.5in,backspace=2in] \setupnotation[footnote][style={\PagellaRegularSmall}, % text style of the footnote text numbercommand=\PagellaRegularSmall, % symbol-font style in the footnote titlestyle={\PagellaRegularSmall}] % Why is this necessary? \setupnote [footnote][textcommand={\PagellaRegularSmall}] % symbol-font style in the main text \noheaderandfooterlines \starttext \PagellaRegular \startframedtext[width=4.5in,offset=0pt] \startlocalfootnotes Hence in Met VII, where Aristotle debates with masterly penetration how to meet the claim of substance to be at once universal, intelligible, and definable, and at the same time unique and individual, the singular is at length superseded on the throne of substance by the infima species. \startfootnote Or \quotation{materiate form,} as Aristotle also calls it because it attains existence in a material embodiment and cannot be defined without reference to matter, though matter is itself indefinable. The discussion is interspersed with criticism of the forms. Aristotle attacks the theory as a purely arbitrary individualisation of universals, and the detail of the polemic, as well as the context, suggest that he is attacking Plato not for divorcing infimae species from singulars, but for separating and reifying genera taken apart from species. [\textellipsis] \stopfootnote\ That is to say the genus is taken to be fully actualised in its infimae species, and its further differentiation into singulars is treated as irrelevant. \placelocalfootnotes \stoplocalfootnotes \stopframedtext \stoptext ======= What do we need to do to get a raised footnote symbol in the main text (line 6 of the pdf)? Thanks in advance. Best wishes Idris -- Idris Samawi Hamid, Professor Department of Philosophy Colorado State University Fort Collins, CO 80512
On 11/16/2017 06:11 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
Der gang,
For the following \definefont scenario, the footnote symbol in the main text is not raised:
======= \setuppapersize[letter][letter]
Dear Idris, which is the difference between your command above and the next one? \setuppapersize[letter]
\setupnotation[footnote][style={\PagellaRegularSmall}, titlestyle={\PagellaRegularSmall}] % Why is this necessary?
For what is this required? Or what do you want to achieve with the titlestyle option?
What do we need to do to get a raised footnote symbol in the main text (line 6 of the pdf)?
The default value for the numbercommand option in \setupnotation is \high. If you redefine it, it should read: numbercommand={\PagellaRegularSmall\high}, Otherwise you are removing the raising command. I hope it helps, Pablo -- http://www.ousia.tk
On 11/16/2017 06:11 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
What do we need to do to get a raised footnote symbol in the main text (line 6 of the pdf)? Thanks in advance.
BTW, I mixed the number which had to be raised. By default, the textcommand option has a value of \high in \setupnote. You should rewrite your \setupnote command in the following way: \setupnote[footnote][textcommand={\PagellaRegularSmall\high}] I hope it is clear now. Pablo -- http://www.ousia.tk
Dear Pablo,
On Thu, 16 Nov 2017 10:47:13 -0700, Pablo Rodriguez
On 11/16/2017 06:11 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
What do we need to do to get a raised footnote symbol in the main text (line 6 of the pdf)? Thanks in advance.
BTW, I mixed the number which had to be raised.
By default, the textcommand option has a value of \high in \setupnote.
You should rewrite your \setupnote command in the following way:
\setupnote[footnote][textcommand={\PagellaRegularSmall\high}]
Many thanks. This fixes the height, but we lose the styling of the reference symbol in the main text - see attached. Best wishes Idris -- Idris Samawi Hamid, Professor Department of Philosophy Colorado State University Fort Collins, CO 80512
On 11/16/2017 06:57 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
On Thu, 16 Nov 2017 10:47:13 -0700, Pablo Rodriguez
wrote: [...] You should rewrite your \setupnote command in the following way:
\setupnote[footnote][textcommand={\PagellaRegularSmall\high}]
Many thanks. This fixes the height, but we lose the styling of the reference symbol in the main text - see attached.
I see. One of these commands should work: \setupnote[footnote][textcommand={\switchtobodyfont[pagella, 12pt]\high} \setupnote[footnote][textcommand={\setupbodyfont[pagella, 12pt]\high} Pablo -- http://www.ousia.tk
On Thu, 16 Nov 2017 11:11:50 -0700, Pablo Rodriguez
On 11/16/2017 06:57 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
On Thu, 16 Nov 2017 10:47:13 -0700, Pablo Rodriguez
wrote: [...] You should rewrite your \setupnote command in the following way:
\setupnote[footnote][textcommand={\PagellaRegularSmall\high}]
Many thanks. This fixes the height, but we lose the styling of the reference symbol in the main text - see attached.
I see. One of these commands should work:
\setupnote[footnote][textcommand={\switchtobodyfont[pagella, 12pt]\high}
\setupnote[footnote][textcommand={\setupbodyfont[pagella, 12pt]\high}
Yes, but the point of this scenario is to do everything with \definefont. pagella is just for purposes of a MWE: otherwise the scenario calls for using a font that has no associated typescript. Put another way: We want to set up full control over font-style of each element of a footnote using only \definefont. If that's impossible, it would be good to know that as well as why. Idris -- Idris Samawi Hamid, Professor Department of Philosophy Colorado State University Fort Collins, CO 80512
On 11/16/2017 07:18 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
Yes, but the point of this scenario is to do everything with \definefont. pagella is just for purposes of a MWE: otherwise the scenario calls for using a font that has no associated typescript.
Put another way: We want to set up full control over font-style of each element of a footnote using only \definefont. If that's impossible, it would be good to know that as well as why.
I must confess that this is far beyond my knowledge. I never used \definefont. If you don’t mind using \definefontfamily, this works fine: \definefontfamily[lareba][rm][Larabiefont] \setupnote[footnote][textstyle={\setupbodyfont[lareba, 12pt]\high} No previous typescript is required (Larabiefont doesn’t have one). But for explanations, I’m afraid I’m only an average user :-(. Pablo -- http://www.ousia.tk
On Thu, 16 Nov 2017 11:40:40 -0700, Pablo Rodriguez
On 11/16/2017 07:18 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
Yes, but the point of this scenario is to do everything with \definefont. pagella is just for purposes of a MWE: otherwise the scenario calls for using a font that has no associated typescript.
Put another way: We want to set up full control over font-style of each element of a footnote using only \definefont. If that's impossible, it would be good to know that as well as why.
I must confess that this is far beyond my knowledge. I never used \definefont.
Mainly useful for testing for bugs in other macros etc..
If you don’t mind using \definefontfamily, this works fine:
\definefontfamily[lareba][rm][Larabiefont]
\setupnote[footnote][textstyle={\setupbodyfont[lareba, 12pt]\high}
No previous typescript is required (Larabiefont doesn’t have one).
Yes, SimpleFonts work, but then might as well set the whole document that way -)
But for explanations, I’m afraid I’m only an average user :-(.
Pablo, you are anything but an average user :-) Many thanks for your time and help. Best wishes Idris -- Idris Samawi Hamid, Professor Department of Philosophy Colorado State University Fort Collins, CO 80512
On 11/16/2017 10:14 PM, Idris Samawi Hamid ادريس سماوي حامد wrote:
On Thu, 16 Nov 2017 11:40:40 -0700, Pablo Rodriguez wrote:
[...] I must confess that this is far beyond my knowledge. I never used \definefont.
Mainly useful for testing for bugs in other macros etc..
Dear Idris, I may be wrong, but I see it \definefont as remains from MkII in MkIV. (I know that my previous statement comes from my lack of ConTeXt knowledge.) I tend to use a single typeface (maybe with a fallback for Greek glyphs) in my documents. This is much easier to maintain.
No previous typescript is required (Larabiefont doesn’t have one).
Yes, SimpleFonts work, but then might as well set the whole document that way -)
This is already ConTeXt core code. BTW, contrary to your fears, it doesn’t set the whole document that way: \definefont[PagellaRegular] [texgyrepagella-regular.otf at 14pt] \definefont[PagellaRegularSmall][texgyrepagella-regular.otf at 12pt] \definefontfamily[nonexisting][rm][TeX Gyre Cursor] \setupbodyfont[helvetica] \setupwhitespace[big] \setuplayout[width=4.5in,height=5.5in,backspace=2in] \setupnotation[footnote][style={\PagellaRegularSmall}, numbercommand=\PagellaRegularSmall] \setupnote [footnote] [textcommand={\setupbodyfont[nonexisting]\high}] \noheaderandfooterlines \starttext \startframedtext[width=4.5in,offset=0pt] \PagellaRegular \startlocalfootnotes Text \startfootnote Note \stopfootnote\ More text \placelocalfootnotes \stoplocalfootnotes \stopframedtext \dorecurse{5}{\input zapf} \stoptext Or use \switchtobodyfont[nonexisting] (if you feel more confortable with it). In any case, both commands work as you’d expect on my computer.
But for explanations, I’m afraid I’m only an average user :-(.
Pablo, you are anything but an average user :-) Many thanks for your time and help.
With average user, I mean I don’t fully understand the code that I read (and I cannot write code for ConTeXt [either TeX or Lua]). Otherwise, I would be contributing code to ConTeXt. I hope it helps, Pablo -- http://www.ousia.tk
On Fri, 17 Nov 2017 13:06:02 -0700, Pablo Rodriguez
With average user, I mean I don’t fully understand the code that I read (and I cannot write code for ConTeXt [either TeX or Lua]). Otherwise, I would be contributing code to ConTeXt.
But what you contribute by answering and helping is as important as understanding or writing code -) So definitely above average :-) Many thanks, Pablo, for your time and help; it is much appreciated and not taken for granted. Best wishes Idris -- Idris Samawi Hamid, Professor Department of Philosophy Colorado State University Fort Collins, CO 80512
participants (2)
-
Idris Samawi Hamid ادريس سماوي ح امد
-
Pablo Rodriguez