David.Kastrup | 2 Sep 2002 07:37
Picon
Favicon

Re: dvipng with preview-latex

Jan-Ake Larsson schrieb:
> > Since I now have dvipng installed on my machine, is it
> possible yet 
> > to have preview-latex use it?
> 
> Nope. But David has been constructing a new framework for
> fitting in
> different renderers like dvipng/latexpdf/younameit (but
> he is away
> right now).

More like "is still brooding over the right semantics and implementing
bits and pieces.  This is not easy to get good.

Email access from here is a drag.  While people pooh-poohed my attempts
of hooking up 10Base2 to their hub ("it only has a BNC Uplink", as if
Thin Ethernet made differences like that), that part worked fine.  But
somewhere after the cable connection things become s l  o    w.

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
David.Kastrup | 2 Sep 2002 15:35
Picon
Favicon

Re: rel-0-7-3; calendar conflict

Holger Sparr schrieb:
> 
> Hi,
> 
> > Remember to cover the basics.  Including a minimal
> LaTeX example
> > file exhibiting the problem might help.
> 
> There is no need for an example.  When using calendar for
> preparing a
> tex-buffer an error gets signaled (below the backtrace).

Fixed in current CVS version.  The 0.7.3 code was not prepared to deal
with buffers without associated files.  You will not be able to do
anything related to previews before saving your file properly, still,
but at least the file startup does not bomb out.

Writing this Email via my Indian connection was more complicated than
getting the changes across via CVS.

David

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Preview-latex-bugs mailing list
Preview-latex-bugs <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/preview-latex-bugs
(Continue reading)

Ralf Helbing | 10 Sep 2002 15:36
Picon
Favicon

rel-0-7-3; preview.ps nicht gefunden


Remember to cover the basics.  Including a minimal LaTeX example
file exhibiting the problem might help.

jo, also Die Latex-Datei ist Eure circ.tex.  Hier der Emacs-Debugger:

Debugger entered--Lisp error: (file-error "Opening input file" "no such file or directory" "/home/helbing/Emacs/preview-latex-0.7.3/circ.prv/ttmp22535bSf/preview.ps")
  signal(file-error ("Opening input file" "no such file or directory" "/home/helbing/Emacs/preview-latex-0.7.3/circ.prv/tmp22535bSf/preview.ps"))
  preview-reraise-error(#<process Preview-DviPS>)
  preview-gs-dvips-sentinel(#<process Preview-DviPS> "Preview-DviPS" t)
  #[(process command) "Â	Ã#‡" [process command preview-gs-dvips-sentinel t] 4](#<process
Preview-DviPS> "Preview-DviPS")
  TeX-command-sentinel(#<process Preview-DviPS> "finished\n")

eine circ.ps, log und so legt er aber an, ebenso das tmp22535bS
Verzeichnis.  Kann man nicht die circ.ps nehmen stattdessen?

Ralf
======================================================================

Emacs  : GNU Emacs 21.1.2 (sparc-sun-solaris2.5.1, X toolkit)
 of 2002-01-03 on luxator
Package: rel-0-7-3

current state:
==============

Output from running `gs -h':
Aladdin Ghostscript 5.50 (1998-9-16)
Copyright (C) 1998 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
(Continue reading)

David Kastrup | 10 Sep 2002 17:40
Picon
Favicon

Re: rel-0-7-3; preview.ps nicht gefunden

Ralf Helbing <helbing <at> isg.cs.uni-magdeburg.de> writes:

> Remember to cover the basics.  Including a minimal LaTeX example
> file exhibiting the problem might help.
> 
> jo, also Die Latex-Datei ist Eure circ.tex.  Hier der Emacs-Debugger:
> 
> Debugger entered--Lisp error: (file-error "Opening input file" "no such file or directory" "/home/helbing/Emacs/preview-latex-0.7.3/circ.prv/ttmp22535bSf/preview.ps")
>   signal(file-error ("Opening input file" "no such file or
>   directory"
>   "/home/helbing/Emacs/preview-latex-0.7.3/circ.prv/tmp22535bSf/preview.ps"))

???????  Is this _really_ copy&paste?  Directory names differ!

> eine circ.ps, log und so legt er aber an, ebenso das tmp22535bS
> Verzeichnis.  Kann man nicht die circ.ps nehmen stattdessen?

dvips is not called in a way that is supposed to produce circ.ps.
Unless you are yourself producing this ps-file, there is something
very fishy going on.

--

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: David.Kastrup <at> t-online.de

-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
(Continue reading)

David Kastrup | 11 Sep 2002 10:02
Picon
Favicon

Re: rel-0-7-3; preview.ps nicht gefunden

Ralf Helbing <helbing <at> isg.cs.uni-magdeburg.de> writes:

> 
> > dvips is not called in a way that is supposed to produce circ.ps.
> > Unless you are yourself producing this ps-file, there is something
> > very fishy going on.
> 
> dann hol mal Deine Angel raus: er hat eben wieder circ.fmt, circ.ps,
> circ.prv und circ.log angelegt (in dieser Reihenfolge)
> 
> Die Log schicke ich gleich nochmal ungefragt mit:

[...]
> Preview-LaTeX exited abnormally with code 1 at Tue Sep 10 20:52:57
> Running `Preview-DviPS' with ``dvips -Pwww circ.dvi -o /home/helbing/Emacs/preview-latex-0.7.3/circ.prv/tmp26332g2G/preview.ps''
> This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com)
> ' TeX output 2002.09.10:2052' -> circ.ps

Well, I repeat my contention that there is something very fishy going
on.  Dvips is called with an explicit request to be producing
/home/helbing/Emacs/preview-latex-0.7.3/circ.prv/tmp26332g2G/preview.ps,
yet it will write to circ.ps nevertheless.  Please try calling this
stuff from the command line yourself.  Does it make a difference if
-o /home... is specified before circ.dvi in the line?  What are the
contents of the respective config.ps and config.www files?

You can play around with

  M-x configure-variable RET preview-fast-dvips-command RET

(Continue reading)

David Kastrup | 11 Sep 2002 13:26
Picon
Favicon

Re: rel-0-7-3; preview.ps nicht gefunden

Ralf Helbing <helbing <at> isg.cs.uni-magdeburg.de> writes:

> irgendwer hatte bei uns in /usr/local/bin folgendes unter dem Namen
> dvips installiert:
> 
> /usr/local/teTeX/bin/sparc-sun-solaris2.5.1/dvips $* -o
> 
> damit könnt Ihr natürlich nicht rechnen :-)

