-#LyX 2.2 created this file. For more info see http://www.lyx.org/
-\lyxformat 501
+#LyX 2.3 created this file. For more info see http://www.lyx.org/
+\lyxformat 544
\begin_document
\begin_header
+\save_transient_properties true
\origin /systemlyxdir/examples/
\textclass article
\begin_preamble
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
+\use_microtype false
+\use_dash_ligatures false
\graphics default
\default_output_format pdf
\output_sync 0
\use_hyperref false
\papersize default
\use_geometry false
-\use_package amsmath 0
-\use_package amssymb 0
-\use_package cancel 0
-\use_package esint 0
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package cancel 1
+\use_package esint 1
\use_package mathdots 1
-\use_package mathtools 0
+\use_package mathtools 1
\use_package mhchem 1
-\use_package stackrel 0
-\use_package stmaryrd 0
-\use_package undertilde 0
+\use_package stackrel 1
+\use_package stmaryrd 1
+\use_package undertilde 1
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\suppress_date false
\justification true
\use_refstyle 0
+\use_minted 0
\index Index
\shortcut idx
\color #008000
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
-\quotes_language english
+\is_math_indent 0
+\math_numbering_side default
+\quotes_style english
+\dynamic_quotes 0
\papercolumns 1
\papersides 1
\paperpagestyle default
\begin_body
\begin_layout Title
-\SpecialCharNoPassThru LyX
+\SpecialChar LyX
listerrors:
\begin_inset Newline newline
\end_inset
\emph on
BINDIR/listerrors
\emph default
- along with \SpecialCharNoPassThru LyX
+ 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
\begin_layout Standard
-The motivation for this program was \SpecialCharNoPassThru LyX
+The motivation for this program was \SpecialChar LyX
bug 190
\begin_inset Foot
status collapsed
\begin_layout Plain Layout
-http://www.lyx.org/trac/ticket/190
+https://www.lyx.org/trac/ticket/190
\end_layout
\end_inset
\begin_inset Quotes erd
\end_inset
-? Usually, \SpecialCharNoPassThru LyX
+? Usually, \SpecialChar LyX
has great support for parsing of error messages.
- For each error in the log file, \SpecialCharNoPassThru LyX
+ For each error in the log file, \SpecialChar LyX
pops up an error box at that location
- in the \SpecialCharNoPassThru LyX
+ in the \SpecialChar LyX
window.
The error scanning routines expect these errors to be in a certain format
- (similar to \SpecialCharNoPassThru LaTeX
+ (similar to \SpecialChar LaTeX
errors).
When dealing with Literate Programs, you have
\begin_inset Quotes eld
\begin_layout Plain Layout
-http://www.eecs.harvard.edu/~nr/noweb
+https://www.cs.tufts.edu/~nr/noweb/
\end_layout
\end_inset
as well as gcc error messages (and potentially others).
The listerrors program attempts to standardize these error messages to
- a format that \SpecialCharNoPassThru LyX
+ a format that \SpecialChar LyX
can parse and react to.
\end_layout
\begin_layout Enumerate
It was a C program and it was installed in the user path in the same directory
- as \SpecialCharNoPassThru LyX
+ as \SpecialChar LyX
.
Having such a generically named binary in, for example,
\emph on
\begin_layout Enumerate
Both the example file (this document) and the program are to be added to
- the \SpecialCharNoPassThru LyX
+ the \SpecialChar LyX
CVS repository.
\end_layout
\emph on
SHAREDIR/lyx/scripts
\emph default
-, along with other \SpecialCharNoPassThru LyX
+, along with other \SpecialChar LyX
-specific helper scripts.
\end_layout
\begin_layout Plain Layout
-"""reformat noweb and compiler errors for \SpecialCharNoPassThru LyX
-.
+"""reformat noweb and compiler errors for LyX.
\end_layout
\begin_layout Plain Layout
\begin_layout Plain Layout
- original Literate support for \SpecialCharNoPassThru LyX
-.
+ original Literate support for LyX.
\end_layout
\begin_layout Plain Layout
\end_layout
\begin_layout Section
-\SpecialCharNoPassThru LaTeX
+\SpecialChar LaTeX
style error message
\end_layout
\begin_layout Standard
-The following function mimics the \SpecialCharNoPassThru TeX
+The following function mimics the \SpecialChar TeX
error message format.
\end_layout
\begin_layout Plain Layout
- """Write out the given message in \SpecialCharNoPassThru TeX
- error style.
+ """Write out the given message in TeX error style.
\end_layout
\begin_layout Plain Layout
\end_layout
\begin_layout Standard
-This project can be tangled from \SpecialCharNoPassThru LyX
+This project can be tangled from \SpecialChar LyX
if you set your
\begin_inset Quotes eld
\end_inset