Mark Dickinson | 2 Jan 2006 06:47
Picon

AUCTeX and xypic problems.

I'm having trouble generating previews for a document that uses the
xypic package for generating commutative diagrams.  Here's a minimal
example.

-----------------------
\documentclass{article}
\usepackage[all]{xy}

\begin{document}

\begin{figure}
\xymatrix{A\ar <at> {-}[r] & B}
\end{figure}

\end{document}
-----------------------

After running C-c C-p C-d on this document, I just get a blank line
where I was expecting to see a preview for the figure.  The TeX output
buffer shows a series of errors; here's an excerpt starting from the
first error, which seems to be related to the use of \ar <at> {-}[r] in the
matrix. (The full output is included at the end of this message.)

-----------------------
Preview: Fontsize 10pt
Preview: PDFoutput 1
)
! Preview: Snippet 1 started.
<-><->

(Continue reading)

Jan-Åke Larsson | 2 Jan 2006 09:24
Picon
Picon
Favicon

Re: AUCTeX and xypic problems.

Mark Dickinson wrote:
> I'm having trouble generating previews for a document that uses the
> xypic package for generating commutative diagrams.  Here's a minimal
> example.
> ...

ISTR something about xy... not sure this is related but here:

-------- Original Message --------
Subject: Re: [preview-latex-devel] rel-0-7-2b; xy-pic compatibility
Date: 14 May 2002 14:58:30 +0200
From: David.Kastrup <at> t-online.de (David Kastrup)
To: Pedro Fortuny Ayuso <P.Fortuny <at> maths.qmul.ac.uk>
CC: preview-latex-bugs <at> lists.sourceforge.net
References: <200205141229.g4ECTrJ21392 <at> cantor.maths.qmw.ac.uk>

Pedro Fortuny Ayuso <P.Fortuny <at> maths.qmul.ac.uk> writes:

> Sorry for the wrong description in Sourceforge.
>
> The problem is that whenever I use xy, the textmath formulas stop
> being displayed (previewed). The graphs come up pretty well, the
> problem is only the math in paragraphs. Pressing "generate preview"
> previews the equations and diagrams, but not the textmath. If one
> takes away the diagram, the problem persists. (i.e. the problem
> is with the \usepackage[all]{xy}).

It would seem that xy does something ugly at \begin{document} time to
either the \everymath hook or the \catcode of $.  In this particular
example, I have found that it helps if you add the "delayed" option
(Continue reading)

Jose Figueroa-O'Farrill | 3 Jan 2006 06:14
Picon
Picon
Gravatar

11.82; zcat being invoked when including pictures


I have a LaTeX file with headers

\documentclass[leqno,a4paper,final,oneside,dvipdfm]{article}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath,amssymb,amstext,amsthm}
\usepackage[upright]{fourier}
\usepackage{pifont}
\usepackage{graphicx,subfigure}
\usepackage{epic,eepic}
\usepackage{fancybox,titlesec}
\usepackage{version,ifthen}
\usepackage{color}

and which includes several .eps figures using, e.g.,

\begin{figure}[h!]
  \centering
  \includegraphics[angle=270,width=0.7\textwidth]{Figs/apples.eps}
  \caption{Physical trajectories of equation~\eqref{eq:apple} in
    units where $g=1$}
  \label{fig:apple}
\end{figure}

If I compile the file in a shell using the command line, everything
works as expected: both latex and dvipdfm.  On the other hand, when I
compile it using AUCTeX in Aquamacs Emacs 0.9.8, I get the following
log:

(Continue reading)

David Kastrup | 3 Jan 2006 16:20
Picon
Picon

Re: AUCTeX and xypic problems.

Jan-Åke Larsson <jalar <at> mai.liu.se> writes:

> Mark Dickinson wrote:
>> I'm having trouble generating previews for a document that uses the
>> xypic package for generating commutative diagrams.  Here's a minimal
>> example.
>> ...
>
> ISTR something about xy... not sure this is related but here:

It is not the same problem, but of a similar nature.  The remedy
appears to work.

I don't have the time at the moment to debug what imprudent things
xy.sty does here, so the workaround (which is no longer necessary for
the catcode-related problem that the original report you found was
about) should still be used to fix it.

It would help if xy.sty was not written with total disregard to
interference with other packages.  It is not the first problem we had
with it.

--

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Ralf Angeli | 4 Jan 2006 10:05
Picon

