Bruno Voisin | 19 Aug 14:32 2015

List of file type NAMEs in the TL doc

Hi Karl (or whoever monitors this address),

Regarding the list of names for --show-path, §7.2.2 of the texlive doc in TEXMFDIST/doc/texlive, that is

https://www.tug.org/texlive/doc/texlive-en/texlive-en.html#x1-660007.2.2

refers to --format which refers in turn to "kpsewhich --help", yielding

-format=NAME           use file type NAME (see list below).
-show-path=NAME        output search path for file type NAME (list below).

There is no list below, unfortunately, just

Email bug reports to tex-k@...
Kpathsea home page: http://tug.org/kpathsea/

Actually the list may be found in §§5.5.1 and 6.1 of the kpathsea doc in TEXMFDIST/doc/kpathsea, that is 

http://tug.org/texinfohtml/kpathsea.html#Invoking-kpsewhich
http://tug.org/texinfohtml/kpathsea.html#Supported-file-formats

but it seems it's been overlooked at some point when updating the texlive and kpathsea docs.

Or am I missing something?

Bruno Voisin

Pavel Sanda | 14 Aug 06:22 2015
Picon

epstopdf bug?

Hi,

attached is eps file which loads fine when using several postscript viewers
(e.g. gv, evince) but the content inside frame disappears when converting via
epstopdf.

The problem can be consistently reproduced by using matlab imagesc function
for graphs with scaled x axis. Not sure whether it's matlab producing
broken eps or epstopdf problem, but given that several viewers have no 
problem to display the file I guess the later is the case.

Can anyone reproduce or give a hint how to fix this problem?

Thanks,
Pavel
Attachment (2015-03-14.eps): application/postscript, 155 KiB
jfbu | 1 May 19:50 2015
Picon

kpsewhich --var-value

Hi,

the kpathsea manual says 

http://tug.org/texinfohtml/kpathsea.html#Auxiliary-tasks

