Re: [O] How are people handling their calendars?

2016-10-23 Thread B.V. Raghav
zv  writes:

> On 10/23/2016 04:36 PM, Tristan Strange wrote:
>> The world of calendars is a murky one isn't it? After a couple of
>> weeks of fiddling around I finally decided I'd keep my TODO's,
>> deadlines, etc in a TODO.org and have org-gcal fetch (note not
>> synchronise) my calendar from Google.
>> 
>> That way I do all my daily TODO mangling in orgmode, edit calendar
>> when on Desktop or Mobile and pull results in to org agenda for
>> easier viewing.
>> 
>> So how do you lot handle your calendars?
>> 
>> Do any of you have a working two way set up with CalDAV or anything?
>> 
>> Cheers,
>> Tristan
> I was curious about this question as well earlier this week. I wasn't
> able to find anything concrete but having the ability to integrate
> multiple Google Calendars, CalDAV or Thunderbird calendars would be
> fantastic.
>
>
>

Plus one for the question. The data interchange, I agree, is crucial for
collaboration with the not-so-Emacs-literate world.

-- 
Raghav



Re: [O] How are people handling their calendars?

2016-10-23 Thread zv
On 10/23/2016 04:36 PM, Tristan Strange wrote:
> The world of calendars is a murky one isn't it? After a couple of weeks of 
> fiddling around I finally decided I'd keep my TODO's, deadlines, etc in a 
> TODO.org and have org-gcal fetch (note not synchronise) my calendar from 
> Google.
> 
> That way I do all my daily TODO mangling in orgmode, edit calendar when on 
> Desktop or Mobile and pull results in to org agenda for easier viewing.
> 
> So how do you lot handle your calendars?
> 
> Do any of you have a working two way set up with CalDAV or anything?
> 
> Cheers,
> Tristan
I was curious about this question as well earlier this week. I wasn't able to 
find anything concrete but having the ability to integrate multiple Google 
Calendars, CalDAV or Thunderbird calendars would be fantastic.




[O] How are people handling their calendars?

2016-10-23 Thread Tristan Strange
The world of calendars is a murky one isn't it? After a couple of weeks of
fiddling around I finally decided I'd keep my TODO's, deadlines, etc in a
TODO.org and have org-gcal fetch (note not synchronise) my calendar from
Google.

That way I do all my daily TODO mangling in orgmode, edit calendar when on
Desktop or Mobile and pull results in to org agenda for easier viewing.

So how do you lot handle your calendars?

Do any of you have a working two way set up with CalDAV or anything?

Cheers,
Tristan


Re: [O] single file export in HTML (as easy as PDF) (well, almost)

2016-10-23 Thread Thomas S. Dye
Ken Mankoff writes:

> In my experience pdf2htmlEX successfully converts any PDF to a single HTML 
> file. 
>
>   -k. 
>

Wow.  Thanks!

All the best,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



Re: [O] single file export in HTML (as easy as PDF) (well, almost)

2016-10-23 Thread Ken Mankoff
In my experience pdf2htmlEX successfully converts any PDF to a single HTML 
file. 

  -k. 

Please excuse brevity. Sent from pocket computer with tiny non-haptic feedback 
keyboard. 

> On Oct 23, 2016, at 12:26, Thierry Banel  wrote:
> 
> A single, nicely packaged, PDF file, easy to distribute:this is one of
> the appealing features of PDF export.
> 
> But actually, this can be achieved in HTML, out-of-the-box with Org Mode
> and Firefox.
> 
> My recipe:
> 
> - Write your book in Org Mode, with any content you want:
>  + tables, headers, bullet lists, whatever
>  + PNG or SVG images (file:myimage.svg)
>  + Ditaa(#+begin_src ditaa :file myditaa.png)
>  + Gnuplot  (#+begin_src gnuplot :file mygnuplot.svg)
>  + GraphViz (#+begin_src dot :file mygraphviz.png)
>  + MathJax  (#+html_mathjax: align: left) ($$\sqrt{x+1}$$)
> 
> - Add HTML formatting (optional)
>  + CSS to customize fonts, colors, sizes, layout
>(#+html:)
>  + InfoJS to expand-collapse in the browser as in Org Mode
>(#+infojs_opt: view:info toc:nil ...)
> 
> - Export & package to a single file
>  + C-c C-e h h
>  + zip the whole directory to mybook.zip
>(along with SVG, PNG images, CSS style-sheets, JS)
> 
> - Distribute your book
>  + send mybook.zip to your friends and colleagues
>  + ask them to point their Firefox to
>jar:file://mybook.zip!/mybook/mybook.html
> 
> The magic Firefox feature is the jar-bang trick which allows browsing
> within a ZIP.
> 
> If someone knows a less cryptic syntax, it would be great.Also, this
> trick only works in Firefox. Is there something similar in other browsers?
> 
> Have fun
> TB
> 
> 



[O] single file export in HTML (as easy as PDF) (well, almost)

2016-10-23 Thread Thierry Banel
A single, nicely packaged, PDF file, easy to distribute:this is one of
the appealing features of PDF export.

But actually, this can be achieved in HTML, out-of-the-box with Org Mode
and Firefox.

My recipe:

- Write your book in Org Mode, with any content you want:
  + tables, headers, bullet lists, whatever
  + PNG or SVG images (file:myimage.svg)
  + Ditaa(#+begin_src ditaa :file myditaa.png)
  + Gnuplot  (#+begin_src gnuplot :file mygnuplot.svg)
  + GraphViz (#+begin_src dot :file mygraphviz.png)
  + MathJax  (#+html_mathjax: align: left) ($$\sqrt{x+1}$$)

- Add HTML formatting (optional)
  + CSS to customize fonts, colors, sizes, layout
(#+html:)
  + InfoJS to expand-collapse in the browser as in Org Mode
(#+infojs_opt: view:info toc:nil ...)

- Export & package to a single file
  + C-c C-e h h
  + zip the whole directory to mybook.zip
(along with SVG, PNG images, CSS style-sheets, JS)

- Distribute your book
  + send mybook.zip to your friends and colleagues
  + ask them to point their Firefox to
jar:file://mybook.zip!/mybook/mybook.html

The magic Firefox feature is the jar-bang trick which allows browsing
within a ZIP.

If someone knows a less cryptic syntax, it would be great.Also, this
trick only works in Firefox. Is there something similar in other browsers?

Have fun
TB




Re: [O] table and field reference a la OO/LO

2016-10-23 Thread Thierry Banel
Le 23/10/2016 18:33, Uwe Brauer a écrit :
> Hi
>
> What I still missing in the otherwise excellent table/spreadsheet is a
> sort of coordinate system which would easily allow me to find the column
> and line number.
> I mean something like this.
>
> | 1/A |   B |  C | D   |
> |   2 | 200 | 10 | 190 |
> |   3 | || |
> #+TBLFM: $4=@2$2-@2$3
>
> Which would allow be to have also $4=B2-C2 in the input bar.
>
> For the lines, I sometimes use an indirect buffer and turn on
> linum-mode
>
> But what could I do for the columns?
>
> Thanks
>
> Uwe Brauer 
>
>
>

You may also try C-c ' in the D2 cell.
A new buffer displays the formula.
Moving the cursor through the formula highlights the involved cells.




Re: [O] table and field reference a la OO/LO

2016-10-23 Thread Thierry Banel
Le 23/10/2016 18:33, Uwe Brauer a écrit :
> Hi
>
> What I still missing in the otherwise excellent table/spreadsheet is a
> sort of coordinate system which would easily allow me to find the column
> and line number.
> I mean something like this.
>
> | 1/A |   B |  C | D   |
> |   2 | 200 | 10 | 190 |
> |   3 | || |
> #+TBLFM: $4=@2$2-@2$3
>
> Which would allow be to have also $4=B2-C2 in the input bar.
>
> For the lines, I sometimes use an indirect buffer and turn on
> linum-mode
>
> But what could I do for the columns?
>
> Thanks
>
> Uwe Brauer 
>
>

Maybe you can try  C-c }  org-table-toggle-coordinate-overlays

First outline the header (C-c -):

| 1/A |   B |  C |   D |
|-+-++-|
|   2 | 200 | 10 | 190 |
|   3 | || |

After C-c } rows and columns coordinates are shown:

|   1| 1/A |   B |  C |   D |
|I*1 |$1---+$2---+$3--+$4---|
|   2|   2 | 200 | 10 | 190 |
|   3|   3 | || |





[O] table and field reference a la OO/LO

2016-10-23 Thread Uwe Brauer
Hi

What I still missing in the otherwise excellent table/spreadsheet is a
sort of coordinate system which would easily allow me to find the column
and line number.
I mean something like this.

| 1/A |   B |  C | D   |
|   2 | 200 | 10 | 190 |
|   3 | || |
#+TBLFM: $4=@2$2-@2$3

Which would allow be to have also $4=B2-C2 in the input bar.

For the lines, I sometimes use an indirect buffer and turn on
linum-mode

But what could I do for the columns?

Thanks

Uwe Brauer 




[O] bug in org-element--object-lex seen when exporting (Invalid search bound, wrong side of point)

2016-10-23 Thread Daniel Clemente

Hi. I describe a rare bug seen in today's org-mode (8.3.6) running in emacs 
26.0.50.1.

1. emacs -Q, and load org-mode
2. Use this file (two lines):

* <<>>
a-bug

3. export to HTML  (C-c C-e h h)

I got:

Debugger entered--Lisp error: (error "Invalid search bound (wrong side of 
point)")
  re-search-forward("\\(?:[_^][-{(*+.,[:alnum:]]\\)\\|[*~=+_/][^
\n]\\|\\<\\(?:b\\(?:bdb\\|ibtex\\)\\|doi\\|elisp\\|f\\(?:ile\\(?:\\+\\(?:\\(?:emac\\|sy\\)s\\)\\)?\\|tp\\)\\|h\\(?:elp\\|ttps?\\)\\|i\\(?:d\\|nfo\\|rc\\)\\|m\\(?:ailto\\|essage\\)\\|news\\|shell\\|tel\\|w\\(?:3m\\|l\\)\\):\\|\\[\\(?:fn:\\|\\[\\|[0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\}\\|[0-9]*\\(?:%\\|/[0-9]*\\)\\]\\)\\|@@\\|{{{\\|<\\(?:%%\\|<\\|[0-9]\\|\\(?:b\\(?:bdb\\|ibtex\\)\\|doi\\|elisp\\|f\\(?:ile\\(?:\\+\\(?:\\(?:emac\\|sy\\)s\\)\\)?\\|tp\\)\\|h\\(?:elp\\|ttps?\\)\\|i\\(?:d\\|nfo\\|rc\\)\\|m\\(?:ailto\\|essage\\)\\|news\\|shell\\|tel\\|w\\(?:3m\\|l\\)\\)\\)\\|\\$\\|\\(?:[a-zA-Z[(]\\|[
   ]*$\\|_ +\\)\\|\\(?:call\\|src\\)_" 13 t)
  org-element--object-lex((bold code entity export-snippet footnote-reference 
inline-babel-call inline-src-block italic line-break latex-fragment link macro 
radio-target statistics-cookie strike-through subscript superscript target 
timestamp underline verbatim))
  org-element--parse-objects(13 19 (paragraph (:begin 13 :end 19 
:contents-begin 13 :contents-end 19 :post-blank 0 :post-affiliated 13)) (bold 
code entity export-snippet footnote-reference inline-babel-call 
inline-src-block italic line-break latex-fragment link macro radio-target 
statistics-cookie strike-through subscript superscript target timestamp 
underline verbatim))
  org-element--parse-elements(13 19 planning nil nil nil (section (:begin 13 
:end 19 :contents-begin 13 :contents-end 19 :post-blank 0 :post-affiliated 13)))
  org-element--parse-elements(13 19 section nil nil nil (headline (:raw-value 
"<<>>" :begin 2 :end 19 :pre-blank 1 :contents-begin 13 :contents-end 19 
:level 1 :priority nil :tags nil :todo-keyword nil :todo-type nil :post-blank 0 
:footnote-section-p nil :archivedp nil :commentedp nil :post-affiliated 2 
:title ((radio-target (:begin 4 :end 11 :contents-begin 7 :contents-end 8 
:post-blank 0 :value "a" :parent #0) #("a" 0 1 (:parent #3)))
  org-element--parse-elements(2 19 first-section nil nil nil (org-data nil))
  org-element-parse-buffer(nil nil)
  …



It happens with one-letter radios. I found it because I had <<>> and r-cran 
in the same file.

Greetings,

Daniel