Skip to content
Browse files

Updated to use eLyxer for HTML output

  • Loading branch information...
1 parent f926865 commit eadce368fe096da8d0a044597eae9ed168bb6e1b @dchenbecker dchenbecker committed
Showing with 4,632 additions and 2,910 deletions.
  1. +4 −4 Makefile
  2. +3 −3 chap-JPA.lyx
  3. +1 −1 chap-lift_architecture.lyx
  4. +6 −2 chap-template_xhtml.lyx
  5. +4,606 −2,899 elyxer.py
  6. +2 −0 htmlfooter.txt
  7. +9 −0 htmlheader.txt
  8. +1 −1 templates/scripts/shBrushXml.js
View
8 Makefile
@@ -1,4 +1,4 @@
-RSYNCFLAGS = "-rv --delete"
+RSYNCFLAGS = -rv --delete
all : master.pdf
@@ -9,7 +9,7 @@ html : master.lyx
rm -rf master/
mkdir master/
cp -R templates/* master/
- python elyxer.py --splitpart 1 master.lyx master/index.html
+ python elyxer.py --splitpart 1 --css "css/lyx.css" --defaultbrush "scala" --userheader htmlheader.txt --userfooter htmlfooter.txt master.lyx master/index.html
tar cvzf master.html.tgz master/
pdf : master.pdf
@@ -32,5 +32,5 @@ clean:
rm -rf master/
install: pdf html
- rsync $(RSYNC_FLAGS) master.pdf master.html.tgz lion.harpoon.me:/home/scalatools/hudson/www/exploring/downloads/
- rsync $(RSYNC_FLAGS) master/ lion.harpoon.me:/home/scalatools/hudson/www/exploring/master/
+ rsync $(RSYNCFLAGS) master.pdf master.html.tgz lion.harpoon.me:/home/scalatools/hudson/www/exploring/downloads/
+ rsync $(RSYNCFLAGS) master/ lion.harpoon.me:/home/scalatools/hudson/www/exploring/master/
View
6 chap-JPA.lyx
@@ -1204,7 +1204,7 @@ LocalEMF
\begin_layout Standard
\begin_inset listings
-lstparams "breaklines=true,firstline=1,lastline=8,numbers=left,numberstyle={\tiny}"
+lstparams "breaklines=true,firstline=1,lastline=8"
inline false
status open
@@ -1488,7 +1488,7 @@ If you'll be deploying into a JEE container, such as JBoss or GlassFish,
\begin_layout Standard
\begin_inset listings
-lstparams "breaklines=true,language=XML,numbers=left,numberstyle={\tiny}"
+lstparams "breaklines=true,language=XML"
inline false
status open
@@ -3173,7 +3173,7 @@ EnumvType
\begin_layout Standard
\begin_inset listings
-lstparams "breaklines=true,firstline=3,numbers=left,numberstyle={\tiny}"
+lstparams "breaklines=true,firstline=3"
inline false
status open
View
2 chap-lift_architecture.lyx
@@ -145,7 +145,7 @@ reference "lst:LiftFilter-setup-in-web.xml"
\begin_layout Standard
\begin_inset listings
-lstparams "language=XML,numbers=left,numberstyle={\tiny}"
+lstparams "language=XML"
inline false
status open
View
8 chap-template_xhtml.lyx
@@ -1,4 +1,4 @@
-#LyX 1.6.5 created this file. For more info see http://www.lyx.org/
+#LyX 1.6.7 created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
@@ -1984,6 +1984,7 @@ reference "lst:A-Non-Conforming-XML"
\begin_layout Standard
\begin_inset listings
+lstparams "language=XML"
inline false
status open
@@ -2178,7 +2179,7 @@ reference "cha:AJAX-and-COMET"
\begin_layout Standard
\begin_inset listings
-lstparams "basicstyle={\footnotesize},language=Java,numbers=left,numberstyle={\tiny}"
+lstparams "language=XML"
inline false
status open
@@ -2695,6 +2696,7 @@ name "lst:Surrounding-your-page"
\begin_layout Standard
\begin_inset listings
+lstparams "language=XML"
inline false
status open
@@ -2807,6 +2809,7 @@ admin.
\begin_layout Standard
\begin_inset listings
+lstparams "language=XML"
inline false
status open
@@ -2980,6 +2983,7 @@ surround
\begin_layout Standard
\begin_inset listings
+lstparams "language=XML"
inline false
status open
View
7,505 elyxer.py 100644 → 100755
4,606 additions, 2,899 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 htmlfooter.txt
@@ -0,0 +1,2 @@
+<script type="text/javascript">SyntaxHighlighter.all()</script>
+
View
9 htmlheader.txt
@@ -0,0 +1,9 @@
+<!-- scripts for highlighter -->
+<script type="text/javascript" src="scripts/shCore.js"></script>
+<script type="text/javascript" src="scripts/shBrushXml.js"></script>
+<script type="text/javascript" src="scripts/shBrushScala.js"></script>
+<script type="text/javascript" src="scripts/shBrushBash.js"></script>
+<!-- CSS for highlighter -->
+<link href="css/shCore.css" rel="stylesheet" type="text/css" />
+<link href="css/shThemeDefault.css" rel="stylesheet" type="text/css" />
+
View
2 templates/scripts/shBrushXml.js
@@ -60,7 +60,7 @@
};
Brush.prototype = new SyntaxHighlighter.Highlighter();
- Brush.aliases = ['xml', 'xhtml', 'xslt', 'html', 'XML'];
+ Brush.aliases = ['xml', 'xhtml', 'xslt', 'html'];
SyntaxHighlighter.brushes.Xml = Brush;

0 comments on commit eadce36

Please sign in to comment.
Something went wrong with that request. Please try again.