1. I ran pdflatex and get an empty error dialog box.  I exported the tex, and 
ran pdflatex, which revealed:

2. ERROR: LaTeX Error: There's no line here to end.

--- TeX said ---

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.147 w
       here \textsf{phi2,} \textsf{phi1} are the 2 phase measurements
--- HELP ---
A \newline or \\ command appears between paragraphs, where it makes no
sense. If you're trying to ``leave a blank line'', use a \vspace
command.

Here is the tex code:
\begin{lstlisting}[breaklines=true,language=Python]
phase_diff = unwrap1 (phi2 - phi1 - fhat * symbols_between_phase_refs, 1)
fhat2 = phase_diff / symbols_between_phase_refs + fhat  
\end{lstlisting}
\\
where \textsf{phi2,} \textsf{phi1} are the 2 phase measurements
in units of cycles, \textsf{fhat is the coarse estimate, and }unwrap1
is defined as:

I believe the stray \\ was caused by me doing C-enter in lyx.

Reply via email to