← Back to team overview

zim-wiki team mailing list archive

Re: export sub-notebook using the command line

 

Dear Karthik,

Thank you for your response. It didn't give me any message. Strangely though, I tried today, and it works.

Perhaps for clarification, the docs I used was the name of the page I wanted to export. So, the syntax I used, and which works is:

zim --export -r --output=(Name of Folder) --format=html (path to folder notebook) (name of folder)

Best wishes,

Paulo


On 10-01-17 11:05, Karthik Tayur wrote:
Perhaps changing docs with regard to the index reference might help? For instance, :x:docs?
Could you elaborate on what the error messages are in the terminal?

On 10 January 2017 at 09:02, Karthik Tayur <karthikstayur@xxxxxxxxx <mailto:karthikstayur@xxxxxxxxx>> wrote:

    What does 'docs' refer to? Is 'path-to-notebook' actually the path
    to the folder which contains the desired page?
    zim --export -r --output=~(Name of Folder) --format=html ~(path of
    the folder)
    This works fine in my computer. I have omitted the template
    because I wasn't particular about it.

    Regards
    Karthik Tayur


    On 9 January 2017 at 15:57, Paulo van Breugel
    <p.vanbreugel@xxxxxxxxx <mailto:p.vanbreugel@xxxxxxxxx>> wrote:

        Hi Jaap and others,

        I am trying to export a sub-notebook. This goes fine when
        using the menu, but now I am not sure how to do this on the
        command line.

        output=Output_folder
        template='path_to_template'
        notebook='path to notebook'

        If docs the note is that I want to export (including the
        sub-notes of this note), I thought to do something like:

        zim --export -r --output=$output --format=html
        --template=$template $notebook docs

        But this doesn't work. Any hints how to go about this?

        Best wishes,

        Paulo



        _______________________________________________
        Mailing list: https://launchpad.net/~zim-wiki
        <https://launchpad.net/%7Ezim-wiki>
        Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
        <mailto:zim-wiki@xxxxxxxxxxxxxxxxxxx>
        Unsubscribe : https://launchpad.net/~zim-wiki
        <https://launchpad.net/%7Ezim-wiki>
        More help   : https://help.launchpad.net/ListHelp
        <https://help.launchpad.net/ListHelp>





References