faqts : Computers : Programming : Languages : Tse : Language : Computer : SubML

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

1 of 1 people (100%) answered Yes
Recently 1 of 1 people (100%) answered Yes

Entry

SubML: Convert: Format: Method: General: What is a general method to convert SubML to other formats?

Mar 30th, 2005 08:26
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 30 March 2005 - 11:36 pm ----------------------

SubML: Convert: Format: Method: General: What is a general method to 
convert SubML to other formats?

---

Steps: Overview:

 ---

 1. -Always use open and close tags in pairs

     e.g. if you insert <book>
          you should also insert </book>

 ---

 2. -Create your SubML pages

     1. -For first to last SubML page

          -Create your SubML page

         Endfor

 ---

 3. -Possibly check if open and closed tags match
     (though it will also be controlled in e.g. LaTeX, ...)

        1. -For first to last SubML page

             -Run a check open versus closed tag verify program
              (grep.exe, ...)

            Endfor

 ---

 4. -Possibly convert your non-PostScript
     pictures to PostScript
     (for LaTeX)

     1. -For first to last conversion format
         (=jpeg, gif, png, bmp, ...)

        1. -For first to last SubML page

             -Run a conversion program
              (=convert.exe, ...)

            Endfor

 ---

 5. -Convert your SubML pages to another format

     1. -For first to last format
         (=text, HTML, LaTeX, ...)

        1. -For first to last SubML page

             -Run a conversion program

               o Run a search/replace program
                 (sed.exe, TSE macro, VIM macro, ...)

            Endfor

 ---

 6. -Possibly create figure numbers

        1. -For first to last SubML page

             -Run a figure number creation program

            Endfor

 ---

 7. -Possibly create a book index

        1. -For first to last SubML page

             -Run a book index creation program

            Endfor

---
---

Internet: see also:

---



----------------------------------------------------------------------