Re: [O] Nested ordered (numbered) lists

2016-06-25 Thread Rick Frankel
On Sat, Jun 25, 2016 at 10:34:35PM +0300, ST wrote:
> Hi,
> 
> is there a way to produce nested ordered (numbered) lists and get it
> exported (to pdf/html) properly? Like:
> 
> 1. item_1
> 2. item_2
>2.1. subitem_2_1
>   2.1.1. subsubitem_2_1_1
>2.2. subitem_2_2
> 3. item_3

have you tried:

# 
#+LATEX_HEADER_EXTRA: \usepackage{enumitem} 
\setlist[enumerate]{label*=\arabic*.}

* Numbered lists
1. item_1
2. item_2
   1. subitem_2_1
   1. subsubitem_2_1_1
   2. subitem_2_2
3. item_3

rick



[O] Nested ordered (numbered) lists

2016-06-25 Thread ST
Hi,

is there a way to produce nested ordered (numbered) lists and get it
exported (to pdf/html) properly? Like:

1. item_1
2. item_2
   2.1. subitem_2_1
2.1.1. subsubitem_2_1_1
   2.2. subitem_2_2
3. item_3

Thank you!




Re: [O] import wiki to orgmode

2016-06-25 Thread Kyle Meyer
Hello,

ron123  writes:

> Hello,
>
> is it possible to import mediawiki pages to org mode? [I need this for
> saving some wiki-articles.]
> I think a complete solution would be a bit difficult [you have links,
> footnotes, formatting etc.]
>
> But for the beginning it would be sufficient to make such conversions:

[...]

> to this orgmode text:
>
> ** History
>
> Emacs development began during the 1970s at ...
>
> *** Other early implementations
> In the following years, programmers wrote a variety of Emacs-like
> editors for other computer systems.
>
> *** GNU Emacs
> Richard Stallman began work on GNU Emacs in 1984 to produce a
>
> *** XEmacs
> Lucid Emacs, based on an early alpha version of GNU Emacs 19
>
>
> *** Editors with Emacs emulation
> - Yi, an editor that is written and extensible in
> - Joe emulates Emacs keybindings when
> - Jed has an emulation mode for Emacs.
>
>
> Unfortunately (and surprisingly) I didn't find a program for this. Any
> ideas? Isn;t there an org function?

As someone suggested in a comment to your Emacs Stack Exchange question [1],
I think pandoc is probably your best bet.  Running

pandoc -f mediawiki -t org

with your example text as input gives

,
| ** History
|:PROPERTIES:
|:CUSTOM_ID: history
|:END:
|
| Emacs development began during the 1970s at ...
|
| *** Other early implementations
| :PROPERTIES:
| :CUSTOM_ID: other-early-implementations
| :END:
|
| In the following years, programmers wrote a variety of Emacs-like ors
| for other computer systems.
|
| *** GNU Emacs
| :PROPERTIES:
| :CUSTOM_ID: gnu-emacs
| :END:
|
| Richard Stallman began work on GNU Emacs in 1984 to produce a
|
| *** XEmacs
| :PROPERTIES:
| :CUSTOM_ID: xemacs
| :END:
|
| Lucid Emacs, based on an early alpha version of GNU Emacs 19
|
| *** Editors with Emacs emulation
| :PROPERTIES:
| :CUSTOM_ID: editors-with-emacs-emulation
| :END:
|
| -  Yi, an editor that is written and extensible in
| -  Joe emulates Emacs keybindings when
| -  Jed has an emulation mode for Emacs.
`

[1] http://emacs.stackexchange.com/questions/24173/import-wiki-to-orgmode

--
Kyle



[O] import wiki to orgmode

2016-06-25 Thread ron123
Hello,

is it possible to import mediawiki pages to org mode? [I need this for
saving some wiki-articles.]
I think a complete solution would be a bit difficult [you have links,
footnotes, formatting etc.]

But for the beginning it would be sufficient to make such conversions:

from this MediaWiki text:

== History ==

Emacs development began during the 1970s at ...

=== Other early implementations ===
In the following years, programmers wrote a variety of Emacs-like
editors for other computer systems.

=== GNU Emacs ===
Richard Stallman began work on GNU Emacs in 1984 to produce a

=== XEmacs ===
Lucid Emacs, based on an early alpha version of GNU Emacs 19


=== Editors with Emacs emulation ===
* Yi, an editor that is written and extensible in
* Joe emulates Emacs keybindings when
* Jed has an emulation mode for Emacs.

to this orgmode text:

** History

Emacs development began during the 1970s at ...

*** Other early implementations
In the following years, programmers wrote a variety of Emacs-like
editors for other computer systems.

*** GNU Emacs
Richard Stallman began work on GNU Emacs in 1984 to produce a

*** XEmacs
Lucid Emacs, based on an early alpha version of GNU Emacs 19


*** Editors with Emacs emulation
- Yi, an editor that is written and extensible in
- Joe emulates Emacs keybindings when
- Jed has an emulation mode for Emacs.


Unfortunately (and surprisingly) I didn't find a program for this. Any
ideas? Isn;t there an org function?





Re: [O] org-export-with-broken-links doesn't apply to footnotes

2016-06-25 Thread Mark Edgington
Nicolas Goaziou  nicolasgoaziou.fr> writes:

> No, it isn't. However I could only reproduce it with empty footnote
> definitions.
> 
> In any case, this is now fixed. Thank you.

I am providing a minimal example that still exhibits the problem for me (on
the latest git rev):

--- BEGIN EXAMPLE ---
* Heading 1   :ignore:
** Heading 2  :export:
*** Heading 3 :ignore:
Here's a footnote[fn:20].

* Footnotes   :export:
[fn:20] Footnote content.
--- END EXAMPLE ---

If you narrow the buffer to Heading 2, and try to export, it fails.

Among other things, I have the following in my .emacsd file:

(require 'ox-extra)
(ox-extras-activate '(ignore-headlines))





Re: [O] new syntax of completion and preparation functions for publishing

2016-06-25 Thread Arun Isaac

> I've never played with plists before, could you please provide a code
> sample?

Do read the following section in the "GNU Emacs Lisp Reference Manual" about
property lists.

https://www.gnu.org/software/emacs/manual/html_node/elisp/Property-Lists.html


signature.asc
Description: PGP signature


Re: [O] Jumping between source blocks in a file

2016-06-25 Thread Xebar Saram
thx alot Andrew!

Just discovered this and its so useful. it would be great if in the future
this could be integrated into org mode

best

Z


Re: [O] make org-agenda-to-appt run a shell command also

2016-06-25 Thread Samuel Wales
no, it's too much for me to handle.  i'm ok with just crontab.

-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

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

Denmark: free Karina Hansen NOW.



Re: [O] make org-agenda-to-appt run a shell command also

2016-06-25 Thread Xebar Saram
Hi

this is something i would also be interested in if anyone has a solution
Samuel: have you been able to solve this

best

Z