Re: 11.82; zcat being invoked when including pictures

* Jose Figueroa-O'Farrill (2006-01-03) writes:

> I have a LaTeX file with headers
>
> \documentclass[leqno,a4paper,final,oneside,dvipdfm]{article}
> \usepackage[latin1]{inputenc}
> \usepackage[T1]{fontenc}
> \usepackage{amsmath,amssymb,amstext,amsthm}
> \usepackage[upright]{fourier}
> \usepackage{pifont}
> \usepackage{graphicx,subfigure}
> \usepackage{epic,eepic}
> \usepackage{fancybox,titlesec}
> \usepackage{version,ifthen}
> \usepackage{color}

Is all of this necessary to reproduce the problem?

> and which includes several .eps figures using, e.g.,
>
> \begin{figure}[h!]

This will fail.  If you don't want your pictures floating, why do you
use a float environment?

>   \centering
>   \includegraphics[angle=270,width=0.7\textwidth]{Figs/apples.eps}
>   \caption{Physical trajectories of equation~\eqref{eq:apple} in
>     units where $g=1$}
>   \label{fig:apple}
(Continue reading)

preview-latex-bugs-admin | 5 Jan 2006 10:24
Picon

(no subject)

avast!: El cuerpo del mensaje fue eliminado porque contenía un virus.

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________

Christian Faulhammer | 7 Jan 2006 10:23
Picon
Picon

11.82; images for chapters are not displayed

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.

Be sure to consult the FAQ section in the manual before submitting
a bug report.  If the bug (or problem) is triggered by a specific
(La)TeX file, you should try to produce a minimal sample file
showing the problem and include it in your report.

Your bug report will be posted to the AUCTeX bug reporting list.
------------------------------------------------------------------------

The minimal working example produces no output for the \chapter command only for \section. preview-latex
log at the end.

\documentclass{report}

\begin{document}
\chapter{Test}
\section{Test}
\end{document}

Emacs  : GNU Emacs 21.4.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2005-12-05 on luna
Package: 11.82

current state:
==============
(setq
 AUCTeX-date "2005-12-17"
 window-system 'x
(Continue reading)

David Kastrup | 7 Jan 2006 23:07
Picon
Picon

Re: 11.82; images for chapters are not displayed

v-li <at> gmx.de (Christian Faulhammer) writes:

> Remember to cover the basics, that is, what you expected to happen and
> what in fact did happen.
>
> \documentclass{report}
>
> \begin{document}
> \chapter{Test}
> \section{Test}
> \end{document}

Uh, yeah.  Not exactly like you are the first to report this.  I have
to check whether there is a solid solution for that.

Thanks,

--

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Patrick Drechsler | 10 Jan 2006 00:21
Picon
Gravatar

11.82; extra commented \begin{document} suppresses preview-latex


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

Hi,

after deleting the last 2 lines everything is fine:

--8<------------------------schnipp------------------------->8---
\listfiles
\documentclass{scrartcl}
\begin{document}
\section{foo}
\label{sec:foo}
\begin{figure}
  \centering
  \rule{2cm}{2cm}
  \caption{foo}
  \label{fig:foo}
\end{figure}
\end{document}

% \begin{document}
% \end{document}
--8<------------------------schnapp------------------------->8---

Otherwise the following error occurs:

,----[ output of C-c C-p C-b: ]
[...]
(Continue reading)

David Kastrup | 9 Jan 2006 23:46
Picon
Picon

Re: AUCTeX is confused by evironment variable in file path


Redirecting to the bug list.

Andrea Sosso <sosso <at> ien.it> writes:

> David Kastrup wrote:
>
>>Andrea Sosso <sosso <at> ien.it> writes:
>>  
>>
>>>The following expression:
>>>
>>>\graphicspath{{$HOME/subdir1/subdir2/}}
>>>
>>>is confusing for AUCTeX, which treats anything after $ as TeX math
>>>mode. I had to add a commented $ at the and of the line:
>>>
>>>\graphicspath{{$HOME/subdir1/subdir2/}}% $
>>>
>>>to get the correct parsing of the lines below.

[...]

> sorry for the belated reply. this is the output of  TeX-submit-bug-report
>
>
> Emacs  : GNU Emacs 21.2.1 (i686-pc-cygwin, X toolkit) of 2004-03-22 on
> cm-test

That one's several years old.  The last regular release is 21.4,
(Continue reading)


Gmane