Hi, I have a question related the possibility to change font sizes as given in Therion wiki with a metapost-code. What have I done? In config-file I have written: code metapost def fonts_setup (expr t,s,m,l,h) = write "\def\thstationname{\size[4]}" to "mptexpre.tex"; write EOF to "mptexpre.tex"; enddef; initialize(Scale); endcode But I get this error:
data.mp data.mpx ! Unable to make mpx file. l.6931 p_label(btex \thlabel\thnormalsize \vbox{\halign{\hfil#\hfil\cr\thfb\... The two files given above are one of your source files and an auxiliary file I need to read to find out what your btex..etex blocks mean. If you don't know why I had trouble, try running it manually through MPtoTeX, TeX, and DVItoMP
Then I have searched for that file called "mptexpre.tex" But I havn`t found it. What is wrong? Greetings and best eastern for you all! Markus PS. I use the Windows Installation 5.3.16 on win2010
Hi, try simply this in your thconfig (see the chapter Customizing text labels in the thbook): code metapost fonts_setup(6,8,10,14,20); Martin On Wed, Apr 1, 2015 at 11:35 PM, Markus Boldt <markus.boldt@gmx.net> wrote:
Hi, I have a question related the possibility to change font sizes as given in Therion wiki with a metapost-code. What have I done? In config-file I have written: code metapost def fonts_setup (expr t,s,m,l,h) = write "\def\thstationname{\size[4]}" to "mptexpre.tex"; write EOF to "mptexpre.tex"; enddef; initialize(Scale); endcode
But I get this error:
data.mp data.mpx ! Unable to make mpx file. l.6931 p_label(btex \thlabel\thnormalsize \vbox{\halign{\hfil#\hfil\cr\thfb\... The two files given above are one of your source files and an auxiliary file I need to read to find out what your btex..etex blocks mean. If you don't know why I had trouble, try running it manually through MPtoTeX, TeX, and DVItoMP
Then I have searched for that file called "mptexpre.tex" But I havn`t found it. What is wrong?
Greetings and best eastern for you all! Markus
PS. I use the Windows Installation 5.3.16 on win2010
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
Markus, Martin I don't have anything to add to Markus' conundrum, but as you are looking at control of font sizes, you might stumble on a way to have Therion hide text (or symbols) of particular scales, ie xs and s This old forum post describes the problem I am trying to solve. http://article.gmane.org/gmane.comp.gis.therion/1661/match=hide+font
try simply this in your thconfig (see the chapter Customizing text labels in the thbook):
code metapost fonts_setup(6,8,10,14,20); Thanks Bruce
participants (3)
-
Bruce -
Markus Boldt -
Martin Budaj