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

张民康 | 5 Sep 04:20 2014
Picon

Fwd: Wanting debug for the texdoctk

---------- Forwarded message ----------
From: 张民康 <zoengmickong@...>
Date: 2014-09-05 10:09 GMT+08:00
Subject: Wanting debug for the texdoctk
To: tr@...

Mr. Thomas Ruedas.
  I have a problem when use with texdoctk which is installed from the
texlive2014.iso in Windows 7. It seems that the texdoctk.exe can't
read the document file path whose string include space,for which the
shell can't open a file correctly. Thus, I find out the problem in the
source file texdoctk.pl in which the 454th line
> system("$viewer $slcdoc");

The statement work well if modified as follow
> system("$viewer \"$slcdoc\"");.

  So I expect to modified the Perl file then convert to exe file which
easy for use in windows. However I don't know how convert it into exe
file. It seems awful to convert it  into Perl.
  Please tell me what should I do if want to use the modified texdoctk.exe.
Thanks
Sincerely Yours

Denis Bitouzé | 23 Jun 11:41 2014
Picon

Bug with color \specials?

Hi,

a bug with latest xetex:

  XeTeX, Version 3.14159265-2.6-0.99991 (preloaded format=xelatex 2014.6.19)

occurs, probably related to color \specials: in the following MWE (say
`test.tex') compiled with xelatex, the text after the tcolorbox
environment on page 2 is colored in white.

--8<---------------cut here---------------start------------->8---
\documentclass{article}
\usepackage{lipsum}
\usepackage{tcolorbox}
%
\tcbuselibrary{breakable}
%
\begin{document}
%
\rule{0.4pt}{17cm}
%
\begin{tcolorbox}[breakable]
\lipsum[1]
\end{tcolorbox}
\lipsum
\end{document}
--8<---------------cut here---------------end--------------->8---

If compiled with:

--8<---------------cut here---------------start------------->8---
xelatex -no-pdf test
xdvipdfmx -c test.xdv
--8<---------------cut here---------------end--------------->8---

the text is colored as expected.

The trouble has been reported on:

  ╭────
  │ http://tex.stackexchange.com/q/186139/18401
  ╰────

Best regards.
--

-- 
Denis

Fischer, William M | 16 Jun 20:45 2014

epstopdf patch (% in filenames)

# $Id: epstopdf.pl 30419 2013-05-12 17:55:50Z karl $

epstopdf fails if there is a '%' character in the filename.  Patch and testfile attached.

regards,

______________________
Will Fischer

tel: 505-665-4149
fax: 505-665-3493

Group T-6, Theoretical Biology
MS K710, Drop Point 03041003U
Los Alamos National Laboratory
Los Alamos, NM 87545





Attachment (epstopdf.filename.patch): application/octet-stream, 418 bytes
Seth Gilchrist | 7 May 06:24 2014
Picon

epstopdf crashes with malloc error

Hello,
I'm using epstopdf as part of LaTeX. The latex compilation fails on a epstopdf error that can be reproduced on the command line:

$ epstopdf --outfile=NeckFractues-eps-converted-to.pdf NeckFractues.eps 
gs: malloc.c:3524: _int_malloc: Assertion `(bck->bk->size & 0x4) == 0' failed.

The eps file can be downloaded  from

Please let me know if you need more information.

System Info:

$ epstopdf --version
epstopdf ($Id: epstopdf.pl 32701 2014-01-17 18:09:54Z karl $) 2.21

$ uname -a
Linux computer01 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty

$ /lib/x86_64-linux-gnu/libc.so.6 
GNU C Library (Ubuntu EGLIBC 2.19-0ubuntu6) stable release version 2.19, by Roland McGrath et al.
Compiled by GNU CC version 4.8.2.
Compiled on a Linux 3.13.9 system on 2014-04-12.
Available extensions:
crypt add-on version 2.1 by Michael Glad and others
GNU Libidn by Simon Josefsson
Native POSIX Threads Library by Ulrich Drepper et al
BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC

Chris Hanning | 5 Mar 00:08 2014
Picon

5 Memory Objects Still Allocated

Hi,

As the Subject heading states, I have received a memory allocation
warning with my version of Latex.

I am running Texmaker under xubuntu_12.04 from the Ubuntu repositories
and have only noticed this warning at compile time since yesterday when
I attempted to compile the example sheet for the psvectorian package.

I apologize in advance for the paucity of information provided. If you
so desire I could furnish you with further details if instructed.

Sincerely,

Chris Hanning

mario chiari | 27 Feb 19:00 2014
Picon

kpathsea and compilation by a web server

Hi

my first post on this list.  I hope it is the proper forum to ask help
for my problem.

I have been a LaTeX user for some time, but with a very basic knowledge
on how it works.

On my local web server Apache (Linux platform), I create and compile a
number of .tex file calling some php script from a web client. This has
been working without main issues. 

For a recent job, I need to output some cyrillic text. I am able to do
so, if a compile a myfile.tex file from my shell (or from within an
editor as Kile) as the root user.
However, if a call from a web client a php script with instructions

`/usr/local/texlive/2013/bin/i386-linux/latex  --interaction batchmode
myfile.tex`;

compilation partially fails, in particular cyrillic letters are not
rendered. 

I have tried to execute my php script from a shell as the apache user,
and I got the following error
............
LaTeX Font Warning: Font shape `T2A/wncyr/m/n' undefined
(Font)              using `T2A/cmr/m/n' instead on input line 2.

kpathsea: Running mktextfm larm1728
mkdir: cannot create directory `././var/www/.texlive2013': Permission
denied
mktextfm: mktexdir /var/www/.texlive2013/texmf-var/fonts/tfm/lh/lh-t2a
failed.
kpathsea: Appending font creation commands to missfont.log.
! Font T2A/cmr/m/n/17.28=larm1728 at 17.28pt not loadable: Metric (TFM)
************** 

However, by setting

chown apache:apache /var/www/

i get instead
******************
LaTeX Font Warning: Font shape `T2A/wncyr/m/n' undefined
(Font)              using `T2A/cmr/m/n' instead on input line 2.
kpathsea: Running mktextfm larm1728
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;
nonstopmode; input larm1728
This is METAFONT, Version 2.718281 (TeX Live 2013)
kpathsea: Running mktexmf larm1728
mktexmf: /var/www/.texlive2013/texmf-var/fonts/source/lh/lh-t2a/larm1728.mf: successfully generated.
--snip--
*******************
and eventually I get a fine output. 

The bad news is that is not good enough, compilation still fails if I
call the same php script from my web client. 

What I note is that mktexmf creates larm1728.mf within /var/www/, where
instead my DocumentRoot is /var/www/html/ (i can not chenge that) 

I suspect the/a issue is
that .texlive2013/texmf-var/fonts/source/lh/lh-t2a/larm1728.mf should be
somewhere else within my DocumentRoot, as to be available to the web
server. 

However, I do not see where exactly and how to force mktexmf to create
it there.
I appreciate your advise.

mario

Maggie McLoughlin | 16 Jan 05:56 2014
Picon

note from Don Knuth -- bug(s) in MetaPost?

PS -- The "unfilled circles" happen when Ghostview or Preview renders
that PostScript file. But if you apply Acrobat Distiller, and presumably
also if you use a reputable Adobe "rip" to create the image, all of
the circles are filled in.

Some of them are however larger than others, because of the "stroke"
in addition to "fill", and that should not be.

Unfortunately the Ubuntu engine that converts PostScript to my
laserprinter has the same bug as Preview and Ghostview...

-- Don


Gmane