[O] adjustment of schedules in org

2017-03-09 Thread Christian Brandstätter

Dear list,

I am rather new to org and I have a question to practitioners: How do 
you adjust your priorly set up dates (deadline extension, etc.)? I would 
manually delay certain entries. Thus I would lose the information of the 
original schedule. Is there a simple way to keep that information?
Or, differently: what would be a (more) reasonable way to go to adjust 
project time frames in emacs org?


Best,
Christian



Re: [O] adjustment of schedules in org

2017-03-09 Thread Eric Abrahamsen
Christian Brandstätter  writes:

> Dear list,
>
> I am rather new to org and I have a question to practitioners: How do
> you adjust your priorly set up dates (deadline extension, etc.)? I
> would manually delay certain entries. Thus I would lose the
> information of the original schedule. Is there a simple way to keep
> that information?
> Or, differently: what would be a (more) reasonable way to go to adjust
> project time frames in emacs org?
>
> Best,
> Christian

You're probably looking for the `org-log-reschedule' option: that will
let you leave a stamp or take a note if you change the scheduled date of
an option.

I know that would end up doubling the size of my org files. :)

Eric




Re: [O] [PATCH] allow klipse export in html

2017-03-09 Thread Matt Price
Hi Bastien,

Just pinging on this. If the answer is no, that's fine; otherwise I'd love
to get this merged so I can stop monkey-patching every time I update org :-)

On Mon, Jan 30, 2017 at 11:04 PM, Matt Price  wrote:

> Hi Bastien, I thought I'd just check in on this again. Thanks!
>
> Matt
>
>
> On Mon, Jan 16, 2017 at 1:35 AM, Bastien Guerry  wrote:
>
>> Hi Matt,
>>
>> Matt Price  writes:
>>
>> > Hi Bastien, is there anything I can do to help get this accepted? one
>> > it is in ox-html I would like to submit a patch to ox-reveal so the
>> > same mechanism can be used there. thanks!
>>
>> everything is ready, it's just that I need some time.  I *do* have
>> some this week, don't worry.
>>
>> Thanks for your patience,
>>
>> --
>>  Bastien
>>
>
>


[O] org-mobile-push breaks currently open org-agenda

2017-03-09 Thread Aaron Jensen
html

Re: [O] How to get "clean" markdown export

2017-03-09 Thread Eric S Fraga
On Thursday,  9 Mar 2017 at 17:44, stefano franchi wrote:
> Hi all,
>
> I 'm just beginning with org-mode and I' trying to understand how to
> get a clean export to markdown. By "clean" I mean: no extraneous html

One bit that will help is adding

#+options: toc:nil

to your org file to not request the table of contents.  Not sure if you
can remove the id entries however.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.4-242-g2c27b8


signature.asc
Description: PGP signature


Re: [O] How to get "clean" markdown export

2017-03-09 Thread Eric S Fraga
On Thursday,  9 Mar 2017 at 17:44, stefano franchi wrote:
> Hi all,
>
> I 'm just beginning with org-mode and I' trying to understand how to
> get a clean export to markdown. By "clean" I mean: no extraneous html

Just tested what I suggested and, actually, adding

#+options: toc:nil

removes all the cruft you don't want!

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.4-242-g2c27b8


signature.asc
Description: PGP signature


Re: [O] How to get "clean" markdown export

2017-03-09 Thread stefano franchi
On Thu, Mar 9, 2017 at 12:30 PM, Eric S Fraga  wrote:

> On Thursday,  9 Mar 2017 at 17:44, stefano franchi wrote:
> > Hi all,
> >
> > I 'm just beginning with org-mode and I' trying to understand how to
> > get a clean export to markdown. By "clean" I mean: no extraneous html
>
> Just tested what I suggested and, actually, adding
>
> #+options: toc:nil
>
> removes all the cruft you don't want!
>
>

Indeed! Thanks a lot, problem solved.



Cheers,

S.


-- 
__
Stefano Franchi

stefano.fran...@gmail.com 
http://stefano.cleinias.org


