]> git.saurik.com Git - wxWidgets.git/blobdiff - build/script/word_macro.txt
inside <wx-data> we need to use instead of /
[wxWidgets.git] / build / script / word_macro.txt
index ac37329e5587c45aa23ffb79b1b0a40b334f4897..462f4b65b9d570a9f5423a51a4910b30f7f25f39 100644 (file)
@@ -5,11 +5,6 @@
 Sub wx_ps()
     swxWIN = Environ("WXWIN")
     do_ps swxWIN & "\docs\pdf\", "wx"
-    do_ps swxWIN & "\contrib\docs\latex\svg", "svg"
-    do_ps swxWIN & "\contrib\docs\latex\ogl", "ogl"
-    do_ps swxWIN & "\contrib\docs\latex\mmedia", "mmedia"
-    do_ps swxWIN & "\contrib\docs\latex\gizmos", "gizmos"
-    do_ps swxWIN & "\contrib\docs\latex\fl", "fl"
     do_ps swxWIN & "\utils\tex2rtf\docs", "tex2rtf"
 
     bye_bye
@@ -26,6 +21,7 @@ Sub do_ps(mydir, myfile)
         "", Revert:=False, WritePasswordDocument:="", WritePasswordTemplate:="", _
         Format:=wdOpenFormatAuto
         ActivePrinter = "\\biolpc22\laserjet"
+    ActiveDocument.Fields.Update
     Application.PrintOut FileName:="", Range:=wdPrintAllDocument, Item:= _
         wdPrintDocumentContent, Copies:=1, Pages:="", PageType:=wdPrintAllPages, _
         Collate:=True, Background:=False, PrintToFile:=True, PrintZoomColumn:=0, _