[svn] r5815: wiki2pdf: Makefile totex

malekith svnadmin at nemerle.org
Thu Oct 13 14:36:37 CEST 2005


Log:
Make the sources better visible.

Author: malekith
Date: Thu Oct 13 14:36:36 2005
New Revision: 5815

Modified:
   wiki2pdf/Makefile
   wiki2pdf/totex

Modified: wiki2pdf/Makefile
==============================================================================
--- wiki2pdf/Makefile	(original)
+++ wiki2pdf/Makefile	Thu Oct 13 14:36:36 2005
@@ -1,5 +1,6 @@
 all:
-	./totex
+	RAISE_LEVEL=1 ./totex "Nemerle for OOP Programmers Week \\#1"
+	acroread output.pdf
 
 clean:
 	rm -f output.* *.html *.pdf

Modified: wiki2pdf/totex
==============================================================================
--- wiki2pdf/totex	(original)
+++ wiki2pdf/totex	Thu Oct 13 14:36:36 2005
@@ -180,7 +180,16 @@
       s/ /{\\nbsp}/g;
       $_ = fix_ent($_);
 
-    print OUT "\\vspace*{2mm} \\noindent \\texttt{$_}";
+    print OUT "\\vspace*{5mm}
+               \\hspace*{5mm}
+		      \\colorbox[rgb]{0.95,0.95,0.95}{
+		    \\hspace*{2mm}
+		    \\begin{minipage}{14cm}
+		      \\vspace*{2mm}
+		      \\noindent \\texttt{$_}
+		    \\end{minipage}
+		  }
+		\\vspace*{5mm}";
 
     next;
   }



More information about the svn mailing list