Hello All!
Using:
LuaMetaTeX, Version 2.00.0
ConTeXt ver: 2019.04.13 17:25 MKIV beta fmt: 2019.4.15
with following MWE:
--------------------------------------------------
\pdfmapline {yfrak
On 4/16/2019 12:04 PM, Rudolf Bahr wrote:
Hello All!
Using: LuaMetaTeX, Version 2.00.0 ConTeXt ver: 2019.04.13 17:25 MKIV beta fmt: 2019.4.15
with following MWE:
-------------------------------------------------- \pdfmapline {yfrak
\starttext
%\ToggenburgFont Hallo! Maar had ik dit kunnen weten?
\stoptext --------------------------------------------------
I'm getting now following errors:
fatal error > unsupported cs \pdfmapline mtx-context | fatal error: return code: 256
I'm using the above "\pdfmapline" command since years. Now it gives an error even when it isn't used in the text. "yfrak.pfb" is in the same directory. Are there any hints, please? because it is not needed in mkiv (never really was as it was ignored) .. most \pdf* commands are no-ops and most will go (i need to figure out what the bare minimum is that tikz needs) .. they are not user commands in context
actually, there is (as part of the typescript interface): \loadmapline \loadmapfile not that they are needed either 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 -----------------------------------------------------------------
On Tue, Apr 16, 2019 at 01:54:21PM +0200, Hans Hagen wrote:
Hello All!
Using: LuaMetaTeX, Version 2.00.0 ConTeXt ver: 2019.04.13 17:25 MKIV beta fmt: 2019.4.15
with following MWE:
-------------------------------------------------- \pdfmapline {yfrak
\starttext
%\ToggenburgFont Hallo! Maar had ik dit kunnen weten?
\stoptext --------------------------------------------------
I'm getting now following errors:
fatal error > unsupported cs \pdfmapline mtx-context | fatal error: return code: 256
I'm using the above "\pdfmapline" command since years. Now it gives an error even when it isn't used in the text. "yfrak.pfb" is in the same directory. Are there any hints, please? because it is not needed in mkiv (never really was as it was ignored) .. most \pdf* commands are no-ops and most will go (i need to figure out what
On 4/16/2019 12:04 PM, Rudolf Bahr wrote: the bare minimum is that tikz needs) .. they are not user commands in context
actually, there is (as part of the typescript interface):
\loadmapline \loadmapfile
not that they are needed either
Hans
Thank you for the information. Now, for going another way in order to print Fraktur texts I downloaded various "yfonts" from ctan [1] again and stored them in "~/context-lmtx/tex/texmf-local": yfrak.tfm, yfrak.mf for instance. "mtxrun --script fonts --reload" and "mtxrun --script fonts --list --all --pattern=yfrak" are in vain. The downloaded fonts aren't recognized. This is strange, because fonts with extensions ".mf" and ".tmf" are fonts how Knuth developed them. There are no files with other Fraktur file extensions in CTAN. Please, how to continue with ConTeXt? I'd like to continue to use exactly the same fonts because of a standard nature with my older Fraktur texts. Happy Easter! Rudolf [1] https://www.ctan.org/tex-archive/fonts/gothic/yfrak
Rudolf Bahr schrieb am 18.04.2019 um 20:26: > Now, for going another way in order to print Fraktur texts I > downloaded various > "yfonts" from ctan [1] again and stored them in "~/context-lmtx/tex/texmf-local": > > yfrak.tfm, > yfrak.mf for instance. > > "mtxrun --script fonts --reload" and > "mtxrun --script fonts --list --all --pattern=yfrak" > > are in vain. The downloaded fonts aren't recognized. This is strange, because > fonts with extensions ".mf" and ".tmf" are fonts how Knuth developed them. There > are no files with other Fraktur file extensions in CTAN. > > Please, how to continue with ConTeXt? I'd like to continue to use exactly the > same fonts because of a standard nature with my older Fraktur texts. 1. Use the Type1 version of the fonts: https://ctan.org/tex-archive/fonts/ps-type1/yfonts 2. Use a font in Truetype/Opentype format: http://unifraktur.sourceforge.net/ Wolfgang
On 4/18/2019 8:37 PM, Wolfgang Schuster wrote:
2. Use a font in Truetype/Opentype format: http://unifraktur.sourceforge.net/ Which is actually a quite nice and even readable fraktur.
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 -----------------------------------------------------------------
On Fri, Apr 19, 2019 at 09:19:24AM +0200, Hans Hagen wrote:
On 4/18/2019 8:37 PM, Wolfgang Schuster wrote:
2. Use a font in Truetype/Opentype format: http://unifraktur.sourceforge.net/ Which is actually a quite nice and even readable fraktur.
Hans
Yes, perhaps. In the next days I will have a look at it. What do you mean with "even readable"? Of course the font should be readable, not only to me. During the last days I tried "1. Use the Type1 version of the fonts: [1], proposed by Wolfgang. There a pair of .afm and .pfb files is needed by "new" ConTeXt and I got an "even unreadable" fraktur with plenty of errors. See appended "Fraktur-afm-pfb.pdf". My MWE to this has been: -------------------------------------------------------------------------------- \definefontsynonym [Fraktur] [name:yfrakregular] [features=default] \definefont [BalladenFont] [Fraktur at 12pt] [.75] \def\b{\hskip3pt} \starttext {\BalladenFont \char 020, \char 021, \char 022, \char 023, \char 024, \char 025, \char 026, \char 027, \char 028, \char 029,\\ \char 030, \char 031, \char 032, \char 033, \char 034, \char 035, \char 036, \char 037, \char 038, \char 039,\\ \char 040, \char 041, \char 042, \char 043, \char 044, \char 045, \char 046, \char 047, \char 048, \char 049,\\ \char 050, \char 051, \char 052, \char 053, \char 054, \char 055, \char 056, \char 057, \char 058, \char 059,\\ \char 060, \char 061, \char 062, \char 063, \char 064, \char 065, \char 066, \char 067, \char 068, \char 069,\\ \char 070, \char 071, \char 072, \char 073, \char 074, \char 075, \char 076, \char 077, \char 078, \char 079,\\ \char 080, \char 081, \char 082, \char 083, \char 084, \char 085, \char 086, \char 087, \char 088, \char 089,\\ \char 090, \char 091, \char 092, \char 093, \char 094, \char 095, \char 096, \char 097, \char 098, \char 099,\\ \char 100, \char 101, \char 102, \char 103, \char 104, \char 105, \char 106, \char 107, \char 108, \char 109,\\ \char 110, \char 111, \char 112, \char 113, \char 114, \char 115, \char 116, \char 117, \char 118, \char 119,\\ \char 120, \char 121, \char 122, \char 123, \char 124, \char 125, \char 126, \char 127, \char 128, \char 129,\\ \vskip2\lineheight Victor's: Sohn jagt zw*olf Boxk*ampfer quer *uber den Sylter Deich. \vskip\lineheight Victor's\b Sohn\b jagt\b zw\"olf\b Boxk\"ampfer\b quer\b \"uber\b den\b Sylter\b Deich. } \stoptext ---------------------------------------------------------------------------------------- Now, in the meantime, I had also a look into your book [2] There is to be read: "Most natural is to use OpenType or Type1 fonts. In the case of Type1 a matching pair of afm and pfb files is needed. However, there can be situations where there is only a tfm and pfb file (or not even that: just a bitmap file)." What do you mean with that? Will "new" ConTeXt be capable in mastering a situation with "only a tfm and pfb file" as "old" ConTeXt did? With "old" ConTeXt I had with "yfrak.mf, yfrak.pfb, yfrak.tfm", a wonderfull Fraktur, without errors. Rudolf [1] https://ctan.org/tex-archive/fonts/ps-type1/yfonts [2] http://pragma-ade.com/general/manuals/fonts-mkiv.pdf, page 60, chapter 4.6 ("Old fuzzy fonts")
On Fri, Apr 19, 2019 at 09:22:03PM +0200, Bahr Rudolf wrote:
On Fri, Apr 19, 2019 at 09:19:24AM +0200, Hans Hagen wrote:
On 4/18/2019 8:37 PM, Wolfgang Schuster wrote:
2. Use a font in Truetype/Opentype format: http://unifraktur.sourceforge.net/ Which is actually a quite nice and even readable fraktur.
Hans
Yes, perhaps. In the next days I will have a look at it. What do you mean with "even readable"? Of course the font should be readable, not only to me.
During the last days I tried "1. Use the Type1 version of the fonts: [1], proposed by Wolfgang. There a pair of .afm and .pfb files is needed by "new" ConTeXt and I got an "even unreadable" fraktur with plenty of errors. See appended "Fraktur-afm-pfb.pdf".
Now, in the meantime, I had also a look into your book [2] There is to be read:
"Most natural is to use OpenType or Type1 fonts. In the case of Type1 a matching pair of afm and pfb files is needed. However, there can be situations where there is only a tfm and pfb file (or not even that: just a bitmap file)."
What do you mean with that? Will "new" ConTeXt be capable in mastering a situation with "only a tfm and pfb file" as "old" ConTeXt did? With "old" ConTeXt I had with "yfrak.mf, yfrak.pfb, yfrak.tfm", a wonderfull Fraktur, without errors.
Rudolf
[1] https://ctan.org/tex-archive/fonts/ps-type1/yfonts [2] http://pragma-ade.com/general/manuals/fonts-mkiv.pdf, page 60, chapter 4.6 ("Old fuzzy fonts")
In the meantime I had a look at different Fraktur fonts. Both suggested fonts [1] and [2] were not acceptable to me for various reasons. [1] has no gaps between words and many other errors. Horrible. [2] is far too fat to be printed in a book. The reason could be that the developers wanted to make a font suitable for internet presences where the resolution of screens is far below of that of printing machines. The good thing with [2] is that there is an extended and interesting set of orthography rules and their changes over various centuries beginning in 1600 up to today. But unfortunately the internet presence of [2] seems to be dead, the newest entry in member's forum I saw has been from beginning of 2017. [3] I found the Leipzig-Fraktur-Font, a real Easter gift :-) It's comparable to Yannis Haralambous' nice fraktur font I used for years, but in ".otf"-format. It has the slim high "s" for use at the beginning of words and within words as well as the small round "s" at the end of syllabs and words. Ok, there seems to be no "!" (Instead I use "rm !") and the sharp "ß" I had to construct by "s\hskip-1pt z". But German umlauts can be printed, for instance 'ä' by '\"a', and different ligatures, for instance 'ch', 'st', 'tz', and others exist. So, most of my necessary conditions to a Fraktur font in ConTeXt-lmtx are fulfilled. As an example is appended "Leipzig-Fraktur-Example.pdf". I thank Hans and Wolfgang for helping me. Rudolf [1] https://ctan.org/tex-archive/fonts/ps-type1/yfonts [2] http://unifraktur.sourceforge.net/ [3] https://www.chip.de/downloads/Leipzig-Fraktur-Font_36248614.html
On 4/22/2019 11:13 AM, Rudolf Bahr wrote:
On Fri, Apr 19, 2019 at 09:22:03PM +0200, Bahr Rudolf wrote:
On Fri, Apr 19, 2019 at 09:19:24AM +0200, Hans Hagen wrote:
On 4/18/2019 8:37 PM, Wolfgang Schuster wrote:
2. Use a font in Truetype/Opentype format: http://unifraktur.sourceforge.net/ Which is actually a quite nice and even readable fraktur.
Hans
Yes, perhaps. In the next days I will have a look at it. What do you mean with "even readable"? Of course the font should be readable, not only to me.
During the last days I tried "1. Use the Type1 version of the fonts: [1], proposed by Wolfgang. There a pair of .afm and .pfb files is needed by "new" ConTeXt and I got an "even unreadable" fraktur with plenty of errors. See appended "Fraktur-afm-pfb.pdf".
Now, in the meantime, I had also a look into your book [2] There is to be read:
"Most natural is to use OpenType or Type1 fonts. In the case of Type1 a matching pair of afm and pfb files is needed. However, there can be situations where there is only a tfm and pfb file (or not even that: just a bitmap file)."
What do you mean with that? Will "new" ConTeXt be capable in mastering a situation with "only a tfm and pfb file" as "old" ConTeXt did? With "old" ConTeXt I had with "yfrak.mf, yfrak.pfb, yfrak.tfm", a wonderfull Fraktur, without errors.
Rudolf
[1] https://ctan.org/tex-archive/fonts/ps-type1/yfonts [2] http://pragma-ade.com/general/manuals/fonts-mkiv.pdf, page 60, chapter 4.6 ("Old fuzzy fonts")
In the meantime I had a look at different Fraktur fonts. Both suggested fonts [1] and [2] were not acceptable to me for various reasons.
[1] has no gaps between words and many other errors. Horrible.
Afaiks that font is rather bugged indeed. I tried it, even made sure the space (which is unspecified in the afm) is set to some value but then it seems to use maybe some ligatures which are also unspecified. Old crap.
[2] is far too fat to be printed in a book. The reason could be that the developers wanted to make a font suitable for internet presences where the resolution of screens is far below of that of printing machines. The good thing with [2] is that there is an extended and interesting set of orthography rules and their changes over various centuries beginning in 1600 up to today. But unfortunately the internet presence of [2] seems to be dead, the newest entry in member's forum I saw has been from beginning of 2017.
You can tweak it a bit: \starttext \definefontfeature[thinned-10][effect={width=-0.10,auto=yes}] \definefont[ufa][unifrakturmaguntia*default] \definefont[ufb][unifrakturmaguntia*default,thinned-10] \ufa test\par \ufb test\par \stoptext I'm a bit puzzled by the 'dead' remark. When a project is finished, should the author create bogus entries each year to make it look like something new is done?
[3] I found the Leipzig-Fraktur-Font, a real Easter gift :-) It's comparable to Yannis Haralambous' nice fraktur font I used for years, but in ".otf"-format. It has the slim high "s" for use at the beginning of words and within words as well as the small round "s" at the end of syllabs and words. Ok, there seems to be no "!" (Instead I use "rm !") and the sharp "ß" I had to construct by "s\hskip-1pt z". But German umlauts can be printed, for instance 'ä' by '\"a', and different ligatures, for instance 'ch', 'st', 'tz', and others exist. So, most of my necessary conditions to a Fraktur font in ConTeXt-lmtx are fulfilled. As an example is appended "Leipzig-Fraktur-Example.pdf".
ok
I thank Hans and Wolfgang for helping me.
Best make a wiki page for this (summrizing).
[1] https://ctan.org/tex-archive/fonts/ps-type1/yfonts [2] http://unifraktur.sourceforge.net/ [3] https://www.chip.de/downloads/Leipzig-Fraktur-Font_36248614.html 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 -----------------------------------------------------------------
In the meantime I had a look at different Fraktur fonts. Both suggested fonts [1] and [2] were not acceptable to me for various reasons.
[1] has no gaps between words and many other errors. Horrible.
Afaiks that font is rather bugged indeed. I tried it, even made sure the space (which is unspecified in the afm) is set to some value but then it seems to use maybe some ligatures which are also unspecified. Old crap.
[2] is far too fat to be printed in a book. The reason could be that the developers wanted to make a font suitable for internet presences where the resolution of screens is far below of that of printing machines. The good thing with [2] is that there is an extended and interesting set of orthography rules and their changes over various centuries beginning in 1600 up to today. But unfortunately the internet presence of [2] seems to be dead, the newest entry in member's forum I saw has been from beginning of 2017.
You can tweak it a bit:
\starttext
\definefontfeature[thinned-10][effect={width=-0.10,auto=yes}]
\definefont[ufa][unifrakturmaguntia*default] \definefont[ufb][unifrakturmaguntia*default,thinned-10]
\ufa test\par \ufb test\par
\stoptext
I'm a bit puzzled by the 'dead' remark. When a project is finished, should the author create bogus entries each year to make it look like something new is done?
[3] I found the Leipzig-Fraktur-Font, a real Easter gift :-) It's comparable to Yannis Haralambous' nice fraktur font I used for years, but in ".otf"-format. It has the slim high "s" for use at the beginning of words and within words as well as the small round "s" at the end of syllabs and words. Ok, there seems to be no "!" (Instead I use "rm !") and the sharp "ß" I had to construct by "s\hskip-1pt z". But German umlauts can be printed, for instance 'ä' by '\"a', and different ligatures, for instance 'ch', 'st', 'tz', and others exist. So, most of my necessary conditions to a Fraktur font in ConTeXt-lmtx are fulfilled. As an example is appended "Leipzig-Fraktur-Example.pdf".
ok
I thank Hans and Wolfgang for helping me.
Best make a wiki page for this (summrizing).
[1] https://ctan.org/tex-archive/fonts/ps-type1/yfonts [2] http://unifraktur.sourceforge.net/ [3] https://www.chip.de/downloads/Leipzig-Fraktur-Font_36248614.html Hans
I'd enjoy making a wiki page. Do we have a program to print caracter code tables or font tables? If not, I'd use a bundle of single \char commands to show which characters there are in a special Fraktur font. Rudolf
Am 2019-04-22 um 15:26 schrieb Rudolf Bahr
I'd enjoy making a wiki page. Do we have a program to print caracter code tables or font tables? If not, I'd use a bundle of single \char commands to show which characters there are in a special Fraktur font.
Are you a DANTE member? Then have a look at my German translation of Taco’s article about installing fonts for ConTeXt in the latest DTK. (The original is still unpublished – my fault, sorry guys...) Try \showfont or \usemodule[fnt-10] \starttext \ShowCompleteFont{name:Unifraktur}{20pt}{1} \stoptext There aren’t a lot of good fraktur text fonts around, and most of those are commercial. (I don’t know and didn’t check if Linotype published their old Dfr fonts as OpenType at all.) Unifraktur Maguntia is probably the best (technically) you can get. Maybe try something from http://www.steffmann.de/wordpress/test-2/, but they don’t have any OpenType features. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD
On Mon, Apr 22, 2019 at 11:48:43PM +0200, Henning Hraban Ramm wrote:
Am 2019-04-22 um 15:26 schrieb Rudolf Bahr
: I'd enjoy making a wiki page. Do we have a program to print caracter code tables or font tables? If not, I'd use a bundle of single \char commands to show which characters there are in a special Fraktur font.
Are you a DANTE member? Then have a look at my German translation of Taco’s article about installing fonts for ConTeXt in the latest DTK. (The original is still unpublished – my fault, sorry guys...)
Try \showfont or
\usemodule[fnt-10] \starttext \ShowCompleteFont{name:Unifraktur}{20pt}{1} \stoptext
There aren’t a lot of good fraktur text fonts around, and most of those are commercial. (I don’t know and didn’t check if Linotype published their old Dfr fonts as OpenType at all.)
Unifraktur Maguntia is probably the best (technically) you can get.
Maybe try something from http://www.steffmann.de/wordpress/test-2/, but they don’t have any OpenType features.
Hello Henning! Yes, I'm a DANTE member and of course I read Taco's Article translated by you. It helped me installing Fraktur-test-fonts. Thank you for your other hints! There must be somewhere in contxtgarden.net or wiki.contextgarden.net an article/page on making "wiki pages". Do you know where it is? I can't find it again. Rudolf
participants (4)
-
Hans Hagen
-
Henning Hraban Ramm
-
Rudolf Bahr
-
Wolfgang Schuster