-
stophlong
I wrote some org (http://orgmode.org) related functions as a proof of concept. You can check out my screencast for more info (https://youtu.be/JclQcwc2iJs). They work well for my needs. Still, please back up your work before using as I make no guarantees. Perhaps they'll work for you or get the ball rolling. I'm sure there are better programmers out there who can bring this to the next level. The functions are:
** Set status to TODO
http://www.editorial-workflows.com/workflow/5868157243752448/iHmicbjCGnQ
** Set priority to A to E or none
http://www.editorial-workflows.com/workflow/5867376096575488/XFtytC5Exlc
** Set status to DONE
http://www.editorial-workflows.com/workflow/5801748996292608/_FdUYKZc8ok
** Sort by status and priority
http://www.editorial-workflows.com/workflow/5812294751617024/gupP4BzwlAU
** Set folding level
http://www.editorial-workflows.com/workflow/5903220819886080/TWOVI5goxlQ** They require 2 helper functions
*** regexpcore1
http://www.editorial-workflows.com/workflow/5843896315674624/uHU7TbwvYpQ
*** tagline1
http://www.editorial-workflows.com/workflow/5842528100155392/M7MkV9-ttEA
*** Select line is also pretty handy:
http://www.editorial-workflows.com/workflow/5826771207323648/Ff1vStBebbEI also wrote some functions to convert between org and markdown. One simply replaces each * with # (up to 3 deep). The other creates a hybrid format with * becoming #, ** to ##*, etc. All my functions work with md, org, and hybrid styles for the moment.
** Org to md:
http://www.editorial-workflows.com/workflow/5340270866464768/kF8RXChZOD4
** Md to org:
http://www.editorial-workflows.com/workflow/5878952644050944/NGqQ3s08GTs
** Org to md-hybrid * to #*
http://www.editorial-workflows.com/workflow/5840025744834560/ngt2H9QcOo8
** Md-Hybrid to org #* to *
http://www.editorial-workflows.com/workflow/5839157624569856/7pzDbe4W2Zs -
stophlong
+1. Yes, please! This would be very useful to me and would likely make editorial the app of choice for much of the org-mode community (http://orgmode.org/). The whole org-mode manual is here: http://orgmode.org/manual/index.html
A. ** Simply adding folding based around "*" instead of markdown' "#" (as mentioned by egor) would actually be a HUGE step **(http://orgmode.org/manual/Global-and-local-cycling.html#Global-and-local-cycling).
EDIT: Folding on "*" does work, but it is different from the built in folding. It is more like hiding than folding. That is, the lines disappear, but are not bound to the previous line. So, if one tries to arrange paragraphs there are two lines to move. In contrast, with the built in folding the folded line and previous line are bound together. I would vote for an option for folded text to be bound to previous line.
EDIT #2: Somewhat better folding with * can be achieved using a python script to do it. But it's still less graceful than the built in folding with #.
B. There are a lot of similarities between org-mode and markdown and taskpaper. Some of org-mode is similar to MultiMarkdown (e.g., tables). So you've probably already implemented a lot of the functionality, it's just different grammar.
org-mode uses square brackets slightly differently from markdown. Namely, it uses [#A] and [#B] etc to label priority levels. It uses [[filename]] to link to files. http links are auto-detected.
C. The community could then write a number of workflows to get things done.
D. After folding, color coding of "TODO" (red) versus "DONE" (green) would be high on my list. Users can specify what keywords are available such as "TODO" , "DONE", "WAITING", "STARTED"
http://orgmode.org/manual/TODO-items.html#TODO-itemsE. Next I think people would want access to checkboxes, although I'm not big on using those.
http://orgmode.org/manual/Checkboxes.html#CheckboxesStoph
-
stophlong
The linked gist takes whatever is in the clipboard and reads it out using google text-to-speech. The present form takes Spanish and reads it aloud. I am taking text from the immersion part of Duolingo to help my Spanish learning. It should be quite easy to modify for different purposes.
On a jail-broken device one can: copy to clipboard, use activator to launch the pythonista script, and have it start speaking! I simple gathered some python from the web, fit it together, debugged a bit, and I had a new tool. This blew my mind. Pythonista is fantastic.
After each line, it gives options to quit, read all lines without pause, read next line, or to write your translation. It's still rough around the edges (and deletes everything in the 'temporary' sub-directory without confirmation), but I thought I would share it as it is in case others can build on it or be inspired to change their workflow.
-
stophlong
Omz,
Yes, I listened to speech.say initially but liked the sound quality of the Google voice more (and also may expand the code using google translation as well). That said, I'll have another listen and potentially use it offline.
Thanks and thanks for your great software.
Stoph
-
-
stophlong
Have you looked at url schemes?
http://handleopenurl.com/scheme/ibooks
I use pythonista to launch things in googlechrome://
webbrowser.open('googlechrome://omz-forums.appspot.com/pythonista')
Might also try http:// instead of file to see if launching safari helps...
Stoph