emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Charles C. Berry" <ccberry@ucsd.edu>
To: Roger Mason <rmason@mun.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: List restarts numbering at 1 after table
Date: Fri, 25 Nov 2016 08:42:41 -0800	[thread overview]
Message-ID: <alpine.OSX.2.20.1611250837340.708@charles-berrys-macbook.local> (raw)
In-Reply-To: <y65eg1zrayx.fsf@mun.ca>

On Fri, 25 Nov 2016, Roger Mason wrote:

> Hello,
>
> I have a table in a list, like this:
>
> 2. Write stuff in the empty table:
> # See http://orgmode.org/manual/LaTeX-specific-attributes.html to get
> # predetermined width on export.
> #+ATTR_LATEX: :align |p{2cm}|p{2cm}|
> |------+--------|
> | This | That   |
> |------+--------|
> |      |        |
> |------+--------|
> |      |        |
> |------+--------|
> |      |        |
> |------+--------|
> |      |        |
> |------+--------|
> |      |        |
> |------+--------|
> 3. Write the answer to another question here
>
>
> On export, the list numbering after the table reverts to 1.  Is there a
> way to avoid this?

Indentation matters. I put 4 spaces before every line under `2.'

2. Write stuff in the empty table:
    # See http://orgmode.org/manual/LaTeX-specific-attributes.html to get
    # predetermined width on export.
    #+ATTR_LATEX: :align |p{2cm}|p{2cm}|
    |------+------|
    | This | That |
    |------+------|
    |      |      |
    |------+------|
    |      |      |
    |------+------|
    |      |      |
    |------+------|
    |      |      |
    |------+------|
    |      |      |
    |------+------|
3. Write the answer to another question here


And exporting to ascii the numbering starts at 1. and continues at 2. 
after the table.

Exporting in latex, both items and the table are all enclosed in one 
enumerate environment.

HTH,

Chuck

  parent reply	other threads:[~2016-11-25 16:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-25 12:38 List restarts numbering at 1 after table Roger Mason
2016-11-25 16:41 ` Nicolas Goaziou
2016-11-25 16:42 ` Charles C. Berry [this message]
2016-11-25 20:26 ` Roger Mason

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=alpine.OSX.2.20.1611250837340.708@charles-berrys-macbook.local \
    --to=ccberry@ucsd.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=rmason@mun.ca \
    /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).