-#LyX 2.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 474
+#LyX 2.2 created this file. For more info see http://www.lyx.org/
+\lyxformat 508
\begin_document
\begin_header
+\save_transient_properties true
+\origin /systemlyxdir/examples/
\textclass article
\begin_preamble
%
\language_package default
\inputencoding auto
\fontencoding global
-\font_roman times
-\font_sans helvet
-\font_typewriter courier
-\font_math auto
+\font_roman "times" "default"
+\font_sans "helvet" "default"
+\font_typewriter "courier" "default"
+\font_math "auto" "auto"
\font_default_family default
\use_non_tex_fonts false
\font_sc false
\font_osf false
-\font_sf_scale 100
-\font_tt_scale 100
+\font_sf_scale 100 100
+\font_tt_scale 100 100
\graphics default
\default_output_format pdf
\output_sync 0
\begin_body
\begin_layout Title
-LyX listerrors:
+\SpecialChar LyX
+ listerrors:
\begin_inset Newline newline
\end_inset
\emph on
BINDIR/listerrors
\emph default
- along with LyX in order to perform some simple re-formatting of noweb and
+ along with \SpecialChar LyX
+ in order to perform some simple re-formatting of noweb and
GCC error messages.
This document describes and implements the Python version of the same program.
\end_layout
\end_layout
\begin_layout Standard
-The motivation for this program was LyX bug 190
+The motivation for this program was \SpecialChar LyX
+ bug 190
\begin_inset Foot
status collapsed
\begin_inset Quotes erd
\end_inset
-? Usually, LyX has great support for parsing of error messages.
- For each error in the log file, LyX pops up an error box at that location
- in the LyX window.
+? Usually, \SpecialChar LyX
+ has great support for parsing of error messages.
+ For each error in the log file, \SpecialChar LyX
+ pops up an error box at that location
+ in the \SpecialChar LyX
+ window.
The error scanning routines expect these errors to be in a certain format
- (similar to LaTeX errors).
+ (similar to \SpecialChar LaTeX
+ errors).
When dealing with Literate Programs, you have
\begin_inset Quotes eld
\end_inset
as well as gcc error messages (and potentially others).
The listerrors program attempts to standardize these error messages to
- a format that LyX can parse and react to.
+ a format that \SpecialChar LyX
+ can parse and react to.
\end_layout
\begin_layout Standard
\begin_layout Enumerate
It was a C program and it was installed in the user path in the same directory
- as LyX.
+ as \SpecialChar LyX
+.
Having such a generically named binary in, for example,
\emph on
/usr/bin
\begin_layout Enumerate
Both the example file (this document) and the program are to be added to
- the LyX CVS repository.
+ the \SpecialChar LyX
+ CVS repository.
\end_layout
\begin_layout Enumerate
\emph on
SHAREDIR/lyx/scripts
\emph default
-, along with other LyX-specific helper scripts.
+, along with other \SpecialChar LyX
+-specific helper scripts.
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Section
-LaTeX style error message
+\SpecialChar LaTeX
+ style error message
\end_layout
\begin_layout Standard
-The following function mimics the TeX error message format.
+The following function mimics the \SpecialChar TeX
+ error message format.
\end_layout
\begin_layout Standard
\end_layout
\begin_layout Standard
-This project can be tangled from LyX if you set your
+This project can be tangled from \SpecialChar LyX
+ if you set your
\begin_inset Quotes eld
\end_inset