[O] Bug: Filtering agenda by top parent headline causes emacs to hang [9.0.5 (9.0.5-elpaplus @ /Users/links_world/.emacs.d/elpa/org-plus-contrib-20170210/)]

2017-03-09 Thread Adrian Bradd
Running deafult agenda (M-x org-agenda followed by a) and then sorting
by top parent headline (^) causes emacs to hang. Expected agenda to filter
entries based on top parent headline. Hanging isn't specific to a top
parent headline.

Emacs  : GNU Emacs 25.1.1 (x86_64-apple-darwin16.4.0, NS appkit-1504.81
Version 10.12.3 (Build 16D32))
 of 2017-03-02
Package: Org mode version 9.0.5 (9.0.5-elpaplus @
/Users/links_world/.emacs.d/elpa/org-plus-contrib-20170210/)

current state:
==
(setq
 org-tab-first-hook '(org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-confirm-shell-link-function 'yes-or-no-p
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook
change-major-mode-hook org-show-block-all append local] 5]
 #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook
org-babel-show-result-all append local] 5]
 org-babel-result-hide-spec org-babel-hide-all-hashes
org-eldoc-load)
 org-archive-hook '(org-attach-archive-delete-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-link-parameters '(("id" :follow org-id-open) ("rmail" :follow
org-rmail-open :store org-rmail-store-link)
   ("mhe" :follow org-mhe-open :store org-mhe-store-link)
   ("irc" :follow org-irc-visit :store org-irc-store-link)
   ("info" :follow org-info-open :export org-info-export :store
org-info-store-link)
   ("gnus" :follow org-gnus-open :store org-gnus-store-link)
   ("docview" :follow org-docview-open :export
org-docview-export :store org-docview-store-link)
   ("bibtex" :follow org-bibtex-open :store
org-bibtex-store-link)
   ("bbdb" :follow org-bbdb-open :export org-bbdb-export
:complete org-bbdb-complete-link :store
org-bbdb-store-link)
   ("w3m" :store org-w3m-store-link) ("file+sys")
("file+emacs") ("doi" :follow org--open-doi-link)
   ("elisp" :follow org--open-elisp-link) ("file" :complete
org-file-complete-link)
   ("ftp" :follow (lambda (path) (browse-url (concat "ftp:"
path ("help" :follow org--open-help-link)
   ("http" :follow (lambda (path) (browse-url (concat "http:"
path
   ("https" :follow (lambda (path) (browse-url (concat "https:"
path
   ("mailto" :follow (lambda (path) (browse-url (concat "mailto:;
path
   ("message" :follow (lambda (path) (browse-url (concat
"message:" path
   ("news" :follow (lambda (path) (browse-url (concat "news:;
path ("shell" :follow org--open-shell-link))
 org-agenda-files '("~/cloud/Thesis/ThesisTemplate/articles_from_thesis/
cardiac_notes.org" "~/cloud/notes/reading_list.org"
"~/Google Drive/hydrogel_paper_140830/hydrogel_notes.org"
"~/cloud/notes/todo.org" "~/cloud/notes/cal.org")
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )


[O] How to get "clean" markdown export

2017-03-09 Thread stefano franchi
Hi all,

I 'm just beginning with org-mode and I' trying to understand how to get a
clean export to markdown. By "clean" I mean: no extraneous html code should
be inserted or interspersed with the markdown code. Using the
installation-provided exporter, I get very different results, with a lot of
extraneous stuff being exported. (See example below)
Apologies if this question has been asked before. Searching the manual and
the list's archives did not provided any enlightenment.

Cheers,

Stefano

P.S. I am on emacs 25  and org-mode 9.0.2 on archlinux, if that matters:


Example: this simple file from a tutorial:

--
*Welcome to org-mode


Welcome, and thanks for trying out Org-mode. Making outlines in org is very
simple. It is just text! Just start typing.

* This is a headline, it starts with one or more stars

A heading has one star, a sub-heading two, etc.

* Working with lists
** Moving around in our outline
*** A level three headline
** Moving around headlines
--


Produced this file when exported to markdown:


---

Table of Contents


1. This is a headline, it starts with one or more
stars
2. Working with lists

2.1. Moving around in our outline

2.1.1. A level three headline


2.2. Moving around headlines





\*Welcome to org-mode

Welcome, and thanks for trying out Org-mode. Making outlines in org is very
simple. It is just text! Just start typing.




# This is a headline, it starts with one or more stars

A heading has one star, a sub-heading two, etc.




# Working with lists




## Moving around in our outline




### A level three headline




## Moving around headlines


-- 
__
Stefano Franchi

stefano.fran...@gmail.com 
http://stefano.cleinias.org


Re: [O] org-mode markup vs rst for general content

2017-03-09 Thread John Kitchin
Could you be more specific about what kind of richness you are looking
for? Many people blog from org-mode, including myself. I use org-mode to
generate html that is rendered with blogofile
(http://kitchingroup.cheme.cmu.edu) but others do many other variations.

Personally, org-mode meets all my markup needs and exceeds what is
possible for me in rst, e.g. in rst I do not get to run code blocks,
collapse outlines, etc. (at least out of the box with rst mode).

Saša Janiška writes:

> Hello,
>
> I’m using org-mode for my task management and it works great…moving to
> static-site-generators which do support writing web-content/blog-posts
> using both org-mode and rst markup, so consider how does org-mode markup
> compare in comparison with the richness of rst markup when it comes to
> the general content (blog posts, articles etc.)?
>
> Anyone sufficiently familiar with both can help and shed some light,
> since, both markups have decent support withing Emacs itself?
>
>
> Sincerely,
> Gour


--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



Re: [O] publishing files with images to latex

2017-03-09 Thread Robert Klein
Hi,

Nicolas Goaziou  wrote:

> Hello,
> 
> Robert Klein  writes:
> 
> > when I publish a project to PDF org-mode does not include the
> > images in the exported PDF (i.e. LaTeX doesn't find them), when I
> > start the publishing process from a buffer which is /not/ in the
> > directory to be published.
> >
> >
> > E.e. when I have the org files in ~/Documents/mpipdocs/linux and
> > publish to the same directory, but I'm in a buffer ~/.emacs, the
> > images show not up in the PDF export and in the *Messages* I get
> > messages "PDF file exported with errors" or so.
> >
> > However, when I'm visiting, e.g.
> > ~/Documents/mpipdocs/linux/index.org and start the publishing
> > process, everything goes Ok.  
> 
> Fixed. Could you confirm it?

Yes, it works.  Thank you very much!

Best regards
Robert





Re: [O] org-mode markup vs rst for general content

2017-03-09 Thread Uwe Brauer
>>> "John" == John Kitchin  writes:

   > Could you be more specific about what kind of richness you are looking
   > for? Many people blog from org-mode, including myself. I use org-mode to
   > generate html that is rendered with blogofile
   > (http://kitchingroup.cheme.cmu.edu) but others do many other variations.

Hi John

I just had a look[1], that page contains java script and css, how does org
deal with those?

Uwe 

Footnotes: 
[1]  because I might be interested in doing something similar.





Re: [O] adjustment of schedules in org

2017-03-09 Thread Eric S Fraga
On Thursday,  9 Mar 2017 at 15:55, Christian Brandstätter wrote:
> Dear list,
>
> I am rather new to org and I have a question to practitioners: How do 
> you adjust your priorly set up dates (deadline extension, etc.)? I would 
> manually delay certain entries. Thus I would lose the information of the 
> original schedule. Is there a simple way to keep that information?

You could always simply add a note for the particular headline,
org-add-note (C-c C-z), indicating that you changed the deadline or
whatever?  That's what I do if that change matters.

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.3-241-gc3d67b


signature.asc
Description: PGP signature


Re: [O] org-mode markup vs rst for general content

2017-03-09 Thread Saša Janiška
John Kitchin  writes:

> Could you be more specific about what kind of richness you are looking
> for?

In a general sense…iow, it’s a fact that rst markup is richer than
e.g. Markdown. Probably, Asciidoc(tor) also provides more semantic
richness and make it suitable markup for longer docs/books, so I wonder
where one can put org-mode’s markup on this scale?


Sincerely,
Gour

-- 
You have a right to perform your prescribed duty, but you
are not entitled to the fruits of action. Never consider
yourself the cause of the results of your activities,
and never be attached to not doing your duty.




Re: [O] Writing exams

2017-03-09 Thread Thomas Hunter
Funnilly enough, I am grading an exam written in org-mode right now.  I use
the exam class from the ctan archives and set org-latex-classes to have an
entry that looks like this:

  ("exam" "\\documentclass[12pt, addpoints, answers]{exam}"
  ("\\begin{questions}%%%s" "\\end{questions}" "\\begin{questions}%%%s"
"\\end{questions}")
  ("\\begin{question}%%%s" "\\end{question}" "\\begin{question*}%%%s"
"\\end{question*}")
  ("\\begin{parts}%%%s" "\\end{parts}" "\\begin{parts}%%%s"
"\\end{parts}")
  ("\\begin{part}[%s]" "\\end{part}" "\\begin{part*}[%s]"
"\\end{part*}")
  ("\\begin{solution}[%s]" "\\end{solution}" "\\begin{solution}[%s]"
"\\end{solution}"))

After some latex header stuff, the structure looks like this where the
first question has three parts worth 6, 7 and 7 points.
* Questions
** First question
text of first question
*** Rubric :noexport:
*** parts
 6
text of first part
 7
text of second part
 7
text of third part
** second question

[...]

I can send a copy of the orgfile or the produced pdf to any interested
parties.  (It seems like maybe attaching files of any size to an email to
this list is maybe not good etiquette, but I am a first time poster, so
what do I know?)

If anyone else does something like this, but knows what they are doing and
thus does it better, I'd love to hear about it.

Thomas Hunter

On Tue, Mar 7, 2017 at 8:14 PM, Doyley, Marvin M. 
wrote:

> Thanks for the list.  I will try them out.
>
> Cheers,
> M
> > On Mar 7, 2017, at 11:01 AM, Samuel Loury  wrote:
> >
> > Samuel Loury  writes:
> >
> >> "Doyley, Marvin M."  writes:
> >>
> >>> Does anybody have a good system for writing exam in Org-mode ?
> >
> >> - http://kitchingroup.cheme.cmu.edu/blog/2013/10/23/Writing-ex
> ams-in-org-mode/
> >> - https://github.com/jkitchin/jmax/tree/master/techela
> >> - http://www-public.tem-tsp.eu/~berger_o/org-teaching/
> >> - https://github.com/gjkerns/samplequiz
> >
> > Forgot https://github.com/mbork/org-edu-html
> >
> > --
> > Konubinix
> > GPG Key: 7439106A
> > Fingerprint: 5993 BE7A DA65 E2D9 06CE  5C36 75D2 3CED 7439 106A
>
>


-- 
Thomas Hunter
Department of Mathematics and Statistics
Swarthmore  College
Science Center, Rm 157
610-328-8244 <(610)%20328-8244>


Re: [O] org-mode markup vs rst for general content

2017-03-09 Thread Uwe Brauer
>>> "John" == John Kitchin  writes:

   > org does not deal with javascript or css for me. Those are defined by
   > the static blog engine (blogofile in this case).

   > I wrote some posts quite a while ago on the setup here:
   > 
http://kitchingroup.cheme.cmu.edu/blog/2013/09/27/Installing-and-configuring-blogofile/
   > 
http://kitchingroup.cheme.cmu.edu/blog/2013/09/27/Publishing-to-blogofile-using-org-mode/

Thanks for the clarification and the links.

Uwe 




Re: [O] org-mode markup vs rst for general content

2017-03-09 Thread John Kitchin
org does not deal with javascript or css for me. Those are defined by
the static blog engine (blogofile in this case).

I wrote some posts quite a while ago on the setup here:
http://kitchingroup.cheme.cmu.edu/blog/2013/09/27/Installing-and-configuring-blogofile/
http://kitchingroup.cheme.cmu.edu/blog/2013/09/27/Publishing-to-blogofile-using-org-mode/

If I was starting from scratch I would do something similar, but might
go more for Nikola, Pelican, or maybe one of the org-emacs solutions
that are around.

Uwe Brauer writes:

 "John" == John Kitchin  writes:
>
>> Could you be more specific about what kind of richness you are looking
>> for? Many people blog from org-mode, including myself. I use org-mode to
>> generate html that is rendered with blogofile
>> (http://kitchingroup.cheme.cmu.edu) but others do many other variations.
>
> Hi John
>
> I just had a look[1], that page contains java script and css, how does org
> deal with those?
>
> Uwe
>
> Footnotes:
> [1]  because I might be interested in doing something similar.


--
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



Re: [O] Clock setup stopped working after update

2017-03-09 Thread Markus Heller
Hi Nic,



On Tue, Mar 7, 2017 at 12:44 AM, Nicolas Goaziou 
wrote:

> Hello,
>
> Markus Heller  writes:
>
> > So, I did some more digging into this.  First, I installed an older
> version
> > of org:
> >
> > M-x org -version: Org-mode version 8.2.10 (8.2.10-41-g42228a-elpa @
> > c:/Users/mheller/AppData/Roaming/.emacs.d/elpa/org-20150601/)
>
> I cannot help you with such an old release.
>
> However, did you check that `bh/organization-task-id' points to an
> actual headline?
>
>
Yes, it does.

I rolled back to older version of emacs (24.3) and org-mode, and my set up
works, which is what I need.  If I ever find the time, I'll re-visit this
issue.


Re: [O] org-mode markup vs rst for general content

2017-03-09 Thread Alan L Tyree

On 10/03/17 09:03, Saša Janiška wrote:

John Kitchin  writes:


Could you be more specific about what kind of richness you are looking
for?

In a general sense…iow, it’s a fact that rst markup is richer than
e.g. Markdown. Probably, Asciidoc(tor) also provides more semantic
richness and make it suitable markup for longer docs/books, so I wonder
where one can put org-mode’s markup on this scale?


Sincerely,
Gour

I write legal textbooks (up to 600 printed pages) using org-mode. They 
are structurally simple (no sidebars, no illustrations, no computer 
code). On the other hand, they have lots of citations and internal cross 
references.  Org-mode is the best for this kind of work because of the 
flexible outline structure, not just collapsing and expanding, but the 
"hoisting" facility that allows me to focus on smaller sections. The 
org-ref module does its work, and the internal cross referencing is the 
best.


I recently assisted a friend to put together a memoir that he wanted to 
publish as ePub and print. It had lots of pictures. He had originally 
typed it in Word and it was a nightmare. Images would not stay put, even 
the typeface would change. The on-line publishers like Lulu rejected it. 
We reformatted in in Pandoc Markdown and produced a very nice result. I 
would have preferred org-mode, but he had never been near Emacs. We got 
good ePub, xhtml and print from a single manuscript.


I have also written in rst: it is a slightly richer language out of the 
box with provisions for sidebars, cautions, etc, but unless you really 
need those things, I would stick with org-mode. I find the syntax of rst 
to be very fiddly. Most of the special effects can be obtained with css 
in any case.


The only problem that I have had is converting org-mode to Word files as 
required by my publisher. The ODT export module is fiddly and often 
chokes on my longer documents. When it does choke, it is hard to trace 
the problems. Markdown + Pandoc seems much better in this regard, but 
the outlining features in Emacs do not seem to be as good for the 
Markdown mode. To get a decent export in my latest manuscript I had to 
export to LaTeX then use ht4tex. Not a pretty workflow.


I would say Markdown if you are collaborating with someone not familiar 
with Emacs. The Pandoc version will do a surprising amount.  Org-mode 
for nearly everything else, but if you need more, go on to LaTeX.


This may be more than you wanted to know :-).

Regards,
Alan


--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:typh...@iptel.org




Re: [O] org-mode markup vs rst for general content

2017-03-09 Thread Alan L Tyree


Is there any direct way to get the "see 4.6.1" form of reference? I 
doubt it since it clearly requires a double pass of the manuscript, 
first to assign section numbers and labels, then to put in the 
appropriate reference. LaTeX does that. 


To answer my own question: Don't have any text in the cross reference: 
RTFM section 4.2 Internal Links.


Is there a customisation that allows a regular type link which I like in 
HTML export, but a simple section number when called for a printed output?






--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:typh...@iptel.org




Re: [O] org-mode markup vs rst for general content

2017-03-09 Thread Alan L Tyree

On 10/03/17 11:17, Samuel Wales wrote:

On 3/9/17, Alan L Tyree  wrote:

The only problem that I have had is converting org-mode to Word files as
required by my publisher. The ODT export module is fiddly and often
chokes on my longer documents. When it does choke, it is hard to trace
the problems. Markdown + Pandoc seems much better in this regard, but
the outlining features in Emacs do not seem to be as good for the
Markdown mode. To get a decent export in my latest manuscript I had to
export to LaTeX then use ht4tex. Not a pretty workflow.

your answer seems very helpful.  not sure what you mean in this par though.

just to clarify:

are you referring to exporting to word from org-mode?
Yes, my publisher demands Word manuscripts (I don't know why -- they 
immediately use some other publishing software).

   - odt [is that word format?]

LibreOffice, but LibreOffice exports nicely to Word.

   - org -> markdown -> pandoc [presumably word]
Or even org -> Word using pandoc; the result was a bit of a mess though 
whether going via markdown or directly. Actually two problems:


  - Lots of html markup in the result; noting the earlier posts in 
this thread, that might have been overcome;


  - Internal references were links where the text of the link was 
the text of the target section; what I wanted was the link text to be 
the section number. In other words, the result was "see Holder in Due 
Course" instead of "see 4.6.1". The links were correct in each case, but 
the descriptive text was different.


  - org -> latex -> ht4tex [= word?]

No, I was wrong about that. ht4tex converted to HTML (but with the right 
form of cross reference) and then pandoc to word. The end result had the 
cross references in the form I wanted.


Is there any direct way to get the "see 4.6.1" form of reference? I 
doubt it since it clearly requires a double pass of the manuscript, 
first to assign section numbers and labels, then to put in the 
appropriate reference. LaTeX does that.

i was wondering, too, what format would be good to export to for a
nontechnical reader, from org, and can preserve org's external
hyperlinks and numbered outline structure.
The LibreOffice export is good when it works. I have just found it to be 
hit and miss. If the 'non-technical' reader can handle plain text, I 
would just send them Markdown, otherwise I guess you need to go for Word 
or RTF. It is a painful process.



to the original poster: org can also insert literal target format
code.  for example, you can put literal html code into your export as
needed.  dunno if that fits your needs.




--
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206  sip:typh...@iptel.org




Re: [O] org-mode markup vs rst for general content

2017-03-09 Thread Samuel Wales
On 3/9/17, Alan L Tyree  wrote:
> The only problem that I have had is converting org-mode to Word files as
> required by my publisher. The ODT export module is fiddly and often
> chokes on my longer documents. When it does choke, it is hard to trace
> the problems. Markdown + Pandoc seems much better in this regard, but
> the outlining features in Emacs do not seem to be as good for the
> Markdown mode. To get a decent export in my latest manuscript I had to
> export to LaTeX then use ht4tex. Not a pretty workflow.

your answer seems very helpful.  not sure what you mean in this par though.

just to clarify:

are you referring to exporting to word from org-mode?

  - odt [is that word format?]
  - org -> markdown -> pandoc [presumably word]
  - org -> latex -> ht4tex [= word?]

i was wondering, too, what format would be good to export to for a
nontechnical reader, from org, and can preserve org's external
hyperlinks and numbered outline structure.

to the original poster: org can also insert literal target format
code.  for example, you can put literal html code into your export as
needed.  dunno if that fits your needs.

-- 
The Kafka Pandemic: 

The disease DOES progress. MANY people have died from it. And ANYBODY
can get it at any time.

The NIH, FDA, and CDC are not there for you.  Not without activism.

"You’ve really gotta quit this and get moving, because this is murder
by neglect." ---
.



Re: [O] ascii section references for id links can be inline?

2017-03-09 Thread Samuel Wales
On 3/7/17, Nicolas Goaziou  wrote:
> Odd. In maint, the following document
>
>   * Headline
>   :PROPERTIES:
>   :id:   whatever
>   :END:
>
>
>   See [[id:whatever]] !
>
> results in
>
>   1 Headline
>   ══
>
> See 1 !

the behavior i found occurs when you use a link that refers outside
the exported subtree, which i'd classify as user error.  can that be
made to raise an error signal?

"you are linking to outside the subtree being exported.  the result
will be meaningless for the typical recipient of the export."

thanks.

-- 
The Kafka Pandemic: 

The disease DOES progress. MANY people have died from it. And ANYBODY
can get it at any time.

The NIH, FDA, and CDC are not there for you.  Not without activism.

"You’ve really gotta quit this and get moving, because this is murder
by neglect." ---
.



Re: [O] Problems with displaying inline images

2017-03-09 Thread Eric S Fraga
On Thursday,  9 Mar 2017 at 14:25, Julian M. Burgos wrote:
> Dear list,
>
> I cannot get org-mode to display inline images.  Instead, when doing M-x
> org-toggle-inline-images I get a "No images to display inline".  But if
> I click on the image link, the image appears in a new buffer with no problems.

Read the description of the org-display-inline-images command, which
org-toggle-inline-images uses.  If your link has associated text,
i.e. [[file:image][some text]], you will need to invoke either command
with C-u as, by default, only those messages with no descriptive text
will be displayed as they are not considered "inline".

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 26.0.50.1, Org release_9.0.3-241-gc3d67b


signature.asc
Description: PGP signature


Re: [O] ascii section references for id links can be inline?

2017-03-09 Thread Nicolas Goaziou
Hello,

Samuel Wales  writes:

> On 3/7/17, Nicolas Goaziou  wrote:
>> Odd. In maint, the following document
>>
>>   * Headline
>>   :PROPERTIES:
>>   :id:   whatever
>>   :END:
>>
>>
>>   See [[id:whatever]] !
>>
>> results in
>>
>>   1 Headline
>>   ══
>>
>> See 1 !
>
> the behavior i found occurs when you use a link that refers outside
> the exported subtree, which i'd classify as user error.  can that be
> made to raise an error signal?
>
> "you are linking to outside the subtree being exported.  the result
> will be meaningless for the typical recipient of the export."

This is a user error then. Besides, both files could belong to the same
publishing project.

If you are sure you don't want to export these, just filter them out of
the output using a hook or a filter.

Regards,

-- 
Nicolas Goaziou



[O] org-mode markup vs rst for general content

2017-03-09 Thread Saša Janiška
Hello,

I’m using org-mode for my task management and it works great…moving to
static-site-generators which do support writing web-content/blog-posts
using both org-mode and rst markup, so consider how does org-mode markup
compare in comparison with the richness of rst markup when it comes to
the general content (blog posts, articles etc.)?

Anyone sufficiently familiar with both can help and shed some light,
since, both markups have decent support withing Emacs itself?


Sincerely,
Gour


-- 
Perform your prescribed duty, for doing so is better than not
working. One cannot even maintain one's physical body without work.




Re: [O] jumping from Agenda/Timeline to .org source file

2017-03-09 Thread Eric S Fraga
On Wednesday,  8 Mar 2017 at 12:55, Alan Schmitt wrote:

[...]

> I would like to use `org-agenda-goto', but without splitting the frame.
> In other words, I want to destination to be the one of
> `org-agenda-goto', but the window handling to be the one of
> `org-agenda-switch-to'.

You could "advice" (advise in English :-) org-agenda-goto to delete other
windows after invocation?

Or, create a new function which invokes org-agenda-goto and then
delete-other-windows and bind that to the key you want?

-- 
Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)


signature.asc
Description: PGP signature


Re: [O] agenda: past due deadlines *also* showing up under today's date

2017-03-09 Thread Sébastien Delafond
On 2017-03-07, Nicolas Goaziou  wrote:
>> On 2017-03-05, Nicolas Goaziou  wrote:
>>> I don't think so. Maybe we need to implement an equivalent to
>>> `org-scheduled-past-days' for deadlines.
>> [...]
>
> Done in master as `org-deadline-past-days'. Feedback welcome.

Hi Nicolas,

many thanks for the feature, it works exactly as needed. Kudos for the
impressive turnaround time on your end :)

Cheers,

--Seb




[O] feature proposal, add prefix and suffix to orgtbl matrix

2017-03-09 Thread Uwe Brauer
Hi

Around two weeks Rasmus suggested to use



#+ATTR_LATEX: :mode math :environment pmatrix :math-suffix \times 
:math-prefix \mathbf{y}=
| a | b |
| c | d |
#+ATTR_LATEX: :mode math :environment pmatrix
| 1 | 2 |
| 3 | 4 |

In order to obtain two matrix clued in the same environment when
exporting to latex. And it works nicely.

Couldn't orgtbl have a  similar feature in order to use it directly in
a latex buffer together with orgtbl mode?

Thanks

Uwe Brauer 




Re: [O] jumping from Agenda/Timeline to .org source file

2017-03-09 Thread Alan Schmitt
Hello Eric,

On 2017-03-09 07:23, Eric S Fraga  writes:

> On Wednesday,  8 Mar 2017 at 12:55, Alan Schmitt wrote:
>
> [...]
>
>> I would like to use `org-agenda-goto', but without splitting the frame.
>> In other words, I want to destination to be the one of
>> `org-agenda-goto', but the window handling to be the one of
>> `org-agenda-switch-to'.
>
> You could "advice" (advise in English :-) org-agenda-goto to delete other
> windows after invocation?
>
> Or, create a new function which invokes org-agenda-goto and then
> delete-other-windows and bind that to the key you want?

Yes, these are solutions. I was just trying to understand why the
functions had different behaviors.

Thanks,

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2017-02: 406.42, 2016-02: 404.04


signature.asc
Description: PGP signature


[O] org-mode <--> oddmuse

2017-03-09 Thread Peter Davis
I've used both org-mode and oddmuse as ways of storing and organizing 
personal information, technical notes, links to sites I want to refer 
to, etc. While emacs and org-mode overall have very powerful features, 
oddmuse has the advantage that I can access and update information from 
anywhere using a mobile device. (Yes, I know about MobileOrg, but that's 
still pretty cumbersome to use.)


I'm assuming there's a straightforward to publish a subset of my org 
docs as oddmuse pages, and push them to a server. Is there a reverse 
option? Can I actually edit oddmuse pages via a browser and then 
re-import them to org-mode for further editing?


Thank you!

-pd

--

Peter Davis
http://www.techcurmudgeon.com




[O] Problems with displaying inline images

2017-03-09 Thread Julian M. Burgos
Dear list,

I cannot get org-mode to display inline images.  Instead, when doing M-x
org-toggle-inline-images I get a "No images to display inline".  But if
I click on the image link, the image appears in a new buffer with no problems.

This happens with a clean emacs instance (emacs -Q), so it is not my
configuration. I am running org mode 9.0.5 on emacs 25.1.1. with support
for ImageMagick, on CentOS 7.

Does anybody has an idea of what could be wrong?

Julian

--
Julian Mariano Burgos, PhD
Hafrannsóknastofnun, rannsókna- og ráðgjafarstofnun hafs og vatna/
Marine and Freshwater Research Institute
Skúlagata 4, 121 Reykjavík, Iceland
Sími/Telephone : +354-5752037
Bréfsími/Telefax:  +354-5752001
Netfang/Email: julian.bur...@hafogvatn.is