[OS X TeX] pdfsync versus toc? (Was Comm. Diagrams)

Alain Schremmer Schremmer.Alain at verizon.net
Mon Jan 17 23:00:27 CET 2005


1. Consider the following three files:
____________________

Test.tex

\documentclass[11pt]{book}
\usepackage{pdfsync}
\usepackage{paralist}
\usepackage{askinclude}
\begin{document}
\tableofcontents
\include{A}
\include{B}
\end{document}
____________________

A.tex

\chapter{First Chapter}
\section[unique section]{Unique Section}
Some text
____________________

B.tex

\chapter{Second Chapter}
\section{Section}
\begin{asparaenum}
\item%1
\item%2
\item%3
\end{asparaenum}
\section{How to specify a \emph{function} by an input-output rule.}
____________________

2. Do:

Open Test
Typeset Test
Type "Shift*" in the console and Press Enter (To respond to Askinclude.)
I get the pdf at the (empty) Contents
Typeser Test again
Press Enter (To respond to Askinclude.)
I get the error message
\input files=
) (./Test.aux (./A,auc) (./B.aux)) (./Test.toc
!Missing control sequence inserted
<inserted text>
\inaccessible
l.5 …mph {function} by an input-output rule.}{5}
Type "r" in the console and Press Enter
I get the Contents page but the last line reads

How to specify a p 39 6636830 24161915 function by an input-output rule.
function is italicized as it should be.)
____________________

3. Test.toc reads:

\contentsline {chapter}{\numberline {1}First Chapter}{3}
\contentsline {section}{\numberline {1.1}unique section}{3}
\contentsline {chapter}{\numberline {2}Second Chapter}{5}
\contentsline {section}{\numberline {2.1}Section}{5}
\contentsline {section}{\numberline {2.2}How to specify a {\relax 
\pdfsavepos \immediate \write \PDFPOS {l 63 8}\edef {p 58 9979166 
6420097}{{p 63 6636830 24161915}}\write \PDFPOS {p 58 9979166 
6420097}\global \advance \PDFSYNC at rder by 1\relax }\emph {function} by 
an input-output rule.}{5}
____________________

4. This may not be the minimum set. When I delete

\begin{asparaenum}
\item
\item
\item
\end{asparaenum}

in B.tex and Save, I still get the error message but not the long number 
in the toc.
____________________

5. No pdfsync, visible or invisible. Other than that:
Dual 1 GHz PowerPC G4
OS X 10.3.7
TeXShop v1.35
pdfsync 2004/01/31 v0.6

Well, that is it.

Regards
--schremmer

































--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list