[Zim-wiki] Feature Request - Horizontal Rule, Max Width

2015-06-13 Thread Brian Allen Vanderburg II
On some pages in ZIM I just want to store collections or snips of text. 
These snips don't need a heading or title, and using one page per snip
would be to much.

A feature I think could be nice would be for a horizontal rule or
divider, similar to HTML's hr tag.  Currently I just use a sequence of
dashes, however number of dashes may vary and look unsightly, and it may
not fill the screen depending on the size of the ZIM window. If the
window is too wide, the separated text may expand past the dashes used
as separators.  If the window is too narrow the dashes may wrap ac cross
multiple lines.  A horizontal rule would auto-size with the width of the
window.

Another feature would be the ability to limit the width of text so lines
may be shorter if desired. Such a feature should not apply to verbatim text.


Thanks,

Brian Allen Vanderburg II



signature.asc
Description: OpenPGP digital signature
___
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


Re: [Zim-wiki] Feature suggestion

2015-06-13 Thread Jaap Karssenberg
Hi Mario,

Sorry for the long timeout. Can you explain a little bit more what would be
the use case for such a tabbed interface?

Regards,

Jaap


On Thu, May 14, 2015 at 9:06 PM, Mario Daniel Carugno carug...@gmail.com
wrote:

 Hi guys

 I'm a zim user and joined the list because I think zim is one of the best
 practical tools.

 Sometimes I feel that a good feature would be that each page could have
 'tabs'.
 Maybe a page would need composed by several pages but spreading them in a
 horizontal rather than vertical layout.

 What do you think ?

 ___
 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


Re: [Zim-wiki] Export to html: No top level in left Index

2015-06-13 Thread Jaap Karssenberg
Will commit fix in next revision.

-- Jaap

On Thu, May 14, 2015 at 10:55 AM, Agustin Lobo aloboa...@gmail.com wrote:

 When I export the current page + subpages to html,
 the left index does not feature the top level page, thus if
 I navigate (in html) to the lower levels there is no obvious way to
 go back to the higher level page.
 Any trick besides using the arrows of the browser?

 --
 Agustin Lobo
 aloboa...@gmail.com

 ___
 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


Re: [Zim-wiki] How to export attachments in zim wiki export, and one bug.

2015-06-13 Thread Jaap Karssenberg
Both issues to be fixed in next revision.

Regards,

Jaap


On Sun, May 3, 2015 at 6:17 PM, Radek radek.hnil...@gmail.com wrote:

 Hello,


 I have one question.  I lately upgraded zim to version 0.62 and
 noticed that the export templating is different.  It took me some time
 to put it in work, but one thing is not working at all, attachments.
 I use following code to render attachments and my problem is it
 generates local uri instead of web.  It means that the uri(file) is
 like
 file:///home/radek/tmp/zim-radek-public/Public/Software/Typesetting/Groff/groff-book.pdf

 [% IF page.attachments %]
 brAttachments:/br
 brLinks are broken!/br
 table
 [%- FOR file IN page.attachments -%]
 tr
 tda href='[% uri(file) %]'[% file.basename
 %]/a/td
 tdnbsp;|nbsp;/td
 td[% file.size %]/td
 tdnbsp;|nbsp;/td
 td[% file.mtime %]/td
 tdnbsp;|nbsp;/td
 td([% file %])/td
 /tr
 [%- END -%]
 /table
 [% END %]

 I look through the documentation, which is sparse.  And did not find any
 help.


 Next thing I noticed that ZIM do not like, if I wrote:

 '''
 '''

 When I press save before entering the code in between the ''' it shows
 dialog saying:

 Could not save page: Public:Programming:Building Compiler Easy:030
 Program Template in C

 'NoneType' object has no attribute 'insert'

 To continue, you can save a copy of this page or discard
 any changes. If you save a copy, changes will also be
 discarded, but you can restore the copy later.



 --
 Radek

 ___
 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


Re: [Zim-wiki] Zim 0.62 still has export bug?

2015-06-13 Thread Jaap Karssenberg
Just trying it out with a small test notebook:

./zim.py --export --output=/tmp/zim_export --format=html --overwrite
~/Notebooks/Test/ --verbose

works fine for me - it writes out a line for each page exported and each
attachment copied. Without the --overwrite an error is thrown.

Regards,

Jaap



On Fri, May 29, 2015 at 1:58 PM, Joseph Reagle joseph.2...@reagle.org
wrote:

 Let me put a point on this: Does *anyone* successfully update an
 existing HTML export using 0.62?

 On 05/28/2015 09:24 AM, Joseph Reagle wrote:
  # I want to export from the command line
 
  - I type the following, see some INFO diagnostics, but nothing is
  produced (and it completes much faster than using the GUI above)
 
  ```
  zim --export --output=/home/reagle/joseph/zwiki --format=html
  --overwrite /home/reagle/joseph/zim --verbose
  INFO: This is zim 0.62
  INFO: Remove file: /home/reagle/joseph/zim/.zim/tmp
  INFO: Loading template from: /usr/share/zim/templates/html/Default.html
  ```

 ___
 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


Re: [Zim-wiki] Zim 0.62 still has export bug?

2015-06-13 Thread Joseph Reagle
Could you send me a zip file of your Test? I will upgrade to 0.62 again
and try that.

On 06/13/2015 08:43 AM, Jaap Karssenberg wrote:
 Just trying it out with a small test notebook:
 
 ./zim.py --export --output=/tmp/zim_export --format=html --overwrite
 ~/Notebooks/Test/ --verbose


___
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


Re: [Zim-wiki] Verbatim section gets tabified in 0.62

2015-06-13 Thread Jaap Karssenberg
Fixed in next commit dev branch

On Wed, Jun 10, 2015 at 2:35 PM, WEHLER Andreas 
andreas.weh...@thalesgroup.com wrote:

 Hi.

 I've just found out that a section of source code, Verbatim-formatted,
 gets automatically tabified with 8 chars per tab.
 This is not the case in zim 0.60.

 Attached is a test page to show the behavior. You may edit the page via

 Tools - Edit source

 but on return blanks are replaced by tabs again.
 You may delete tabs and insert spaces instead in zim,
 there it seems ok then. But navigate to another page,
 come back and see the tabs again.

 I've also noticed the new Source View plugin, which is new to zim 0.62.
 Disabling it makes no difference. And admitted, sorry, I don't know
 how to use it also and if it is backwards compatible, say, may be
 edited in zim 0.60 without problems. Source View sounds like a
 very cool feature ...

 Conclusion:
 Is there any way to disable the auto-tabify feature in 0.62?
 If I format Verbatim I mean verbatim, say, unchanged.

 Thanks,


 Andreas

 Ubuntu 14.04; zim 0.60; zim 0.62

 ___
 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