On Thu, 29 Mar 2007, Gunnar Lindholm wrote:

Christian, since you seem to be the wiki-wizard, where (and how, what format) should I put it? I will most likely add more stuff to my document in the future.

The most difficult question regarding the wiki is where to put it...

Having said that, if this is an example of how to do something, then you could put it in the group Examples/, for instance as

        http://wiki.lyx.org/Examples/IncludeExternalProgramListings

The name of the page is just a suggestion, you probably have a better idea of what to call it.


Since it is an example, I also think you should upload corresponding files, i.e. a .lyx-file, some source code and the resulting PDF.

However, let's do it one step at a time. First create the page. There are some instructions at
        http://wiki.lyx.org/Examples/Examples
        http://wiki.lyx.org/Examples/CreatingNewExample

but they are very terse, so I'm giving you the instructions in more detail here:

* Go to
        http://wiki.lyx.org/Examples/PageList?action=edit
  and add a "teaser link" to the page you will create by writing
        T*[[Examples/IncludeExternalProgramListings]]

* Then save the page. The teaser link you just created will have a
  question mark after it, indicating that the page does not yet exist.
  Click on the link to go and create the page.

* When you create the page, use the first line of that page to give a
  summary/description of the page and it's purpose. This description is
  what will be used as the "teaser" in the teaser link you created
  earlier.

* I recommend that you after the teaser (summary/introduction) add the
  following line:
        (:toc:)
  which will generate a table of contents.

Finally, just add the text of the page. To begin with, you can just copy the text of the original web page and paste it. Then you format it appropriately. Some tips:

Use

        !!! A heading, level 3

        !!!! A heading, level 4

        ''emphasized text''

        '''strong text'''

        [[this is a link -> http://example.net]]

        -> [@
        This text will be shown preformatted and not
        interpreted as PmWiki markup. The '->' makes it indented
        one level as well. It's good for small program listings etc.
        @]

        # An enumerated item
        # The next enumerated item
        --> %ert%some ERT%%
        # The third enumerated itme

I think this should cover about 90% of what you want to do.

/Christian

--
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr

Reply via email to