I hope you have a loaded gun at your disposal?  Whoever has write
permissions to /usr/local/bin would probably also have write
permission to the config file for Dvips and could easily disable the
default automatic printing operation there without screwing
everything up for everybody else.  By the way, the above invocation
also is bad apart from all of the obvious unfortunate implications:
you should be rather writing
"$ <at> "
instead of
$*
so as to avoid having the Shell reinterpret the command line
arguments in case they contain any special characters.

This may seem like a minor quibble, but if you don't watch stuff like
that, pranksters doing things like
mkdir -p "/tmp/
-rf
/etc"
can cause serious damage with uncleanly written system cleanup
scripts.

(Continue reading)

Oliver Jennrich | 11 Sep 2002 14:40
Picon

Not a bug, but a reoprt of an successful install.


Yes, I know ;-)

But as there is no preview-latex-praise list, this one has to do.

I sucessfully installed preview-latex on 

21.4 (patch 9) \"Informed Management (Windows [3])\" XEmacs Lucid
(the cygwin, not the native version)

Problems arose, when configure didn't like the fact that I don't have
a 'texhash' (my TeX is MikTeX) and stopped with an 'error: /bin/true'.
Interestingly, the very same /bin/true exists and is well some lines
earlier:

configure:1857: checking for install-info
configure:1888: result: /bin/true

But anyway, an 'ln -s /bin/true /usr/local/bin/texhash' solved this
problem.

The next obstacle was the fact, that as my dvips is from MikTeX, it
really didn't like the /cygdrive/c/... paths. It accepts forward
slashes instead of the backslashes, though, so I created a little
shell-script preview-dvips.sh:

#!/bin/sh

dvips `echo $ <at>  | sed "s|/cygdrive/[a-z]||g"`

(Continue reading)

William Gibbons | 12 Sep 2002 15:38
Picon
Picon

rel-0-7-2b; page up/page down problem

Hi,

I find that page up, followed by page down doesn't return me to the
place I started from, if there is (for instance) a commutative diagram
in my latex file which has been rendered by preview-latex, in the
space inbetween where I am using page up/page down.

Is there a fix for this?

Thanks

William

Remember to cover the basics.  Including a minimal LaTeX example
file exhibiting the problem might help.

Emacs  : GNU Emacs 21.2.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-04-08 on porky.devel.redhat.com
Package: rel-0-7-2b

current state:
==============

Output from running `gs -h':
GNU Ghostscript 6.52 (2001-10-20)
Copyright (C) 2001 artofcode LLC, Benicia, CA.  All rights reserved.
Usage: gs [switches] [file1.ps file2.ps ...]
Most frequently used switches: (you can use # in place of =)
 -dNOPAUSE           no pause after page   | -q       `quiet', fewer messages
 -g<width>x<height>  page size in pixels   | -r<res>  pixels/inch resolution
(Continue reading)

Alan Shutko | 12 Sep 2002 15:40
Picon
Favicon

Re: Not a bug, but a reoprt of an successful install.

Oliver Jennrich <oliver.jennrich <at> gmx.net> writes:

> Problems arose, when configure didn't like the fact that I don't have
> a 'texhash' (my TeX is MikTeX) and stopped with an 'error: /bin/true'.

Yes, I used the wrong macro there.  I think I have a fix for it, but
I need to test it here first.

--

-- 
Alan Shutko <ats <at> acm.org> - In a variety of flavors!
REAL programmers can use copy con program.exe

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Preview-latex-bugs mailing list
Preview-latex-bugs <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/preview-latex-bugs

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
David Kastrup | 12 Sep 2002 16:33
Picon
Favicon

Re: rel-0-7-2b; page up/page down problem

William Gibbons <W.P.Gibbons <at> durham.ac.uk> writes:

> I find that page up, followed by page down doesn't return me to the
> place I started from, if there is (for instance) a commutative diagram
> in my latex file which has been rendered by preview-latex, in the
> space inbetween where I am using page up/page down.
> 
> Is there a fix for this?

Emacs in general does not return to the original place in that case,
even if you don't use preview-latex or variable line heights.  Still,
scrolling with large lines (like those caused by previews) tends to
cause a lot inconvenient side effects (what you describe is a
different matter, though).

If you can make up good test cases which are particularly annoying,
it might be an idea to report them with
M-x report-emacs-bug RET

It will probably be a good idea to describe the effects thoroughly
with words, and why they are inconvenient, since Emacs developers
might not use preview-latex themselves.  Screen shots might also help
illustrating the problem.  Make them as small as possible: PNG format
with high compression and indexed mode with a small palette (16
colors or so) tends to deliver quite compact files.

Where the problem is not due to preview-latex in particular, but in
general to variable line heights, sometimes it can be reproduced with
the info file reader (which renders headings in larger fonts) also.
Emacs developers are more likely to have that available rather than
(Continue reading)


Gmane