Re: [Zim-wiki] export sub-notebook using the command line

2017-01-11 Thread Paulo van Breugel

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 > 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
> 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

Post to : zim-wiki@lists.launchpad.net

Unsubscribe : https://launchpad.net/~zim-wiki

More help   : https://help.launchpad.net/ListHelp






___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] export sub-notebook using the command line

2017-01-09 Thread Paulo van Breugel

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
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp