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
Komarov, Oleg | 21 Oct 12:58 2014
Picon

Bug or clarification? "/undefined in uageLevel"

Hi,

I am simply calling "epstopdf a.eps" and I get the following output:

Error: /undefined in uageLevel: Operand stack: Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1926 1 3 %oparray_pop 1925 1 3 %oparray_pop --nostringval-- 1909 1 3 %oparray_pop 1803 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:1169/1684(ro)(G)-- --dict:0/20(G)-- --dict:81/200(L)-- Current allocation mode is local Last OS error: No such file or directory MiKTeX GPL Ghostscript 9.05: Unrecoverable error, exit code 1 epstopdf.exe: Invalid argument

I also posted on http://tex.stackexchange.com/questions/208179/epstopdf-error-undefined-in-uagelevel.

I read that:
The case of "%%BoundingBox: (atend)" when input is not seekable (e.g., from a pipe) is not supported
is that what is happening? I am not sure I understand the meaning of input not seekable (tried to google but still don't get it since I am not using "cmd | cmd" as would be on Linux).

Can you please advise on how to solve this issue?


Thanks for your time


Oleg Komarov
Finance Group - Doctoral Programme Student

Imperial College Business School
Tanaka Building
South Kensington Campus
London SW7 2AZ

P please consider the environment - do you really need to print this email?
Attachment (a.eps): application/postscript, 62 KiB
Andrew Komornicki | 7 Oct 23:49 2014
Picon
Picon

Re: speed of kpsewhich to get value of TEXMFLOCAL


Hi,

would it not be simpler to just define these variables in your
environment so that your makefile can pick them up at will.  You would
not have to invoke kpsewhich and incur the execution penalty.  Karl most
probably has the most insight into execution bottlenecks with his
routine. just a thought.

regards,
andrew

 Andrew Komornicki
 Department of Chemistry
 Stanford University

On 10/7/2014 1:01 AM, jfbu wrote:
> Hi,
> 
> in a Makefile I am currently testing I have something like this
> 
> TEXMF_LOCAL = $(shell kpsewhich -var-value TEXMFLOCAL)
> TEXMF_HOME  = $(shell kpsewhich -var-value TEXMFHOME)
> 
> however evaluation of each variable is very slow, of the order
> of half a second on my mac os x mavericks with TL2014
> 
> ======Makefile:
> # TEXMF_LOCAL = `kpsewhich -var-value TEXMFLOCAL`
> TEXMF_LOCAL = $(shell kpsewhich -var-value TEXMFLOCAL)
> TEXMF_HOME  = $(shell kpsewhich -var-value TEXMFHOME)
> 
> all: testlocal testhome
> 
> testlocal:
> 	 <at> echo $(TEXMF_LOCAL)
> 
> testhome:
> 	 <at> echo $(TEXMF_HOME)
> 
> ======running it
> $ time make
> /usr/local/texlive/texmf-local
> /Users/---/Library/texmf
> 
> real	0m0.996s
> user	0m0.964s
> sys	0m0.026s
> 
> What can I do to get TEXMFLOCAL ?
> It is not `shell` the culprit as for example
> one can test with $(shell ls -l Makefile) to
> get execution time without kpsewhich.
> 
> I use it only for certain targets, and putting 
> TEXMF_LOCAL := ...
> at the top of the Makefile, as I was going to do,
> is currently excluded as it slows down all targets
> 
> Jean-Francois
> 
> 
> 

Herbert Voss | 2 Oct 20:35 2014
Picon
Picon

PSTricks and xdvipdfmx

Hello all,

the following works fine with tex->dvips-ps2pdf
but with xetex it fails, more or less no output.

%-----------------------------------------
\input pst-node

\rput(1,0){\rnode{A}{Stuff A}}%
\rput(0,1){\rnode{B}{Stuff b}}
\ncline{A}{B}

\bye
%-----------------------------------------

If you comment the line with \ncline the two text boxes
appear. I suppose a problem with the underlying coordinate
system but I cannot see any problem in the xdvipdfmx.cfg
of PSTricks.

I run up-to-date TL 2014

Herbert

Stephan Hennig | 1 Oct 18:06 2014
Picon

ligatures and explicit kerns

Hi,

in the TeXbook, the answer to exercise 5.1 (the shelfful exercise)
contains a sentence

  Appendix H points out that ligatures are put into a hyphenated
  word that contains no “explicit kerns,” and an italic correction
  is an explicit kern.

I didn't find the place in appendix H the quote refers to, so pointers
would be appreciated.

Anyway, as I understand the quote, ligatures won't be inserted in words
that do contain explicit kerns.  That is, to suppress multiple ligatures
within a word, it should be enough to insert just /one/ italic
correction (between two of the ligature candidates).  Though, a test
turns out that this is not the case.

shelf\/fulfi
\bye

outputs the word with two separate letters f but the fi ligature
applied.  Could anybody please shed some light on the quote above?

Best regards,
Stephan Hennig


Gmane