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

Bug#665947: texlive-base: ucf mess with paper sizes



Norbert Preining <preining@logic.at> wrote:

> I have added a doc to svn 
> 	texlive2012/texlive-nonbin/trunk/libpaper-integration-layout-NEW.txt
> which I include here ... comments welcome
>
>
> --------------------------------------
> Integration of libpaper into dvips/dvipdfmx/xdvi/pdftex
>
> General overview
> ================
> * No files in under /etc/texmf are created or used
> * the main distribution files in /usr/share/texlive/... are patched to include
>   paper specific additional config files
> * these paper specific config files are located in /var/lib/texmf/...
>   by the libpaper hook

Since the file to be changed by the admin is /etc/libpaper, this sounds
fine.  However, what will happen if someone puts a copy of one of the
configuration files into /etc/texmf?  I guess it must include the same
reference to the fil ein /var, or the libpaper integration will fail?
We should document this.

> Details:
> ========
>
> /etc/texmf files to be removed and purged from ucf:
> 	pdftex:		/etc/texmf/tex/generic/config/pdftexconfig.tex
> 	dvips:		/etc/texmf/dvips/config/config.ps
> 	dvipdfmx:	/etc/texmf/dvipdfmx/dvipdfmx.cfg
> 	XDvi:		/etc/texmf/xdvi/XDvi
> original files to be patched:
> 	pdftex:		/usr/share/texlive/texmf/tex/generic/config/pdftexconfig.tex
> 	dvips:		/usr/share/texlive/texmf/dvips/config/config.ps
> 	dvipdfmx:	/usr/share/texlive/texmf/dvipdfmx/dvipdfmx.cfg
> 	XDvi:		/usr/share/texlive/texmf/xdvi/XDvi
> generated files:
> 	pdftex:		/var/lib/texmf/tex/generic/config/pdftexconfig-paper.tex
> 	dvips:		/var/lib/texmf/dvips/config/config-paper.ps
> 	dvipdfmx:	/var/lib/texmf/dvipdfmx/dvipdfmx.cfg
> 	XDvi:		/var/lib/texmf/xdvi/XDvi
> additional directives:
> 	pdftex:		\include (if exists?) pdftexconfig-paper.tex

Formally, /var is not guaranteed to be still there after a reboot, is
it?  But that would spoil our complete approach, and it doesn't fit to
reality I guess.  If anyone files a bug report, let's add a rc.d script
that checks for existence and otherwise calls paperconfig...

> 	dvips:		cconfig-paper.ps
> 	dvipdfmx:	i dvipdfmx-paper.cfg
> 	XDvi:		#include XDvi-paper (???)

What do you mean with the question mark? 

Regards, Frank
-- 
Frank Küster
Sprecher B90/Grüne OV Miltenberg und Umgebung
VCD Miltenberg, ADFC Aschaffenburg-Miltenberg
Debian Developer (TeXLive)



Reply to: