zim-wiki team mailing list archive
Mailing list archive
Re: It works. Thanks! (Ignore attached subtree to not contain zim pages, how?)
Thanks a lot for your hint about hidden directories starting with "." or
It works. Very good! Also, all subdirectories and contents, even with
names, are ignored also, as in:
mkdir -p .HideMe/InvisiblePage
echo "Hello world" > .HideMe/InvisiblePage.txt
echo "Year 2016 " > .HideMe/InvisiblePage/SomeAttachment.asc
Nevertheless you may link files in those directories as usual, just
adjust the path accordingly. I didn't know this possibility, which solves
everything needed. This gives the possibility to embed a whole tree of
any sort within zim.
This should also find its way into the zim help pages, assuming it is
a stable intentionally designed feature.
Best regards and happy new year,
On 12/23/2015 05:20 PM, Pl wrote:
I think this feature may be useful. But, IMHO, it's not very
convenient to add '.zimignore' file to each directory you want to
ignore. Also there will be confusion if you create a new subpage with
the same name as the directory (the subpage will try to use it for
subsubpages). I think it may be easier to create a directory with a
special name which will be ignored by zim and put attachments there.
For example, as I know zim currently ignores directories which
starts with '.' or '_' (they are considered as hidden) and doesn't allow
to create such pages. If there is no special meaning in ignoring them it
may be possible to use a directory with a name like '_attachments' or
'.attachments' as a storage for files/dirs to be ignored.
On 11.12.2015 10:59, Wehler Andreas wrote:
What about attaching a subtree within a zim book which is ignored by
zim, say, not handled as pages?