Menu

Sticky TOC-Sidebar

Deplate
2010-08-27
2013-04-17
  • Bernhard Grotz

    Bernhard Grotz - 2010-08-27

    Hi,

    what theme(s) or module(s) is/are necessary to create a html-sidebar containing a table-of-contents list?
    A fixed position layout as like as used for the deplate documentation website would be great.

    Which commandline options have to be given, or how should an appropriate deplate.ini-file look like? 

    Many thanks in advance!

    Bernhard

     
  • Tom Link

    Tom Link - 2010-08-27

    Hi,

    The following command line should take you close:

    deplate -t html-tabbar-right.html -f htmlsite doc.txt

    For the right css files, please take a look at:
    http://github.com/tomtom/deplate/blob/master/deplate.txt

    #VAR: css=tabbar-right.css|screen

    Basically, it should be sufficient to write

    deplate -theme navbar-right.html doc.txt

    but the corresponding theme definition is currently missing. I don't know when I will have time to create the missing files.

    Regards
    Tom

     
  • Bernhard Grotz

    Bernhard Grotz - 2010-08-30

    Thank you very much, that's exactly what i was looking for  :-)

    I have just one little question left:

    Which setting (inside your deplate.txt?) provides the function that the created html-files are named after the chapters OPT: id=name variables instead of file00001.html file00002.html and so on?

    Greetings,

    Bernhard

     
  • Tom Link

    Tom Link - 2010-08-30

    This should happen automatically if the heading has an caption, shortcaption, or id attribute, doesn't it.

    Example:

    * Foo
    #OPT: id=foo

    bla bla

    * Bar
    #OPT: id=bar

    should with -f htmlsite create the files foo.html and bar.html

    Regards
    Tom

     
  • Tom Link

    Tom Link - 2010-08-30

    And you might have to set autoFileNames!.

    See: http://deplate.sourceforge.net/Variables.html#hd0015001002

     
  • Bernhard Grotz

    Bernhard Grotz - 2010-09-01

    Great, everything is working now! Thank you very much!

     

Log in to post a comment.