Discussion:
preview-latex 0.9 released...
David Kastrup
2005-03-03 18:41:05 UTC
Permalink
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.

This version finally gets rid of all 8bit issues that plagued
cooperation with several TeX distributions, and supports utf-8 and
other multibyte input. X-Symbol (as of 4.5.1-beta) will still require
an 8bit-transparent TeX executable. As a result of a drastic overhaul
in image file allocation, all known GhostScript versions should now
work for PostScript and PDF in SAFER mode.

Icons now come in several sizes, blending better with the text
display, and have been redesigned.

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. It is strongly recommended
that you remove a previous installation before installing this version
to avoid keeping conflicting or unnecessary files.

The `README' file provides adequate information for firing up
preinstalled distributions, and pointers how to provide feedback. The
`INSTALL' file contains a special section with advice for package
providers. There is also a file `INSTALL.windows' detailing
instructions for users of that operating system.

The home page is <URL:http://preview-latex.sourceforge.net>, the
SourceForge project page that among others offers anonymous CVS access
is located at <URL:http://sourceforge.net/projects/preview-latex>.
However, development and CVS access are scheduled to be folded into
the AUCTeX project (located at Savannah) shortly after this release.

If you can spare the time, you can also comment on or rate this
project at <URL:http://freshmeat.net/projects/preview-latex>.

Paypal donations to the maintainer are possible directly or via
SourceForge.

Additional files can be found at
<URL:http://prdownloads.sourceforge.net/preview-latex>:

* If you don't have texinfo 4.0 or later installed, prebuilt
documentation files can be found there.

* Tarballs of preview-latex for all users, alternatively RPMs for
RedHat Linux. For the binary RPMs, you will need the
preview-latex-common RPM as well as the Emacs-flavor specific RPM.

* AUCTeX is now located at <URL:http://www.gnu.org/software/auctex>.
The download area should also provide you with RPM files.

* dvipng is currently available via its current project page
<URL:http://sourceforge.net/projects/dvipng> and from CTAN.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
David Kastrup
2005-03-15 02:43:57 UTC
Permalink
The following message is a courtesy copy of an article
that has been posted to gmane.emacs.latex.preview.bugs as well.
The output of "make install" is listed below. Please note some errors
/preview-latex.texi:416: Cross reference to nonexistent node `Package
options'.
/preview-latex.texi:397: Cross reference to nonexistent node `Provided
commands'
This also happened for the previous version. Thanks.
INSTALL.windows now contains the following first point: does it help?

1. If you unpacked the distribution using Winzip or similar, you
better restart using infozip on the `.zip' file, or standard
Unix tools (see the next point) on the `.tar.gz' file: tools
that make the mistake of turning Unix line endings into MSDOS
line endings will cause trouble later in installation and
operation.

I don't use Windows myself, so if this entry is inaccurate or there
are options for making Winzip behave sanely, it would be helpful to
get further information.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Adam Johnson
2005-03-15 06:39:21 UTC
Permalink
Thanks David,

I checked the preview-dtxdoc.texi: Both nodes are defined inside as:
-------------------------------------------------------------------------
1. One possibility is to save such settings in the corresponding file-local
variable instead of your global configuration (@pxref{File
Variables,,Local Variables in Files,emacs,GNU Emacs Manual}). A perhaps
more convenient place for such options would be in a configuration file
in the same directory with your project (@pxref{Package options}).

2. If it is not available there, you can add it to
@code{preview-default-preamble} also in the @code{Preview Latex} group,
by adding a @code{\PreviewMacro} or @code{\PreviewEnvironment} entry
(@pxref{Provided commands}) @emph{after} the @code{\RequirePackage}
line. For example, if you want to preview the @code{center}
environment, press the @key{Show} button and the last @key{INS} button,
then add
-------------------------------------------------------------------------
I know little about texinfo. Some other nodes are also defined inside.
However when I install it, no other errors from the definitions of other
"nodes". Only these two.

I'm using WinRAR to unzip it. I don't know whether it will cause any
problem or not? I also used it to unzip the AUCTeX. AUCTeX installed
successfully.

(Just one question of installing the AUCTeX: I installed MikTeX at the
default/standard directory. When I installed AUCTeX, it still asked me for
the directory of TeX system. This is strange. Why it cannot figure out
automatically?)

-------------------------------------------------------------------------
BTW: I'm using AUCTeX 11.55
MikTeX 2.4
CVS Emacs 21.3.50.1
Windows XP.
--------
Best Regards,
Adam
----- Original Message -----
From: "David Kastrup" <***@gnu.org>
Newsgroups: gmane.emacs.latex.preview.bugs
To: "Adam Johnson" <***@hotmail.com>
Cc: <auc-***@sunsite.dk>
Sent: Monday, March 14, 2005 9:43 PM
Subject: Re: [preview-latex-devel] Re: preview-latex 0.9 released...
Post by David Kastrup
The following message is a courtesy copy of an article
that has been posted to gmane.emacs.latex.preview.bugs as well.
The output of "make install" is listed below. Please note some errors
/preview-latex.texi:416: Cross reference to nonexistent node `Package
options'.
/preview-latex.texi:397: Cross reference to nonexistent node `Provided
commands'
This also happened for the previous version. Thanks.
INSTALL.windows now contains the following first point: does it help?
1. If you unpacked the distribution using Winzip or similar, you
better restart using infozip on the `.zip' file, or standard
Unix tools (see the next point) on the `.tar.gz' file: tools
that make the mistake of turning Unix line endings into MSDOS
line endings will cause trouble later in installation and
operation.
I don't use Windows myself, so if this entry is inaccurate or there
are options for making Winzip behave sanely, it would be helpful to
get further information.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
David Kastrup
2005-03-15 09:54:41 UTC
Permalink
Post by Adam Johnson
Thanks David,
-------------------------------------------------------------------------
1. One possibility is to save such settings in the corresponding
file-local variable instead of your global configuration
Manual}). A perhaps more convenient place for such options would be
in a configuration file in the same directory with your project
Maybe the @input file that calls this file ends with a CRLF sequence?
If you use the given makeinfo command, but with --force option, do the
respective chapters appear in the info file?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Adam Johnson
2005-03-15 21:56:31 UTC
Permalink
Post by David Kastrup
If you use the given makeinfo command, but with --force option, do the
respective chapters appear in the info file?
I'm not sure how to do it. When I use ./configure and make commands,
the preview-latex.dvi has only 39 pages. Your pre-compliled dvi is 46 pages.
Loading...