mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 22:06:15 +00:00
literate fix from kayvan
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3744 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
08bd49a344
commit
9813447efc
@ -1,3 +1,9 @@
|
|||||||
|
2002-03-12 Kayvan A. Sylvan <kayvan@sylvan.com>
|
||||||
|
|
||||||
|
* examples/Literate.lyx: Fixed build-script section to work
|
||||||
|
with lyx tempdir. As it was, you could not build-program
|
||||||
|
when opening Literate.lyx from within LyX.
|
||||||
|
|
||||||
2002-03-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
2002-03-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||||
|
|
||||||
* kbd/bg-bds-1251.kmap: new keyboard mapping for bulgarian
|
* kbd/bg-bds-1251.kmap: new keyboard mapping for bulgarian
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#LyX 1.1 created this file. For more info see http://www.lyx.org/
|
#LyX 1.2 created this file. For more info see http://www.lyx.org/
|
||||||
\lyxformat 2.16
|
\lyxformat 220
|
||||||
\textclass literate-article
|
\textclass literate-article
|
||||||
\language english
|
\language english
|
||||||
\inputencoding default
|
\inputencoding default
|
||||||
@ -11,6 +11,8 @@
|
|||||||
\paperpackage a4
|
\paperpackage a4
|
||||||
\use_geometry 0
|
\use_geometry 0
|
||||||
\use_amsmath 0
|
\use_amsmath 0
|
||||||
|
\use_natbib 0
|
||||||
|
\use_numerical_citations 0
|
||||||
\paperorientation portrait
|
\paperorientation portrait
|
||||||
\secnumdepth 3
|
\secnumdepth 3
|
||||||
\tocdepth 3
|
\tocdepth 3
|
||||||
@ -32,19 +34,29 @@ An example program
|
|||||||
Edmar Wienskoski Jr.
|
Edmar Wienskoski Jr.
|
||||||
\newline
|
\newline
|
||||||
edmar-w-jr@technologist.com
|
edmar-w-jr@technologist.com
|
||||||
\begin_float footnote
|
\begin_inset Foot
|
||||||
|
collapsed true
|
||||||
|
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
Modified by Bernard Michael Hurley bernardh@westherts.ac.uk ---- Don't blame
|
Modified by Bernard Michael Hurley bernardh@westherts.ac.uk ---- Don't blame
|
||||||
Edmar for any errors that have crept in!
|
Edmar for any errors that have crept in!
|
||||||
\end_float
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\layout Date
|
\layout Date
|
||||||
|
|
||||||
|
|
||||||
\latex latex
|
\begin_inset ERT
|
||||||
|
status Collapsed
|
||||||
|
|
||||||
|
\layout Standard
|
||||||
|
|
||||||
\backslash
|
\backslash
|
||||||
today
|
today
|
||||||
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
|
|
||||||
@ -185,14 +197,18 @@ buffer
|
|||||||
\family default
|
\family default
|
||||||
, a program name and line number.
|
, a program name and line number.
|
||||||
There is no special requirement on the input strings, they can be anything.
|
There is no special requirement on the input strings, they can be anything.
|
||||||
\begin_float footnote
|
\begin_inset Foot
|
||||||
|
collapsed true
|
||||||
|
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
This function has been slightly changed from EW's original to make scanning
|
This function has been slightly changed from EW's original to make scanning
|
||||||
a bit easier with LaTeX::scanLogFile().
|
a bit easier with LaTeX::scanLogFile().
|
||||||
The test has been added because LyX can crash if empty lines are allowed
|
The test has been added because LyX can crash if empty lines are allowed
|
||||||
here --- I can't figure out why! --- BMH
|
here --- I can't figure out why! --- BMH
|
||||||
\end_float
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\layout Scrap
|
\layout Scrap
|
||||||
|
|
||||||
<<Function bodies>>=
|
<<Function bodies>>=
|
||||||
@ -711,13 +727,17 @@ cleans
|
|||||||
|
|
||||||
superfluous information from gcc messages, namely the name of the noweb
|
superfluous information from gcc messages, namely the name of the noweb
|
||||||
file and the line number of the Error.
|
file and the line number of the Error.
|
||||||
\begin_float footnote
|
\begin_inset Foot
|
||||||
|
collapsed true
|
||||||
|
|
||||||
\layout Standard
|
\layout Standard
|
||||||
|
|
||||||
More could be done.
|
More could be done.
|
||||||
For instance, some way of distinguishing between gcc Errors and Warnings
|
For instance, some way of distinguishing between gcc Errors and Warnings
|
||||||
should be devised.
|
should be devised.
|
||||||
\end_float
|
\end_inset
|
||||||
|
|
||||||
|
|
||||||
\layout Scrap
|
\layout Scrap
|
||||||
|
|
||||||
<<Function bodies>>=
|
<<Function bodies>>=
|
||||||
@ -930,9 +950,9 @@ listerrors.c
|
|||||||
|
|
||||||
<<build-script>>=
|
<<build-script>>=
|
||||||
\newline
|
\newline
|
||||||
#!/usr/local/bin/bash
|
#!/bin/sh
|
||||||
\newline
|
\newline
|
||||||
notangle -L -Rlisterrors.c Literate.nw > listerrors.c
|
notangle -L -Rlisterrors.c ${NOWEB_SOURCE} > listerrors.c
|
||||||
\newline
|
\newline
|
||||||
gcc -g -o listerrors listerrors.c
|
gcc -g -o listerrors listerrors.c
|
||||||
\newline
|
\newline
|
||||||
@ -955,7 +975,7 @@ build-script
|
|||||||
|
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
\newline
|
\newline
|
||||||
notangle -Rbuild-script $1 | sh
|
notangle -Rbuild-script $1 | env NOWEB_SOURCE=$1 sh
|
||||||
\layout LyX-Code
|
\layout LyX-Code
|
||||||
|
|
||||||
\the_end
|
\the_end
|
||||||
|
Loading…
Reference in New Issue
Block a user