* [gentoo-user] Adding fonts in LaTeX (app-text/tetex-3.0_p1-r4)
@ 2007-10-29 11:46 Stroller
2007-10-29 20:07 ` Liviu Andronic
0 siblings, 1 reply; 4+ messages in thread
From: Stroller @ 2007-10-29 11:46 UTC (permalink / raw
To: gentoo-user
Hi there,
I have TeTeX installed on my system, which is only used by my
accounting program, LedgerSMB. It uses .tex format for the invoice
and this allows good control over layout - invoices can be printed or
emailed as PDF.
In order to make my invoice reflect my "brand identity" I have
installed some additional fonts on the system (using dev-tex/mpm) and
use these in the invoice.tex. I use Augie for the san serif body text
and Augie - one of the Emerald fonts - for "hand-written" notes.
Unfortunately an `emerge world` upgraded TeTeX yesterday and only
afterwards did I notice:
>>> Messages generated by process 19917 on 2007-10-28 12:57:40 for
package app-text/tetex-3.0_p1-r4:
WARN: setup
teTeX 3.0 ebuild will remove config files stored in /usr/share/texmf.
Please make a backup before upgrading if you changed anything.
WARN: preinst
Removing /usr/share/texmf/web2c
LOG: postinst
Now, none of my fonts work, and the invoice produced by LedgerSMB is
blank. :(
I remember this happened before, but the last time I upgraded was
March, and I can't remember how I fixed it. :(
I will take detailed notes this time. :/
There are three different updmap.cfg files on my system:
$ locate updmap.cfg
/etc/texmf/web2c/updmap.cfg
/etc/texmf/updmap.d/00updmap.cfg
/var/lib/texmf/web2c/updmap.cfg
/usr/share/man/man5/updmap.cfg.5.bz2
$
I had thought the trick was to add these lines at the foot of one of
them:
Map /usr/local/share/texmf/fonts/map/dvips/emerald.map
Map /usr/local/share/texmf/fonts/map/dvips/arev/arev.map
But this is to no avail. I know that Arev depends on some other fonts
(maths fonts? bera?), but I'd expected that this would at least show
the parts of the invoice which use the emerald font. The font files
in /usr/local/share/texmf/fonts/ have been unaffected by the upgrade
& are still there (but just to be on the safe side uninstalling them
& reinstalling them doesn't make any difference).
When I run `updmap && texhash` I see that files in my home directory
are updated:
updmap: This is updmap, version 1122009795
updmap: using transcript file `/home/stroller/.texmf-var/web2c/
updmap.log'
updmap is creating new map files using the following configuration:
config file: `/var/lib/texmf/web2c/updmap.cfg'
dvips output directory: `/home/stroller/.texmf-var/fonts/map/
dvips/updmap'
pdftex output directory: `/home/stroller/.texmf-var/fonts/map/
pdftex/updmap'
dvipdfm output directory: `/home/stroller/.texmf-var/fonts/map/
dvipdfm/updmap'
...
updmap: Scanning for Map entries:
updmap: using map file `/usr/local/share/texmf/fonts/map/dvips/
arev/arev.map'
updmap: using map file `/usr/local/share/texmf/fonts/map/dvips/
emerald.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/antp/
antp.map'
updmap: using map file `/usr/share/texmf/fonts/map/dvips/psnfss/
charter.map'
...
texhash: Updating /home/stroller/.texmf-var/ls-R...
texhash: Updating /usr/local/share/texmf/ls-R...
texhash: Updating /usr/share/texmf/ls-R...
texhash: Updating /usr/share/texmf-site/ls-R...
texhash: Updating /var/cache/fonts/ls-R...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.
As you can see arev & emerald are mentioned, but I don't seem to be
able to use emerald even on a test.tex file in my home dir. And they
certainly don't work in the invoice. Running `updmap && texhash` as
root makes no difference.
Can anyone tell me the correct place to add fonts to TeTeX so that
they'll be accessible for all users, please? I think that the way I
have done this in the past may be "unofficial" - I think I've added
my local fonts to the master list of fonts shipped with TeTeX as a
distro, and that's why they've been over-written - but it has been
the only way in the past that I've got this to work. And now I can't
find that list at all. :(
Any comments or assistance will b VERY GRATEFULLY received.
Stroller.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Adding fonts in LaTeX (app-text/tetex-3.0_p1-r4)
2007-10-29 11:46 [gentoo-user] Adding fonts in LaTeX (app-text/tetex-3.0_p1-r4) Stroller
@ 2007-10-29 20:07 ` Liviu Andronic
2007-10-30 14:29 ` Stroller
0 siblings, 1 reply; 4+ messages in thread
From: Liviu Andronic @ 2007-10-29 20:07 UTC (permalink / raw
To: gentoo-user
Hello,
On 10/29/07, Stroller <stroller@stellar.eclipse.co.uk> wrote:
> Can anyone tell me the correct place to add fonts to TeTeX so that
> they'll be accessible for all users, please? I think that the way I
> have done this in the past may be "unofficial" - I think I've added
> my local fonts to the master list of fonts shipped with TeTeX as a
> distro, and that's why they've been over-written - but it has been
> the only way in the past that I've got this to work. And now I can't
> find that list at all. :(
>
> Any comments or assistance will b VERY GRATEFULLY received.
This is not a solution in itself, but you might try this.
Download the TexLive-2007 DVD [1]. This is a recent TeX distribution,
compared to the ancient TeTeX one. Check to see if it provides the
fonts you need. If it does, you might attempt to remove TeTeX by
following the correspondent removal guide [2], sync Portage, tweak the
USE flags so as to suit your needs and emerge =texlive-2007.
This week I have successfully switched from TeTeX to TeXLive,
following the guide mentioned earlier. TeXLive contains more recent
fonts (also, consider to check the CTAN for what it provides before
downloading the .iso image), like the cm-super (that I needed for the
bold small caps), and is probably more or less up to date and complete
if you enable the needed USE flags.
[1] http://www.tug.org/texlive/
[2] http://gentoo-wiki.com/TeX_Live_2007#External_links
Regards,
Liviu
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Adding fonts in LaTeX (app-text/tetex-3.0_p1-r4)
2007-10-29 20:07 ` Liviu Andronic
@ 2007-10-30 14:29 ` Stroller
2007-10-30 18:35 ` Liviu Andronic
0 siblings, 1 reply; 4+ messages in thread
From: Stroller @ 2007-10-30 14:29 UTC (permalink / raw
To: gentoo-user
On 29 Oct 2007, at 20:07, Liviu Andronic wrote:
> This is not a solution in itself, but you might try this.
>
> ... This is a recent TeX distribution,
> compared to the ancient TeTeX one. Check to see if it provides the
> fonts you need. If it does, you might attempt to remove TeTeX by
> following the correspondent removal guide [2], sync Portage, tweak the
> USE flags so as to suit your needs and emerge =texlive-2007.
>
> ... TeXLive contains more recent
> fonts ... and is probably more or less up to date and complete
> if you enable the needed USE flags.
Hi Liviu,
Thanks for your reply.
Since the teTeX homepage has for some time carried a "de-support
notice" I'm quite happy to upgrade to TeXLive, irrespective of
whether the fonts I need are preinstalled. Since teTeX has been
unsupported so long I'm glad that TeXLive has finally made it into
portage, and it will be a necessary upgrade at some point or another.
I'll get on the case with this this evening, but in the meantime, any
idea how to add fonts to TeXLive, in case I need to?
Cheers,
Stroller.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] Adding fonts in LaTeX (app-text/tetex-3.0_p1-r4)
2007-10-30 14:29 ` Stroller
@ 2007-10-30 18:35 ` Liviu Andronic
0 siblings, 0 replies; 4+ messages in thread
From: Liviu Andronic @ 2007-10-30 18:35 UTC (permalink / raw
To: gentoo-user
On 10/30/07, Stroller <stroller@stellar.eclipse.co.uk> wrote:
> I'll get on the case with this this evening, but in the meantime, any
> idea how to add fonts to TeXLive, in case I need to?
I could only suggest to look at the installation instructions found in
cm-super, or some other well maintained font.
Liviu
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-10-30 18:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-29 11:46 [gentoo-user] Adding fonts in LaTeX (app-text/tetex-3.0_p1-r4) Stroller
2007-10-29 20:07 ` Liviu Andronic
2007-10-30 14:29 ` Stroller
2007-10-30 18:35 ` Liviu Andronic
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox