emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Enumeration within environment block
@ 2014-05-17 19:24 Xavier Garrido
  2014-05-18 16:33 ` Richard Lawrence
  2014-05-19  8:21 ` Eric S Fraga
  0 siblings, 2 replies; 3+ messages in thread
From: Xavier Garrido @ 2014-05-17 19:24 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

Dear orgers,

I am using org-mode to write teaching class corrections in order to get 
them properly exported in pdf and html. What I would like to do is to 
insert not only the answer but also the questions. So, I have created a 
"question" environment as shown below

#+BEGIN_SRC org
#+TITLE: Question Test

#+BEGIN_QUESTION
1) Question bla bla bla bla
#+END_QUESTION

The answer to this question is ...

#+BEGIN_QUESTION
2) Question bla bla bla
#+END_QUESTION

The answer to this second question is...
#+END_SRC

The problem is that the enumeration number gets lost either in the 
=enumerate= env. in LaTeX or the =ol= tags in html and thus question 
restart to number 1 every time I have a BEGIN_QUESTION/END_QUESTION 
block. Is there a way to solve that issue or at least to force the item 
number ? (for instance, in LaTeX I can write \item[1],\item[2] and in 
html I can set the =ol= start value).

Thanks in advance,
Xavier

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-05-19  9:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-17 19:24 Enumeration within environment block Xavier Garrido
2014-05-18 16:33 ` Richard Lawrence
2014-05-19  8:21 ` Eric S Fraga

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).