ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: font mystery
@ 2003-10-05 10:46 Thomas A.Schmitz
  2003-10-07  7:12 ` Hans Hagen
  2003-10-07 19:09 ` Matt Gushee
  0 siblings, 2 replies; 10+ messages in thread
From: Thomas A.Schmitz @ 2003-10-05 10:46 UTC (permalink / raw)


Maybe one further element that would suggest Context is using a cached 
copy of the tfm-file instead of the newly created file: when I move the 
file Myfont.tfm out of the $home/texmf/fonts/tfm directory, pdftex 
gives me the expected error "! I can't find file `Myfont'." However, 
Context will still happily produce output--with an outdated copy of the 
tfm! So context must be caching it somewhere, and I need to flush that 
cache. Anyone an idea how this can be done?

Thanks

Thomas

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Footnotes
@ 2003-10-04 19:02 Steffen Wolfrum
  2003-10-05  9:15 ` font mystery Thomas A.Schmitz
  0 siblings, 1 reply; 10+ messages in thread
From: Steffen Wolfrum @ 2003-10-04 19:02 UTC (permalink / raw)


Hi,

Just in case some one is interested in detailed footnote problems:

In the last time I was fiddling a lot on the problem of setting up footnotes - the task was to have different defined font and interlinespace sizes for text as well as for footnotes.

The first solution that I constructed with commands and keywords from the manual (and etexshow) seemed to give the desired result:

\setupbodyfont[10pt]
\setupinterlinespace[line=15pt]
\definefont [FNfont][Serif at 8pt]
\def\FNstyle{\FNfont\setupinterlinespace[line=15pt]}
\setupfootnotes[numbercommand=]
\setupfootnotedefinition[style=\FNstyle]

\starttext
\input tufte \footnote{\input knuth }
\input tufte \footnote{\input knuth }
\stoptext

But it just worked OK for *normal* sizes.
When set to extreme values it begun to show strange phenomena (see the distances over and under each first line of a footnote):

\setupbodyfont[4pt]
\setupinterlinespace[line=45pt]
\definefont [FNfont][Serif at 4.5pt]
\def\FNstyle{\FNfont\setupinterlinespace[line=12pt]}
\setupfootnotes[numbercommand=]
\setupfootnotedefinition[style=\FNstyle]

\starttext
\input tufte \footnote{\input knuth }
\input tufte \footnote{\input knuth }
\stoptext


After re-combining the different option and command for setupfootnotes and setupfootnotedefinition without improvement, I started to search through the source files and found the very interesting command \setfootnotebodyfont.

With this command a setup can be written that works, finally:

\setupbodyfont[4pt]
\setupinterlinespace[line=45pt]
\definefont [FNfont][Serif at 4.5pt]
\def\setfootnotebodyfont{\FNfont\setupinterlinespace[line=12pt]}
\setupfootnotes[numbercommand=]
\setupfootnotedefinition[style=\FNfont]

\starttext
\input tufte \footnote{\input knuth }
\input tufte \footnote{\input knuth }
\stoptext


Maybe this helps someone.

Steffen
P.S. If there is still need for improvement, please correct.

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

end of thread, other threads:[~2003-10-14 19:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-05 10:46 font mystery Thomas A.Schmitz
2003-10-07  7:12 ` Hans Hagen
2003-10-07  8:09   ` Thomas A.Schmitz
2003-10-07 19:09 ` Matt Gushee
2003-10-08  9:07   ` Thomas A.Schmitz
2003-10-10 17:05     ` Patrick Gundlach
2003-10-10 20:52     ` Hans Hagen
2003-10-11 11:23       ` Thomas A.Schmitz
2003-10-14 19:45         ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2003-10-04 19:02 Footnotes Steffen Wolfrum
2003-10-05  9:15 ` font mystery Thomas A.Schmitz

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