Skip to Content.
Sympa Menu

texmacs-users - Re: [TeXmacs] TeXmacs 1.7.0.10 fonts in Windows XP SP3

Subject: mailing-list for TeXmacs Users

List archive

Re: [TeXmacs] TeXmacs 1.7.0.10 fonts in Windows XP SP3


Chronological Thread 
  • From: Fabrice Arband <address@hidden>
  • To: address@hidden
  • Subject: Re: [TeXmacs] TeXmacs 1.7.0.10 fonts in Windows XP SP3
  • Date: Tue, 6 Sep 2011 17:37:05 +0200

Hello Denis,

I'm confused, because I have a very basic system: Windows XP SP3 (FR
locales), no supplementary fonts, no environment variable related to
texmacs. No maxima or gnuplot installed.
I don't even have the pregenerated font. The only things I could think of are:
- I have some software making use of the Qt framework. Could that interact?
- I have ghostscript installed (to print some stuff from the emacs editor).
- I have a portable latex distribution from here:
http://www.framakey.org/Pack/PackLatex This is a portable installation
(aimed at being used from a USB key.Leaves nothing left in registry).
Could it be the reason ? I don't think so, because on a second PC I
don't have it and Qt-texmacs still does not work.

One thing I tried: I uninstalled the latest QT-texmacs(1.0.7.10) and
installed the older 1.0.7.6 and it WORKED!
I have now the font displaying properly, and also the images! Can you
have a try with this version? Of course this is not a solution to use
an older version, but at least I have a working environment now.

Fabrice

