Quoting jeu, 21 mar 2013 Patrick Dupre <patrick.du...@univ-littoral.fr>:

Thank for the email.

Le 21/03/2013 12:10, Patrick Dupre a écrit :
Hello,

lyx works fine but not latex, in fact bibtex! I get the following
error: I couldn't open style file unsrt.bst


as root kpsewhich unsrt.bst gives:
/usr/share/texlive/texmf-dist/bibtex/bst/base/unsrt.bst

but as a user there is not response!

what are the permissions for:

/usr/share/texlive/texmf-dist/bibtex/bst/base/unsrt.bst ?
-rw-r--r--. 1 root root 18030 Dec 14 2010 /usr/share/texlive/texmf-dist/bibtex/bst/base/unsrt.bst

I fixed the issue at least temporarily by doing:
BSTINPUTS=$BSTINPUTS:/usr/share/texlive/texmf-dist/bibtex/bst/base/

But is it the right way of doing?

texhash can be run as a user, but:

texhash: /usr/share/texlive/texmf: directory not writable.
Skipping... texhash: /usr/share/texlive/texmf-config: directory not
writable. Skipping... texhash: /usr/share/texlive/texmf-dist:
directory not writable. Skipping...

texhash is obsolete, you should use fmtutil or fmtutil-sys (as root).
But if kpsewhich finds a file, this file is quoted in the ls-r file that
latex uses to find the files it needs.


- --
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAlFLDAQACgkQdE6C2dhV2JUZLQCfX1r9vfEIu/bkmUjlX77UB9X7
GEQAn1AcIIYXeCWlhCk4FIJzF/2/K52A
=oXc+
-----END PGP SIGNATURE-----
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




--
============================================================================
 Patrick DUPRÉ                                  | | email: pdu...@kegtux.org
 Laboratoire de Physico-Chimie de l'Atmosphère  | |
 Université du Littoral-Côte d'Opale            | |
 Tel.  (33)-(0)3 28 23 76 12                    | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                  | | 59140 Dunkerque, France
============================================================================


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




--
============================================================================
 Patrick DUPRÉ                                  | | email: pdu...@kegtux.org
 Laboratoire de Physico-Chimie de l'Atmosphère  | |
 Université du Littoral-Côte d'Opale            | |
 Tel.  (33)-(0)3 28 23 76 12                    | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann                  | | 59140 Dunkerque, France
============================================================================


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to