[Python-checkins] CVS: python/dist/src/Doc/tools mkhowto,1.13,1.14

Fred L. Drake python-dev@python.org
Wed, 30 Aug 2000 23:58:37 -0700


Update of /cvsroot/python/python/dist/src/Doc/tools
In directory slayer.i.sourceforge.net:/tmp/cvs-serv25287/tools

Modified Files:
	mkhowto 
Log Message:

Add --up-link and --up-title parameters to allow linking the top level
of the generated document to an external index.  These correspond to the
-up_url and -up_title parameters of LaTeX2HTML.


Index: mkhowto
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/tools/mkhowto,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** mkhowto	2000/08/31 06:14:38	1.13
--- mkhowto	2000/08/31 06:58:34	1.14
***************
*** 23,26 ****
--- 23,28 ----
      --style             Specify the CSS file to use for the output (filename,
                          not a URL).
+     --up-link           URL to a parent document.
+     --up-title          Title of a parent document.
  
  Other options:
***************
*** 92,95 ****
--- 94,99 ----
      style_file = os.path.join(TOPDIR, "html", "style.css")
      about_file = os.path.join(TOPDIR, "html", "about.dat")
+     up_link = None
+     up_title = None
      #
      DEFAULT_FORMATS = ("pdf",)
***************
*** 113,117 ****
                                      "link=", "split=", "logging", "debugging",
                                      "keep", "quiet", "runs=", "image-type=",
!                                     "about=", "numeric", "style="]
                                     + list(self.ALL_FORMATS))
          for opt, arg in opts:
--- 117,122 ----
                                      "link=", "split=", "logging", "debugging",
                                      "keep", "quiet", "runs=", "image-type=",
!                                     "about=", "numeric", "style=",
!                                     "up-link=", "up-title="]
                                     + list(self.ALL_FORMATS))
          for opt, arg in opts:
***************
*** 155,158 ****
--- 160,167 ----
              elif opt == "--l2h-init":
                  self.l2h_init_files.append(os.path.abspath(arg))
+             elif opt == "--up-link":
+                 self.up_link = arg
+             elif opt == "--up-title":
+                 self.up_title = arg
              #
              # Format specifiers:
***************
*** 392,395 ****
--- 401,406 ----
          l2hoption(fp, "MAX_LINK_DEPTH", options.max_link_depth)
          l2hoption(fp, "MAX_SPLIT_DEPTH", options.max_split_depth)
+         l2hoption(fp, "EXTERNAL_UP_LINK", options.up_link)
+         l2hoption(fp, "EXTERNAL_UP_TITLE", options.up_title)
          fp.write("1;\n")
          fp.close()