emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eduardo Mercovich <eduardo@mercovich.net>
To: Christian Moe <mail@christianmoe.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: How to do proper folding and semantic markup
Date: Thu, 31 Mar 2016 21:39:04 -0300	[thread overview]
Message-ID: <87shz6kvrr.fsf@mercovich.net> (raw)
In-Reply-To: <m2vb43hxty.fsf@christianmoe.com>

Hi Christian. 

>> ... place the abstract and #+LATEX: commands for frontmatter before the
>> first exported headline, e.g.,
>> #+BEGIN_abstract
>>   [Abstract here]
>> #+END_abstract

> Originally my fault for pointing out that this was possible (for latex
> and html backends, anyway) without any special abstract handling. :-)
> https://lists.gnu.org/archive/html/emacs-orgmode/2010-11/msg00046.html

No fault at all, on the contrary. This collective knowledge is built by
everyone that participates. :)

> [...] If these matter to you (I gather that you have to write long
> abstracts), you may need to use the ignore trick Thomas Dye referred
> to.

I'll do, as that solution has the best of both worlds. :)

> You can name a block and reference it by name.
> #+name: theabstract
> #+begin_abstract
>   ...
> #+end_abstract
> See [[theabstract][the abstract]].

This linking capacity is great and I'm using it a lot.

The only detail remaining here that I'm still searching is how to
include the table/figure # also with the link. This is because if
someone prints the report, the link becomes unusable without a number.

An example would be:

--8<---------------cut here---------------start------------->8---
Lorem ipsum... 

#+CAPTION: A beautiful caption for this table. 
#+NAME: table:tablename
#+ATTR_LATEX: :environment longtable
[the table]

A lot of text, going pages long.

In this paragraph, there is a [[tablename][link to the table]]. 
--8<---------------cut here---------------end--------------->8---

This renders the link perfectly, but in the linked text <link to the
table> there is no further reference. How can the (automagically added)
number be included, like in <link to the table #12)?

Just for the sake of making it ultra complete (I don't feel it necessary
really), the link could use the id only to point, and be rendered as
<table # (page N)>.

I'm sure it's there but even having read the manual I still lack the
emacspeak to find it, or maybe to understand that I already read over
it. :)

Anyway, Have a great day... 


-- 
eduardo mercovich 

 Donde se cruzan tus talentos 
 con las necesidades del mundo, 
 ahí está tu vocación.

  reply	other threads:[~2016-04-01  0:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-30 20:44 How to do proper folding and semantic markup Eduardo Mercovich
2016-03-30 21:52 ` Thomas S. Dye
2016-04-01  0:11   ` Eduardo Mercovich
2016-03-31  8:10 ` Christian Moe
2016-04-01  0:39   ` Eduardo Mercovich [this message]
2016-04-01  7:48     ` Eric S Fraga
2016-04-01 12:33       ` Eduardo Mercovich
2016-04-04  5:21 ` Adam Porter
2016-04-04 15:01   ` Eduardo Mercovich
2016-04-05  4:19     ` Adam Porter
2016-04-05 21:18       ` Eduardo Mercovich
2016-04-05 22:04         ` Nick Dokos
2016-04-06 12:59           ` Eduardo Mercovich
2016-04-05 23:56         ` Adam Porter
2016-04-06 12:58           ` Eduardo Mercovich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87shz6kvrr.fsf@mercovich.net \
    --to=eduardo@mercovich.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@christianmoe.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).