[tw] Re: [TW5] internal pdf
a pdf is actual a 'container' of image etc. Using the ff pdf viewer you can right click on the pdf displayed, hover over 'this frame' then click 'view frame info'. A pop up appears - click on the media tab at the top and then it may be possible to save the embedded images separate from the pdf. cheers BJ On Sunday, July 5, 2015 at 7:52:54 PM UTC+1, Bob Flandard wrote: Hello BJ, Good idea. If I switch back to the Adobe plugin (see message above) and do as you suggest, then the pdf file renders nicely in FF (but not so in TW). I'll probably make do with converting the pdf files to SVG, as it seems to be an issue specific to my computer setup. Thanks for your help, Bob -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/404d247c-a015-4630-86df-6903c9d2acdc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] internal pdf
On Sunday, July 5, 2015 at 8:52:54 PM UTC+2, Bob Flandard wrote: I'll probably make do with converting the pdf files to SVG, as it seems to be an issue specific to my computer setup. I'm not sure, why you want to convert PDF to SVG. Those are 2 completely different formats. SVG is for vector images and PDF is a compressed document format. So imo it makes no sense to convert PDF to SVG. Also depending on the the PDF content, the svg will be huge, very very hard to edit. There will be a lot of formatting problems, and so on ... I think, you don't win here. Can you describe you usecase a little bit closer? -mario -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/75792a7d-6567-436b-ba8d-4e551ecb8536%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: enclose string in [[...]] only if contains spaces
Hi Rustem The core already contains a function stringifyList() that does what you want: https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L253-L263 You could wrap it into a JS macro, Best wishes Jeremy On Mon, Jul 6, 2015 at 7:58 AM, Rustem 8pa...@gmail.com wrote: I agree. I think this problem is commonly referred to as OCD. Can't live with extraneous brackets. :D On Sunday, July 5, 2015 at 11:53:20 PM UTC-7, Danielo Rodríguez wrote: What is the problem about enclosing a string without spaces in double square brackets? it will work the same and it is easier. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3d73c032-c94d-4f55-914b-5b9e4cba856d%40googlegroups.com https://groups.google.com/d/msgid/tiddlywiki/3d73c032-c94d-4f55-914b-5b9e4cba856d%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy.rus...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CAPKKYJY5T1jS3Euayqx3Pa_Z0c%3DNQQX3ufC9N6kzMpcyqSwgPg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: enclose string in [[...]] only if contains spaces
Actually, I realized `set` widget will do it for me, as described in http://tiddlywiki.com/static/SetWidget (see Filtered List Variable Assignment). However, can anybody explain why this does not work as expected (wrap in [[...]]) ``` $set name=myVariable filter=[[$(currentTiddler)$]] $text text=myVariable/ /$set ``` but this does: ``` $set name=myVariable filter=[all[current]] $text text=myVariable/ /$set ``` On Monday, July 6, 2015 at 12:52:36 AM UTC-7, Jeremy Ruston wrote: Hi Rustem The core already contains a function stringifyList() that does what you want: https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L253-L263 You could wrap it into a JS macro, Best wishes Jeremy On Mon, Jul 6, 2015 at 7:58 AM, Rustem 8pa...@gmail.com javascript: wrote: I agree. I think this problem is commonly referred to as OCD. Can't live with extraneous brackets. :D On Sunday, July 5, 2015 at 11:53:20 PM UTC-7, Danielo Rodríguez wrote: What is the problem about enclosing a string without spaces in double square brackets? it will work the same and it is easier. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com javascript:. To post to this group, send email to tiddl...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3d73c032-c94d-4f55-914b-5b9e4cba856d%40googlegroups.com https://groups.google.com/d/msgid/tiddlywiki/3d73c032-c94d-4f55-914b-5b9e4cba856d%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com javascript: -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e387455d-a434-4b8f-a5ae-8b5d6dcac0b9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] internal pdf
Thanks Richard, I'll have a look at that. Regards, Bob -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7b392b6d-f2b7-44f1-b72a-46dff377f0a8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] TW5 CodeMirror bug when using Vim emulation
Dave, Sorry about late reply. Yes, I know about It's All Text and have used it successfully before on a Linux and Windows 7 box. (In fact, if you use Vimperator and configure _vimperatorrc properly, you don't even need to use It's All Text.) However, I have been unable to make this work on a Windows 8.1 box. Thanks anyway. On Tuesday, June 2, 2015 at 1:21:44 PM UTC+1, D. A. Holton wrote: caveat: I am a very basic/beginning user of TWC. I don't like coming into a conversation in the middle, but.here goes: ...can anyone tell me how to invoke an external editor for a tiddler? I do all my editing in gvim using FireFox, and I use an Extension called It's All Text!. This enables you to set up an external editor to launch for ANY text field in a web page. You point it to your favorite editor, and in any text field it will put a small button that reads Edit. You click that button to launch your editor. Sometimes I have to click it twice. Also, you can set up a hot key to launch. It seems to work in both Linux (my environment), and Windows w/ gvim installed. I have not yet found an alternative for Chrome which is the only other browser I use. -- Dave H On Monday, June 1, 2015 at 1:33:11 PM UTC-4, R Ax wrote: Hi Jeremy and others, Any progress on this? Alternatively, can anyone tell me how to invoke an external editor for a tiddler. I'd rather be working with a fully-functional version of Vim than the cutdown version as implemented by CodeMirror. Thanks On Monday, May 18, 2015 at 11:02:40 PM UTC+1, R Ax wrote: Hi Jeremy, Thanks for the response. I can't reproduce the bug on the tiddlywiki site because I can't save changes there. To reproduce the bug yourself, do the following; 1. Create a new tiddler titled $:/config/CodeMirror. 2. Paste the following code into this new tiddler; { require: [ $:/plugins/tiddlywiki/codemirror/mode/javascript/javascript.js, $:/plugins/tiddlywiki/codemirror/addon/dialog/dialog.js, $:/plugins/tiddlywiki/codemirror/addon/search/searchcursor.js, $:/plugins/tiddlywiki/codemirror/addon/edit/matchbrackets.js, $:/plugins/tiddlywiki/codemirror/keymap/vim.js, ], configuration: { keyMap: vim, matchBrackets:true, showCursorWhenSelecting: true } } 3. Set the type field of this tiddler to application/json. 4. Refresh for the changes to take effect. 5. If you now attempt to edit any tiddler, you will see a block cursor. Vim is a modal editor and starts off in command mode. 6. Press the 'i' key. This will switch to insert mode. You can now type as for a normal editor. 7. Entering the '#' or '~' key however should reproduce the error I described. Further details on configuring CodeMirror (which is where I got the information on setting it up from) are to be found in $:/plugins/tiddlywiki/codemirror/usage. Thank you so much for your help. On Monday, May 18, 2015 at 7:13:36 PM UTC+1, Jeremy Ruston wrote: Hi R Ax My apologies for the late reply. I'm not familiar with vim; could you kindly list the step-by-step instructions that will reproduce the bug on http://tiddlywiki.com/plugins/tiddlywiki/codemirror/ http://www.google.com/url?q=http%3A%2F%2Ftiddlywiki.com%2Fplugins%2Ftiddlywiki%2Fcodemirror%2Fsa=Dsntz=1usg=AFQjCNEG9hARuVPZYVYFqrjxcTi-wVMMtQ ? Many thanks, Jeremy, On Thu, May 7, 2015 at 7:16 PM, R Ax rax@gmail.com wrote: Hi guys, I get the following error message whenever I type the characters '#' or '~' in insert mode of vim emulation for CodeMirror. TypeError: keyName.indexOf is not a function I noticed a similar bug reported a year ago which was triggered by the '=' character and which since appears to have been fixed. Any ideas? regards -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com. To post to this group, send email to tiddl...@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4ca09d5c-839c-4228-b190-aee17f78bd5e%40googlegroups.com https://groups.google.com/d/msgid/tiddlywiki/4ca09d5c-839c-4228-b190-aee17f78bd5e%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit
[tw] Re: [TW5] internal pdf
Hello Mario and BJ, Thank you for your suggestions and thoughts. My use case is using a Wacom Bamboo tablet and Xournal http://xournal.sourceforge.net to quickly create diagrams and sketches of a technical nature and then export them from Xournal as pdf files which I can then organize and access in TW. However, as the direct pdf import in TW is giving me issues, I am then needing to convert the pdfs to SVG to get the effect I want. I could use Microsoft Onenote, but I also use maths and code snippets which TW serves well with KateX/Mathjax and syntax highlighting plugins. The pdf files exported from Xournal are vector based rather than raster. I may just settle for drawing the diagrams on a sheet of paper and scanning them to jpeg or png images and linking to them as external images in the TW. This would save any issues converting the pdf files to SVG, but wouldn't look half as pretty. Maybe there's a much better established way of doing this that I'm missing? Ultimately I'd like a tablet type product last feels like pencil and paper, where the drawing appears on the tablet screen, right under the nib (like a real pen) but I don't think such a product exists yet. Best regards, Bob -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/665eec68-dadb-40c8-a75d-ae1a513bcd89%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] internal pdf
Hi Bob, Now it makes perfect sense. Thx for your info. There are several online svg editors out there. eg: http://editor.method.ac/ which is based on svg-edit. you can copy / paste the source code to TW. - Menu: View: Source [ctrl]-[u] In TW you need to set the tiddler type field to image/svg+xml This should work just fine. -mario -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/748948ca-ca7d-4b0c-ad58-75a62e970ad7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] [[TW5]] Storys plugin. Saving StoryList to a field. Saving a History snapshot.
Firstly may I say thank you for Tiddlywiki. It is awesome! I have been trying to modify the Stories plugin / Saving a History Snapshot from tb5 and also from the original thread on this forum. I want to attach the StoryList to a field on the actual Journal tiddler rather than a separate hidden tiddler. The story I wish to save will always relate to a Journal tiddler thus it seemed sensible to try and combine them. Using the below code I have managed to get the StoryList written to a field and also to reload the story list. It works. Where it fails however is when writing StoryList to the field whilst in Edit mode. Instead of writing the name of the current tiddler as it will be when saved it writes: [[Draft of SuchandSuchTiddler]] Thus when you reload the StoryList an undefined Tiddler called [[Draft of SuchandSuchTiddler]] is created rather than loading SuchandSuchTiddler Is there any way around this behaviour? Finally, if there is a better way I would love to hear it as I really am a beginner at this. Many thanks in advance. --- The code in the Tiddler: \define getLink(title) [[$title$]] \define loadSnapshot() $button set=$:/StoryList!!list setTo={{!!XSStoryList}} {{$:/core/images/right-arrow}} Load Workflow/$button \end \define saveSnapshot() $button set=!!XSStoryList setTo={{$:/StoryList!!list}} {{$:/core/images/done-button}} Save Workflow/$button \end style .story-manager button, .story-manager input, .story-manager select{ width:150px; display:inline-block; text-align:left; } .story-manager div { margin-top:10px; } /style div class=story-manager saveSnapshot loadSnapshot /div -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/1d750d71-7145-4252-88f6-2d17af38aead%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [tw] Re: enclose string in [[...]] only if contains spaces
I should have just used [currentTiddler] instead of [[$(currentTiddler)$]]. Not sure what the deal with the latter is. Used in a list filter, it causes too much recursion. On Monday, July 6, 2015 at 1:05:06 PM UTC-7, Rustem wrote: Actually, I realized set widget will do it for me, as described in http://tiddlywiki.com/static/SetWidget (see “Filtered List Variable Assignment”). However, can anybody explain why this does not work as expected (assuming currentTiddler title contains spaces) $set name=myVariable filter=[[$(currentTiddler)$]] [[another one]] $text text=myVariable/ /$set but this does: $set name=myVariable filter=[all[current]] [[another one]] $text text=myVariable/ /$set On Monday, July 6, 2015 at 12:52:36 AM UTC-7, Jeremy Ruston wrote: Hi Rustem The core already contains a function stringifyList() that does what you want: https://github.com/Jermolene/TiddlyWiki5/blob/master/boot/boot.js#L253-L263 You could wrap it into a JS macro, Best wishes Jeremy On Mon, Jul 6, 2015 at 7:58 AM, Rustem 8pa...@gmail.com wrote: I agree. I think this problem is commonly referred to as OCD. Can't live with extraneous brackets. :D On Sunday, July 5, 2015 at 11:53:20 PM UTC-7, Danielo Rodríguez wrote: What is the problem about enclosing a string without spaces in double square brackets? it will work the same and it is easier. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com. To post to this group, send email to tiddl...@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3d73c032-c94d-4f55-914b-5b9e4cba856d%40googlegroups.com https://groups.google.com/d/msgid/tiddlywiki/3d73c032-c94d-4f55-914b-5b9e4cba856d%40googlegroups.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- Jeremy Ruston mailto:jeremy...@gmail.com -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b6c29ee0-7e8c-486d-956d-83a572130ad9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: Announcing TiddlyWiki version 5.1.9
Congratulations on the release! Thank You. I am liking TW5 more and more. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e47d0ba5-fa64-4773-a97a-0f24447cf1b6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: enclose string in [[...]] only if contains spaces
What is the problem about enclosing a string without spaces in double square brackets? it will work the same and it is easier. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7c467834-bcb2-4974-96da-4fc077f0b526%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: enclose string in [[...]] only if contains spaces
I agree. I think this problem is commonly referred to as OCD. Can't live with extraneous brackets. :D On Sunday, July 5, 2015 at 11:53:20 PM UTC-7, Danielo Rodríguez wrote: What is the problem about enclosing a string without spaces in double square brackets? it will work the same and it is easier. -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/3d73c032-c94d-4f55-914b-5b9e4cba856d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[tw] Re: [TW5] internal pdf
On Monday, July 6, 2015 at 12:39:29 PM UTC+2, BJ wrote: a pdf is actual a 'container' of image etc. Using the ff pdf viewer you can right click on the pdf displayed, hover over 'this frame' then click 'view frame info'. A pop up appears - click on the media tab at the top and then it may be possible to save the embedded images separate from the pdf. hmm, Depending, on how the PDF was created, the embedded images are, very often, optimized for pc screen resolution. So they are scaled down to 72dpi. Which is completely useless, if you want to print it on real paper. So as long as you stay with low res displays, it may be ok. Most default settings also compress jpg images with low quality / high compression settings, which imo creates ugly artefacts. So in my opinion, if you didn't create the PDFs on your own, they are a really bad source for images. Leaving alone the copyright problem, for much PDF content. mario -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/e481cea6-9a1d-4dd2-9b80-547f2754d4a9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.