•  ‘--var-value=variable’ outputs the value of variable, expanding ‘$’ (see Variable
expansion and ‘~’ (see Tilde expansion) constructs, but not performing other expansions.

but: 

$ env TEXMFHOME="/tmp" kpsewhich --var-value '$TEXMFHOME'

$ env TEXMFHOME="/tmp" kpsewhich --var-value TEXMFHOME
/tmp

This is a bash shell

Do I do something wrong ? 

$ export TEXMFHOME="/tmp"
$ kpsewhich -var-value TEXMFHOME
/tmp
$ kpsewhich -var-value '$TEXMFHOME'

$ 

Perhaps it is to be understood that if a texmf.cnf defines a variable then if this variable is queried, $ and ~
therein will be expanded ? 

(Continue reading)

jfbu | 30 Apr 14:51 2015
Picon

Speed of kpsewhich when querying the repertories of the TeX installation

Hi,

upcoming TL2015 brings a great speed improvement to kpsewhich
on Mac OS X system, thanks to Adam Maxwell's analysis of the
problem.

https://email.esm.psu.edu/pipermail/macosx-tex/2014-October/053026.html

but even after this great improvement, querying TEXMFHOME
and similar locations does still take some non vanishing time:

$ time kpsewhich --var-value=TEXMFHOME
/Users/---/Library/texmf

real	0m0.090s
user	0m0.081s
sys	0m0.006s

This is on MacBook Air, and I get similar results on a i386 Linux box 

$ time kpsewhich --expand-path '$TEXMFHOME' 
/---/texmf

real	0m0.109s
user	0m0.072s
sys	0m0.010s

A tenth of second just to query a repertory location seems
a lot to naive people unaware of the constraints (unknown to me) 

(Continue reading)

Ettore Aldrovandi | 24 Apr 17:58 2015
Picon

luajittex test fail on Solaris 10 x86_64

Hello, 

I get one test failure for luajittex during the TeXLive build process. This is on Solaris 10, 64bit. I’m attaching test-suite.log

—Ettore

Attachment (test-suite.log): application/octet-stream, 469 bytes





Ettore Aldrovandi
Department of Mathematics, Florida State University
1017 Academic Way                *    http://www.math.fsu.edu/~ealdrov
Tallahassee, FL 32306-4510, USA * * aldrovandi at math dot fsu dot edu

Attachment (smime.p7s): application/pkcs7-signature, 7116 bytes
Manuel López-Ibáñez | 16 Apr 13:49 2015
Picon
Picon

bibtex should print the path of the bib files it uses

Dear BibTeX maintainers,

I just wasted a few hours for something that could have been caught earlier if 
BibTeX printed the full path to the bib files it uses. Small testcase:

$ cat <<EOF >test.tex
\documentclass{article}
\begin{document}
\cite{X}
\bibliographystyle{plain}
\bibliography{000O}
\end{document}
EOF
$ cat <<EOF >/tmp/000O.bib
 <at> misc{X,
   title =        "Wrong one"
}
EOF
$ export BIBINPUTS=/tmp/:.
$ pdflatex test.tex
$ bibtex test.aux
This is BibTeX, Version 0.99d (TeX Live 2013/Debian)
The top-level auxiliary file: test.aux
The style file: plain.bst
Database file #1: 000O.bib

Now the problem is that if the search patch is set by other means (for example 
by the distribution) and if I actually meant to include 0000.bib (note the typo 
in the last character). I will have a hard time figuring out that the 000O.bib 
included by bibtex is actually /tmp/000O.bib and not ./000O.bib. The latter 
would have resulted in an error and then I would have noticed the typo.

The above is distilled from a real user-case in Ubuntu GNU/Linux where the file 
/usr/share/texlive/texmf-dist/bibtex/bib/computational-complexity/journals.bib 
is included by default and if I had intended to use ./journals.bib but my file 
was misnamed ./journal.bib, then bibtex does not gives me any hint that 
something is wrong.

What I would expect above is:

This is BibTeX, Version 0.99d (TeX Live 2013/Debian)
The top-level auxiliary file: test.aux
The style file: plain.bst
Database file #1: /tmp/000O.bib

that is, for bibtex to print the path to the file it uses. I would go as far as 
to suggest the same for "The style file:".

BibTeX 0.99d (TeX Live 2013/Debian)
kpathsea version 6.1.1

Thanks,

Manuel.

KUROKI Yusuke | 20 Jan 04:40 2015
Picon

Issues in epstopdf in MSYS/MinGW system

Hello, the list,

I would like to report inconvenience of epstopdf(.pl)
in the MSYS (or MinGW) system, which is a mainly
developers' environment providing bash,
Unix-like text utilities, and more in Windows OS,
and make a proposal to improve it.

(1)
While using MSYS, system name is changed to "MSYS",
not "MSWin...".  Since $GS should be gswin32 to use TeX
Live's tlgs distribution, $on_windows variable should be
also true when the system name is "MSYS".

(2)
MSYS changes some character strings including /
as shown at http://www.mingw.org/wiki/Posix_path_conversion .
The options to Ghostscript has /, then epstopdf fails.
Ghostscript's help says "(you can use # in place of =)"
and documentation says also "Ghostscript treats '#' the
same internally, and the '=' is mangled by the command
shell. " (e.g., at http://www.ghostscript.com/doc/current/Use.htm#MS_Windows)
epstopdf(.ps) has two cases giving option separated by "="
to Ghostscript; I think "=" should be "#" in both cases.

The attached file is a proposal patch to trunk of TeX Live repository.

Best,
-- KUROKI Yusuke
--- epstopdf.pl.orig	2015-01-18 17:55:00.025652200 +0900
+++ epstopdf.pl.new	2015-01-20 08:26:05.057988400 +0900
 <at>  <at>  -179,7 +179,7  <at>  <at> 
 END_COPYRIGHT
 my $title = "$program $ident\n";

-my $on_windows = $^O =~ /^MSWin/;
+my $on_windows = $^O =~ /^MSWin/ || $^O eq "msys";
 my $on_windows_or_cygwin = $on_windows || $^O eq "cygwin";

 ### ghostscript command name
 <at>  <at>  -570,7 +570,7  <at>  <at> 
   warnerr "Invalid value for --pdfsettings: $::opt_pdfsettings";
   $::opt_pdfsettings = '';
 }
-push  <at> GS, "-dPDFSETTINGS=/$::opt_pdfsettings" if $::opt_pdfsettings;
+push  <at> GS, "-dPDFSETTINGS#/$::opt_pdfsettings" if $::opt_pdfsettings;

 push  <at> GS, qw[
   -dMaxSubsetPct=100
 <at>  <at>  -596,7 +596,7  <at>  <at> 
         . "(use 'All', 'None' or 'PageByPage'";
   $::opt_autorotate = '';
 }
