[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_installtexfonts and dvips -P config.foo



'ello!

preining> > A few of my packages install fonts using dh_installtexfonts (very
preining> > handy I must say).  But wouldn't it also be useful to create an extra
preining> > `config.foo' file in, let's say /usr/share/texmf/dvips/config/ with
preining> > 
preining> >   Map +foo.map
preining> > 
preining> > as its contents, so a command like `dvips -P foo' would work too?
preining> 
preining> Good question: Of course there is a slight problem here: For simple
preining> dh_installtexfonts calls like
preining> 	dh_installtexfonts Map=a.map MixedMap=b.map
preining> this would be easy. I.e. we could add
preining> 	config.a
preining> 	config.b
preining> into the respective directory.

Heh, good question too.  As you might have suspected, I have only used
dh_installtexfonts with the simple syntax /ut supra/.


preining> But with more complicated calls:
preining> 	dh_installtexfonts foo.cfg bar.cfg=42 Map=a.map
preining> we would have to parse the foo.cfg file (which is possible, of course).
preining> 
preining> In the later case, do we want to add config.XXX for every XXX which is
preining> *activate* in foo.cfg, or all even those deactivated?
preining> 
preining> Assume foo.cfg is
preining> #Map a.map
preining> #Map b.map
preining> Map c.map
preining> 
preining> and we call
preining> 	dh_installtexfonts foo.cfg
preining> which config.X should be generated? Only config.c, or also config.a and
preining> config.b.

I think it should also create the config.* files for commented
maps.  dvips won't use the maps even if the config.* file in question
is installed, unless you specifically add the "-P" option.


Kind regards



Danai SAE-HAN
韓達耐

-- 
题目:《无题》
作者:晏殊(991-1055)

油壁香车不再逢,峡云无迹任西东。
梨花院落溶溶月,柳絮池塘淡淡风。
几日寂寥伤酒后,一番萧瑟禁烟中。
鱼书欲寄何由达,水远山长处处同。



Reply to: