Frank Küster | 2 Mar 17:33
Picon

CVS-1.234; Does not display anything


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

To get the installation into proper directories, I used

./configure --prefix=/usr/local/ --with-texmf-dir=/usr/local/share/texmf/

With this installation, I open the usual minimal file:

\documentclass{book}

\usepackage[textmath]{preview}

\begin{document}

$a$

\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 

Upon pressing C-c C-p C-b y, nothing changes, I only get the usual
"Type C-c C-l ..." in the minibuffer.  The output buffer is attached
as _region_.output.  In the _region_.tex buffer, the alpha is
graphically displayed as expected.  It looks like this, by copy&paste
which makes the preview go away:
(Continue reading)

Frank Küster | 2 Mar 17:17
Picon

CVS-1.234; Wrong installation destination


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

I did today:

cvs up
./autogen.sh
./configure
make
su
# make install

This installed files in *very*wrong* directories: LaTeX input files
went to TEXMFHOME, although it should probably be TEXMFLOCAL, and lisp
files where put into /usr/share/emacs/site-lisp, *not* into
/usr/local/share/emacs/site-lisp or something similar:

alhambra:/home/frank/src/preview# make install
(cd latex ; make DESTDIR= install)
make[1]: Entering directory `/var/local/franksrc/preview/latex'
../mkinstalldirs /home/frank/texmf/tex/latex/preview
for x in preview.sty prauctex.def prauctex.cfg prshowbox.def prshowlabels.def prtracingall.def
prtightpage.def prlyx.def prcounters.def prfootnotes.def ; do \
  echo /usr/bin/install -c -m 644 $x /home/frank/texmf/tex/latex/preview ; \
  /usr/bin/install -c -m 644 $x /home/frank/texmf/tex/latex/preview ; \
done
/usr/bin/install -c -m 644 preview.sty /home/frank/texmf/tex/latex/preview
/usr/bin/install -c -m 644 prauctex.def /home/frank/texmf/tex/latex/preview
/usr/bin/install -c -m 644 prauctex.cfg /home/frank/texmf/tex/latex/preview
(Continue reading)

David Kastrup | 3 Mar 08:18
Picon
Picon

Re: rel-0-8-1; preview-latex fails with new AUCTeX setting

David Kastrup <dak <at> gnu.org> writes:

> Peter Dyballa <Peter_Dyballa <at> Web.DE> writes:
>
>> When exactly this conversion is still a bit unreliable why isn't
>> configure checking for the right gs and warning about an unusable
>> software/recommending usable versions and catching this with not
>> obeying the rule to use PDF output?
>
> But the conversion is not unreliable.  You should have pretty much
> the same problems when going via Dvips/GhostScript.  If there is a
> difference between GhostScript's bugs in PDF mode and PS mode, it is
> not yet known and/or debugged.

Now it is known and debugged.  It was an unfortunate security setting
in pdf2dsc coming with GhostScript 8.x.  I have changed the manner of
accessing files completely.  As a result, all versions of GhostScript
should now work in the CVS version.

--

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
preview-latex-bugs mailing list
preview-latex-bugs <at> lists.sourceforge.net
(Continue reading)

David Kastrup | 3 Mar 08:46
Picon
Picon

Re: CVS-1.233; Error in documentation

Christian Gudrian <Christian.Gudrian <at> t-online.de> writes:

> Remember to cover the basics.  Including a minimal LaTeX example
> file exhibiting the problem might help.
>
> Currently makeinfo fails on preview-dtxdoc.texi in lines 464 and 465
> which should probably look like this:
>
> @item \PreviewOpen
> @item \PreviewClose
>
>
> Emacs  : GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
>  of 2005-02-22 on APOLLO
> Package: CVS-1.233

That's what it looks like here.  Probably relevant is the entry

RCS file: /cvsroot/preview-latex/preview/doc/preview-dtxdoc.pl,v
Working file: preview-dtxdoc.pl
----------------------------
revision 1.7
date: 2005/01/29 00:31:41;  author: dakas;  state: Exp;  lines: +2 -1
2005-01-29  David Kastrup  <dak <at> gnu.org>

	* doc/preview-dtxdoc.pl: Convert AUC\TeX reference as well.
	Convert `\#' to `#'.

	* latex/preview.dtx: Add `#' and `:' letters and documentation.
	Make all commands pass on `#' on cleanly.  Don't eliminate last
(Continue reading)

David Kastrup | 3 Mar 08:34
Picon
Picon

Re: rel-0-8-1; Default options are always used, even when package is loaded

frank <at> kuesterei.ch (Frank Küster) writes:

> David Kastrup <dak <at> gnu.org> schrieb:
>
>> Oh, crap.  _ANOTHER_ broken GhostScript version in the wild.
>
> $ gs --version
> 8.01

Should now work in PDF and PS mode on every Ghostscript since 6.51 or
so.

>   Nothing at all in LaTeX mode (not even roadwork signs, at least not
>   for a time long enough that I can see them). C-c ` brings up the
>   usual "helpful" error message and places the cursor in _region_.tex
>   which _does_ show a previewed \alpha!
>
>   Nothing at all in PDFLaTeX mode, not even a roadwork sign visible. C-c
>   ` brings me a help buffer and point in _region_.tex with the
>   exclamation mark sign and the following gs output:

That would mean that the file does not get identified correctly.  This
should not happen.  It is not the only such report I see, and I find
this confusing.

> I'm going home now, frustrated. No mail this evening.

Thanks for all the testing work.

--

-- 
(Continue reading)

David Kastrup | 3 Mar 11:50
Picon
Picon

Re: Should \maketitle be previewed?

Erik Frisk <frisk <at> isy.liu.se> writes:

> If I do C-c C-p C-b (preview buffer) for the following small document:
>
> \documentclass{article}
> \begin{document}
> \author{Hejhopp}
> \maketitle
> Hello world.
> \begin{equation}
>    x^2+y^2=z^2
> \end{equation}
> \end{document}
>
> I get a preview for the equation as expected but I also get a
> preview (rather invisible) for the maketitle macro which looks like
> bug (or a misconfiguration on my part).

maketitle is not previewed by default.  I have seen no indication that
it ever was in the CVS log of preview.dtx, but maybe something is
missing there: I vaguely remember some \maketitle business.

> I also managed to get emacs to core dump when trying to remove the
> preview but this does not happen every time so I am not sure who's
> to blame (although this is the one and only situation where I have
> core dumped emacs).
>
> Regards,
>
> 	/Erik
(Continue reading)

David Kastrup | 3 Mar 19:41
Picon
Picon

preview-latex 0.9 released...

The following message is a courtesy copy of an article
that has been posted to comp.emacs,comp.text.tex as well.

This is the large update everybody has been waiting for.  Of course, a
few last-minute bugs escaped notice, but they have been there for a
while, I guess.

Release notes for version 0.9 of the preview-latex package:

preview-latex makes LaTeX a tightly integrated component of your
editing workflow by visualizing selected source chunks (such as single
formulas or graphics) directly as images in the source buffer.
You get to have your eye candy and edit it, too.

The employed style file `preview.sty' is independently useful for
extraction of selected text elements as images.  EPS Graphics that
were created using dvips can now be used with the `tightpage' option,
and some new commands and options are available for selecting
previews.

The package is released under the GNU Public License (GPL).  At the
current point of time, at least GNU Emacs-21.3 under the X window
system or XEmacs-21 in version 21.4.10 or later, AUCTeX (11.51 or
later required for PDF support), a working LaTeX installation and
GhostScript are required.  dvipng (version 1.4 or later: teTeX-3.0
works, TeXlive2004 not), a very fast dvi converter, can be used to
speed up the conversion.  For Windows, MacOS Carbon or native GTK+
toolkit support, a developer version of GNU Emacs (to be released as
22.1) is definitely required; for other platforms, use of it is
advantageous.
(Continue reading)

David Kastrup | 3 Mar 20:56
Picon
Picon

Re: preview-latex 0.9 released...

Ralf Angeli <angeli <at> iwi.uni-sb.de> writes:

> * David Kastrup (2005-03-03) writes:
>
>> This is the large update everybody has been waiting for.
>
> Cool!
>
>> dvipng (version 1.4 or later: teTeX-3.0
>> works, TeXlive2004 not)
>
> Ouch!  Why is that?
>
>> The installation procedure has been made more flexible and robust,
>> more conservative in the installation choices, and the Lisp startup
>> file will now be installed automatically.
>
> Okay, I just made a `cvs up', `make clean', `./autogen.sh' and
> `./configure'.  This is what I got in Makefile:
>
> prefix = /usr/local$(null)
> lispdir = ${datadir}/emacs/22.0.50/site-lisp$(null)
> icondir = ${packagelispdir}/images$(null)
> datadir = ${prefix}/share$(null)
> packagedir = no$(null)
> packagelispdir = ${datadir}/emacs/22.0.50/site-lisp/preview$(null)
> auctexdir = /usr/local/share/emacs/site-lisp$(null)
>
> Is it supposed to be like this?

(Continue reading)

Ralf Angeli | 4 Mar 08:59
Picon

Re: preview-latex 0.9 released...

* David Kastrup (2005-03-03) writes:

> Ralf Angeli <angeli <at> iwi.uni-sb.de> writes:
>
>> Okay, I just made a `cvs up', `make clean', `./autogen.sh' and
>> `./configure'.  This is what I got in Makefile:
>>
>> prefix = /usr/local$(null)
>> lispdir = ${datadir}/emacs/22.0.50/site-lisp$(null)
[...]
>> (BTW, I did not use `preview-report-bug' because I haven't installed
>> the new version yet due to this issue.)
>
> What issue?  If you want a different path, specify a different path to
> configure.  No problem there, is it?

Okay, fine with me.  Now if I use `./configure
--with-lispdir=/usr/local/share/emacs/site-lisp/', I get

prefix = /usr/local$(null)
lispdir = /usr/local/share/emacs/site-lisp/$(null)
icondir = ${packagelispdir}/images$(null)
datadir = ${prefix}/share$(null)
packagedir = no$(null)
packagelispdir = /usr/local/share/emacs/site-lisp//preview$(null)
auctexdir = /usr/local/share/emacs/site-lisp$(null)

Notice the double slash?

Oh, and you might want to change "AucTeX" to "AUCTeX" in Makefile.in.
(Continue reading)

Jan-Ake Larsson | 4 Mar 11:56
Picon
Picon
Favicon

Re: Re: preview-latex 0.9 released...

Jan-Ake Larsson wrote:
> What worries me is that the current code seems to pick out the first
> entry in load-path that matches "site-lisp" or "site-packages". I'm
> not sure this is very robust either.

A more thourogh reading suggests that those must be at the _end_ of
the path string. Much better.
/JÃ…

--

-- 
We are MicroSoft.  You will be assimilated.  Resistance is futile.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click

Gmane