SF.net SVN: geany-plugins:[1162] trunk/geanylatex

frlan at users.sourceforge.net frlan at xxxxx
Fri Mar 12 11:05:59 UTC 2010


Revision: 1162
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1162&view=rev
Author:   frlan
Date:     2010-03-12 11:05:59 +0000 (Fri, 12 Mar 2010)

Log Message:
-----------
GeanyLaTeX: If KOMA script is active, use the KOMA way of doing a landscape document

Modified Paths:
--------------
    trunk/geanylatex/ChangeLog
    trunk/geanylatex/src/geanylatex.c

Modified: trunk/geanylatex/ChangeLog
===================================================================
--- trunk/geanylatex/ChangeLog	2010-03-12 11:05:18 UTC (rev 1161)
+++ trunk/geanylatex/ChangeLog	2010-03-12 11:05:59 UTC (rev 1162)
@@ -1,7 +1,13 @@
+2010-03-12  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
+
+ * Add a very first attempt to support landscape on wizard. Output is
+   far away from being good.
+
+
 2010-01-27  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>
 
- * Add an example spec file for creating rpm files. 
-   Thanks to Krzysztof Goliński and Dominic Hopf for efforts here. 
+ * Add an example spec file for creating rpm files.
+   Thanks to Krzysztof Goliński and Dominic Hopf for efforts here.
 
 
 2010-01-16  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>

Modified: trunk/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geanylatex/src/geanylatex.c	2010-03-12 11:05:18 UTC (rev 1161)
+++ trunk/geanylatex/src/geanylatex.c	2010-03-12 11:05:59 UTC (rev 1162)
@@ -1308,7 +1308,14 @@
 		{
 			case 2:
 			{
-				orientation_string = g_utf8_casefold("landscape", -1);
+				if (KOMA_active == TRUE)
+				{
+					orientation_string = g_utf8_casefold("paper=landscape", -1);
+				}
+				else
+				{
+					orientation_string = g_utf8_casefold("landscape", -1);
+				}
 				break;
 			}
 			/* 1 and default currently not handled differently, but


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list