2011/9/6 Denis J. Navas <address@hidden>:
>
> Hello Fabrice
>
>
> Thanks for your follow up.  I saw your picture and I am choked to see that
> TeXmacs looks completely awful.  I include a picture of my TeXmacs
> installation, running the first screen.  It looks good, but lacks the images
> of the pair of bulls either the spanish or the english version (from Help --
> About -- Welcome original message).  You can see it in the following web
> address:
>
>
>  
> https://docs.google.com/document/d/1-27EfiEabvk08jXNGhd3Fy9UjIla5G8npDg_cHJFEnk/edit?hl=es
>
> I am using TeXmacs 1.0.7.10 on Windows XP SP3 Spanish, with spanish locale.
>
> TeXmacs ran well, except that the only fonts that works are Roman, Concrete
> and Deja Vu (I have this last font installed in windows/fonts directory and
> also in MikTeX directory).  Therefore the situation is at least aceptable
> with respect to a minimum variety on fonts selection.
>
> Neither works the invocation of Asymptote, Maxima, Gnuplot or Graphviz,
> which I have installed in my sistem.  The last year I read somewhere that
> for windows, those sesion scripts doesn't work.  I ignore why and if the
> situation is remediable by an user.
>
> I searched the readme text files in TeXmacs installation for hints about the
> fonts use and found the following reference:
>
>    ----
>    GNU TeXmacs uses the following algorithm to find fonts:
>
>    - Look whether the font is in one of directories specified by the user
> paths TEX_TFM_PATH or TEX_PK_PATH.
>    - Look whether the font is installed by default in $TEXMACS_PATH/data/tfm
> or $TEXMACS_PATH/data/pk.
>    - Look whether the font was already generated in the TeTeX distribution
> (using kpsepath).
>    - Automatically generate the font using MakeTeXTFM and/or MakeTeXPK.
>    -----
>
> And from 'compiling TeXmacs' I learned that:
>
>    ----
>    From compiling TeXmacs:
>
>    * You have problems with the font system from TeX when running.
>      Solution: get a version of TeX with 'kpsepath', 'MakeTeXPK' and
> 'MakeTeXTFM'.
>
>    *  TeXmacs runs fine, but certain fonts are not displayed correctly.
>        Solution: This problem may have several causes:
>      o     You use a recent version (>= 7.3) of RedHat Linux or one of its
> clones. On such systems, the installation of
>            TeTeX is bugged and you need to change some permissions in order
> to allow font generation by Metafont.
>            As root, type chmod -R a+rw /var/lib/texmf/*
>      o    You do not use a standard TeX/LaTeX distribution, such as TeTeX
> (standard distributions come with scripts
>            for generating fonts, such as 'mktextfm' or 'MakeTeXTFM'). You
> may either install a more standard TeX/LaTeX
>            distribution, or download some pregenerated fonts from
> texmacs.org.
>    ----
>
>
> So, I made the two environmental variables (TEX_TFM_PATH and TEX_PK_PATH).
>  Also, modified by hand the file settings.scm in "C:\Documents and
> Settings\Denis\Datos de programa\TeXmacs\system", adding the following
> content:
>
>    ----
>    (VERSION "1.0.7.10")
>    (KPSEPATH "false")
>    (KPSEWHICH "C:\Archivos de programa\MiKTeX 2.9\miktex\bin\kpsewhich.exe")
>    (MAKETFM "C:\Archivos de programa\MiKTeX
> 2.9\miktex\bin\miktex-maketfm.exe")
>    (MAKEPK "C:\Archivos de programa\MiKTeX
> 2.9\miktex\bin\miktex-makepk.exe")
>    (TEXHASH "C:\Archivos de programa\MiKTeX 2.9\miktex\bin\texhash.exe")
>    (TFM "C:\Archivos de programa\MiKTeX 2.9\fonts\tfm")
>    (PK "C:\Documents and Settings\Denis\Configuración local\Datos de
> programa\MiKTeX\2.9\fonts\pk")
>    (PFB "C:\Archivos de programa\MiKTeX 2.9\fonts\type1")
>    (DPI "600")
>    (EC "true")
>    ----
>
> Originally the file contained the value "false" or "{}"for almost all the
> variables and '(EC "false")'.
>
> Since I suspected that TeXmacs wasn't able to find my MiKTeX installation.
>  I searched for kpsewhich, maketfm, makepk and texhash.  Maketfm and makepk
> are named differently and this could be an issue with TeXmacs.
>
> As a result, TeXmacs made a clear effort to build the fonts, but for some
> unknown reason the process failed.  I suspect that this is related to the
> lack of kpsepath in MikTeX.
>
> After this, I was determined to found and install TeTeX, but is an abandoned
> version without an addres to download it from for windows.  LaTeX live,
> informs that can't be two LaTeX version installed because the environmental
> variables conflict each other.
>
> After this failure, I searched for a LaTeX package to print font characters
> tables, but the size of the effort is big and also, the font name in LaTeX,
> although documented with the Karl Berry naming scheme, is really hard to use
> to construct the LaTeX instructions to build fonts tables.  Since I have a
> full MiKTeX instalation, I made a directory listing, and found that I have
> 512 font files.  For the mean time I haven't been able to find a programatic
> way to declare every font and instruct pdfLaTeX to generate the font table,
> which was my hope to produce the font metrics files that TeXmacs uses.
>
> I also have the idea that the font encoding tables that TeXmacs uses to
> access the characters with diacritical marks, those of Latin 1 in TeX
> encoding or ISO-8829-1, perhaps have some problem, but I haven't inspected
> in educated manner those tables because I still don't know how this
> encodings works.
>
> What I have found so far is that the mechanism for building fonts, fails in
> Windows XP SP3.  I don't now if this situation is specific to XP or to
> Windows.  I even installed TeXmacs in a path without spaces, without solving
> the fonts problem.   But the hints indicates me that is related to an
> inability to locate and use MiKTex.
>
> The solution of installing prebuild fonts, does not work well also for me.
>  There are two files available.  One of them is in TeXmacs web site.  The
> other one which I did not retained the web address where I found it, I
> believe is residing in git hub.  This is more complete, but comes from a
> Linux box and uses 'make' to build and install and wasn't able to use it
> effectively.
>
> I installed the font package from TeXmacs web site.  The first time in my
> user directory and the second time in the program directory, without a
> positive result.  The failure of using precompiled fonts with TeXmacs
> indicates me, that the problem to displaying correctly the fonts, resides in
> TeXmacs itself.
>
> I have detected two problems:
>
>    -  TeXmacs does not found the declared font and uses the Roman face
> instead (declared using the menu selecting
>        'Document -- Font -- Text font).
>    -  TeXmacs does not display correctly characters with diacritical marks
> common in spanish
>        (á é í ó ú ü Á É Í O Ú ñ Ñ ¿ ¡) with fonts different from the three I
> mentioned previously.
>
>
> As you might see, I am still far away to found a solution, but I have hope
> that I will find one.
>
> If you like, both of us can make comparisons of our Windows XP
> installations.  Perhaps your machine lacks some software, environment
> variables or a correct key in the windows registry.
>
>
> Thanks for your interest,
>
>
> Denis J Navas
>
>
>
>
> El 05/09/2011 10:26 a.m., Fabrice Arband escribió:
>>
>> Hello Denis,
>>
>> How do your fonts look like ?
>> I juste upgraded Texmacs from 1.0.7.9 to 1.0.7.10 and the welcome
>> message looks like this:
>> http://imageshack.us/photo/my-images/7/texmacs.jpg
>>
>> There is nothing new, the previous version had the same problem.
>> And the behaviour is the same problem on two different computers (both
>> are under windows XP). I have no problem with Texmacs under Linux, but
>> this bug prevents me from using Texmacs from Windows.
>>
>> Cheers,
>> fabrice
>>
>>
>



Archive powered by MHonArc 2.6.19.

Top of Page