Re: Di permessi, pacchetti e distribuzioni

#70708
Up
0
Down
::


Scusate ma aggiungo le ultime novità.

Ho sistemato il path come nella guida posta dal buon OldClaudio, riferente ai sistemi Linux.
Compilando un semplice file ottengo il file nominato “log” posto in allegato.

La cosa strana è che compila sempre, se non erro nell’interpretazione, riferendosi al vecchio indirizzo. Esempio, cerca nella libreria: /usr/share/texlive/texmf-dist/tex/latex/base/fontenc.sty

Non mi rende l’output del pdf.

Mentre da terminale se digito i comandi:
`
[simone@localhost ~]$ which pdftex
/opt/texbin/pdftex
[simone@localhost ~]$ texdoc
Usage: texdoc [OPTION]… NAME…
or: texdoc ACTION

Try to find appropriate TeX documentation for the specified NAME(s).
Alternatively, perform the given ACTION and exit.

Current settings: –view, –interact (default).

Options:
-w, –view Use view mode: start a viewer. (default)
-m, –mixed Use mixed mode (view or list).
-l, –list Use list mode: show a list of results.
-s, –showall Use showall mode: show also “bad” results.

-i, –interact Use interactive menus. (default)
-I, –nointeract Use plain lists, no interaction required.
-M, –machine Machine-readable output for lists (implies -I).

-q, –quiet Suppress warnings and most error messages.
-v, –verbose Print additional information (eg, viewer command).
-d, –debug[=list] Activate debug output (restricted to list).

Environment: PAGER, BROWSER, PDFVIEWER, PSVIEWER, DVIVIEWER.
Files: /texdoc/texdoc.cnf, see output of the –files option.
Report bugs to .
Full manual available via `texdoc texdoc'.
[simone@localhost ~]$
`

Inoltre nella guida per Fedora indicava questo:
Fedora

Il file da registrare come /etc/profile.d/texlive.sh deve essere diverso e contenere
#!/bin/bash
pathmunge () {
if ! echo $PATH | /bin/egrep -q “(^|: )$1($|: )” ; then
if [ “$2” = “after” ] ; then
PATH=$PATH:$1
else
PATH=$1:$PATH
fi
fi
}
pathmunge /opt/texbin
unset pathmunge
Altra differenza è che in Fedora si lavora come root per l’amministrazione, quindi i co-
mandi che vengono indicati per Ubuntu con il prefisso sudo vanno eseguiti dopo un
comando iniziale su (e senza sudo, ovviamente).

Il mio è questo:
`

[simone@localhost ~]$ cd /etc/profile.d/
[simone@localhost profile.d]$ cat texlive.sh
export PATH=/opt/texbin:${PATH}
`

Che sia qua la ragione dell’errore?

Grazie e scusate i molteplici post.

Go to top