From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: information/feature request: org analog to latex \description environment Date: Tue, 09 Sep 2008 17:04:02 -0400 Message-ID: <87iqt5t4jh.fsf@gollum.intra.norang.ca> References: <87od2xw1fj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdANf-0000aH-Uv for emacs-orgmode@gnu.org; Tue, 09 Sep 2008 17:04:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdANf-0000ZW-02 for emacs-orgmode@gnu.org; Tue, 09 Sep 2008 17:04:11 -0400 Received: from [199.232.76.173] (port=39542 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdANe-0000ZT-S2 for emacs-orgmode@gnu.org; Tue, 09 Sep 2008 17:04:10 -0400 Received: from mho-02-bos.mailhop.org ([63.208.196.179]:51250) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KdANe-0005xh-A8 for emacs-orgmode@gnu.org; Tue, 09 Sep 2008 17:04:10 -0400 In-Reply-To: <87od2xw1fj.fsf@gmail.com> (Eric Schulte's message of "Tue\, 09 Sep 2008 12\:42\:56 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Org-mode "Eric Schulte" writes: > Does org currently support any syntax like the latex \desciption > environment, something that would look like > > ,---- > | first: a description/definition of first > | another: another item to be defined > `---- > > or > > ,---- > | - first: a description/definition of first > | - another: another item to be defined > `---- > > in org, and would export to something like > > ,---- > | \begin{description} > | \item[first] a description/definition of first > | \item[another] another item to be defined > | \end{description} > `---- > > in latex? If not would it be difficult/desirable to add? > > Thanks -- Eric By default org export to latex creates description lists for headlines when you go more than 3 levels deep. Here's a sample org file where heading levels 2 and greater become description lists. ,----[ play.org ] | #+STARTUP: | #+TITLE: play.org | #+OPTIONS: H:1 num:t toc:nil \n:nil @:t ::t |:t ^:nil -:t f:t *:t TeX:t LaTeX:nil skip:nil d:nil tags:not-in-toc | #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js | * Test file | ** TODO Furniture | *** TODO Chairs | *** TODO Tables | **** TODO Coffee Table | Stuff goes here | **** TODO Buffer Table | More stuff goes here `---- exorted with C-c C-e L ,----[ play.tex ] | % Created 2008-09-09 Tue 17:00 | \documentclass[11pt,a4paper]{article} | \usepackage[utf8]{inputenc} | \usepackage[T1]{fontenc} | \usepackage{hyperref} | | | \title{play.org} | \author{Bernt Hansen} | \date{09 September 2008} | | \begin{document} | | \maketitle | | \section{Furniture} | | \begin{description} | | \item[Chairs] | | | \end{description} | \begin{description} | | \item[Tables] | | | \begin{description} | | \item[Coffee Table] | | | Stuff goes here | \end{description} | \begin{description} | | \item[Buffer Table] | | | More stuff goes here | \end{description} | \end{description} | | \end{document} `---- You can set the number of heading levels to export as headings in the export options line (H:1) -Bernt