-push  <at> GS, "-dAutoRotatePages=/$::opt_autorotate" if $::opt_autorotate;
+push  <at> GS, "-dAutoRotatePages#/$::opt_autorotate" if $::opt_autorotate;
 $rotmsg = $::opt_autorotate ? $::opt_autorotate : "[use gs default]";

 foreach my $gsopt ( <at> ::opt_gsopt) {
Mehdi Mahmoodi nia | 4 Jan 01:32 2015
Picon

bibtex cannot find my .bib file

Dear Developer,

Recently, I upgrade my mac OSX machine to Yosemite and got several problems with references in latex. I'm using Aquamcs editor to distribute the latex.  Before upgrading, this file worked properly. This is the error message, when I run the tex file :
   
Running `BibTeX' on `Manuscript' with ``bibtex Manuscript''
This is BibTeX, Version 0.99d (TeX Live 2013)
The top-level auxiliary file: Manuscript.aux
I couldn't open database file paper.bib
---line 151 of file Manuscript.aux
 : \bibdata{paper
 :                       }
I'm skipping whatever remains of this command
The style file: pccp.bst
I found no database files---while reading file Manuscript.aux
Warning--I didn't find a database entry for "nm_6_183"
Warning--I didn't find a database entry for "mt_10_20"
.
.
.
Warning--I didn't find a database entry for "jams_3_270"
(There were 2 error messages)

TeX Output exited abnormally with code 2 at Sun Jan  4 01:20:21

Your help and suggestions would be greatly appreciated.
 
Regards
Mehdi
Julian Gilbey | 4 Dec 14:34 2014
Picon

kpsewhich --help is unwieldy

I just typed kpsewhich --help and the output reached (on my
80-character width screen) 522 lines, which is unhelpful.

Could the list of recognised suffixes be made available through a
separate command such as kpsewhich --help-suffixes (with a note to
this effect at the end of the ordinary help)?  And maybe not list the
expanded paths, as they take up most of the screen space, and are
available through other easy-to-use documented means if required?

Best wishes,

   Julian

stefano franchi | 22 Nov 00:17 2014
Picon

How to expand kpathsea list of file types?

Dear all,


I'd like to add biblatex style files (i.e. *.cbx and *.bbx) to the list of file types recognized to kpathsea. I looked at the texmf.cnf configuration file and found the following definitions for bibtex:


% BibTeX bibliographies and style files.  bibtex8 also uses these.
BIBINPUTS = .;$TEXMF/bibtex/bib//
BSTINPUTS = .;$TEXMF/bibtex/{bst,csf}//

So I thought adding similar definitions for Biblatex (in the system-wide tree, not the distribution texmf.cnf) would work:

% BibLaTeX citation (cbx) and reference (bbx) style files.
CBXINPUTS = .;$TEXMF/tex/latex/{cbx}//
BBXINPUTS = .;$TEXMF/tex/latex/{bbx}//


But it does not. What else do I need to do? Define/add  CBXINPUTS and BBBXINPUTS somewhere, perhaps?


Thanks for the help.

Stefano


P. S. Why do I want to do this: I am working on adding biblatex support to LyX. We rely on kpsewhich to obtain lists of all the various kinds of  files LaTeX needs (cls, sty, bst, etc). The lists are then used at various points in the program (to populate widgets, to compile docs, and so on). I would like to simply extend the standard kpsewhich interface to biblatex files, if possible rather than working on an ad hoc solution.


--
__________________________________________________
Stefano Franchi

stefano.franchi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
http://stefano.cleinias.org
Kiran Kolwankar | 25 Oct 12:14 2014
Picon

Bug?

I recently upgrade to ubuntu 14.04. While installing it
showed some error with tex-common but it continued
and completed the installation.

Today, while doing pdflatex I encountered the following error:

This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)
 restricted \write18 enabled.
---! /var/lib/texmf/web2c/pdftex/latex.fmt doesn't match pdftex.pool
(Fatal format file error; I'm stymied)

I searched on the net and did various things suggested on
different mailing list:

1) Running the code:

cd /etc/texmf
for a in `find . -name "*.pacnew"`; do
    sudo mv $(echo ${a/.pacnew/}) $(echo ${a/.pacnew/}).mybackup;
    sudo mv $a $(echo ${a/.pacnew/});
done
sudo fmtutil-sys --all

2) Renaming the file .texmf-var

3) Complete removal of texlive and reinstalling it (as somebody had
succeeded with it).

But nothing worked. Rather there were errors while reinstalling and that is what
I am reporting. I am attaching three files.

But if I run pdflatex now I get a different (following) error:

This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/Debian)
 restricted \write18 enabled.

kpathsea: Running mktexfmt pdflatex.fmt
I can't find the format file `pdflatex.fmt'!

What could be the problem? I need to use latex urgently.
Anyway, I'll keep searching the net to find out more though
I am not an expert in linux. Now I feel I unnecessarily hurried
and updated the linux.

I'll be nice if there is some solution to this.

Thanking you in advance,
Best regards,
Kiran
Attachment (error_report): application/octet-stream, 1454 bytes
Attachment (synaptic_details): application/octet-stream, 24 KiB
Attachment (updmap.bRoGssFq): application/octet-stream, 139 KiB

Gmane