Re: [O] lists in tables (latex export)

2016-06-04 Thread martin . guertler
Hi,

Some time ago I used such a feture in od export. I think it does exist
in ox-odt.el.

Regards,

Martin




Re: [O] lists in tables (latex export)

2016-05-25 Thread Uwe Brauer

> On Tuesday, 24 May 2016 at 21:00, Uwe Brauer wrote:

> Interesting.  If you want to get this approach to work with org, you are
> more likely to need to put in the LaTeX directives into the org file
> directly instead of the solution I suggested:

> #+latex: \begin{tcbraster}[raster columns=2, boxrule=0mm, arc=0mm]
> #+latex: \begin{tcolorbox}[equal height group=A, size=fbox, 
colback=swotS!60, colframe=swotS!80!black, title=\textsc{strengths}]

> - business 1
> - business 2


Thanks I will try this out and report back.




Re: [O] lists in tables (latex export)

2016-05-25 Thread Rasmus
Eric S Fraga  writes:

> etc. as I believe it would be difficult to pass options to org special
> blocks.  But maybe others can chime in: can ATTR_LATEX, for instance, be
> used to specify options for a #+BEGIN_ block?

Yes.

#+attr_latex: :options [foo]
#+begin_bar
x
#+end_bar

-- 
Warning: Everything saved will be lost




Re: [O] lists in tables (latex export)

2016-05-25 Thread Eric S Fraga
On Tuesday, 24 May 2016 at 21:00, Uwe Brauer wrote:
> I will try to make it work with the solution as proposed by
>
> http://www.mostlycolor.ch/2015/07/swot-matrices-in-latex.html
>
> In case you are interested :-D

Interesting.  If you want to get this approach to work with org, you are
more likely to need to put in the LaTeX directives into the org file
directly instead of the solution I suggested:

#+latex: \begin{tcbraster}[raster columns=2, boxrule=0mm, arc=0mm]
#+latex: \begin{tcolorbox}[equal height group=A, size=fbox, colback=swotS!60, 
colframe=swotS!80!black, title=\textsc{strengths}]
- business 1
- business 2

etc. as I believe it would be difficult to pass options to org special
blocks.  But maybe others can chime in: can ATTR_LATEX, for instance, be
used to specify options for a #+BEGIN_ block?

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.93.1, Org release_8.3.4-775-g3308a5



Re: [O] lists in tables (latex export)

2016-05-24 Thread Marcin Borkowski

On 2016-05-23, at 22:43, Nicolas Goaziou  wrote:

> Hello,
>
> Uwe Brauer  writes:
>
>> As far as I know orgmode does not support really lists in tables nor
>> does it allows it to export them.
>>
>> Are there any plans for the future concerning such a feature?
>
> I don't think so. Supporting lists in tables equals to rewrite
> org-table.el from scratch.

Wouldn't it be doable (or rather: hackable) using filters?

> Regards,

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University



Re: [O] lists in tables (latex export)

2016-05-24 Thread Uwe Brauer
>>> "Eric" == Eric S Fraga  writes:

   > On Tuesday, 24 May 2016 at 09:59, Uwe Brauer wrote:
   > [...]

   >> That is interesting, I could not get your example to work, but this is
   >> due to lack of knowledge from my side. I will look into this in the
   >> coming days. Thanks for pointing it out!

   > Try the attached.  I've put the individual boxes in actual drawn boxes
   > which may look silly if the boxes have different heights...


Very cool, thanks a lot, this is almost what I want!

I will try to make it work with the solution as proposed by

http://www.mostlycolor.ch/2015/07/swot-matrices-in-latex.html

In case you are interested :-D





Re: [O] lists in tables (latex export)

2016-05-24 Thread Eric S Fraga
On Tuesday, 24 May 2016 at 09:59, Uwe Brauer wrote:

[...]

> That is interesting, I could not get your example to work, but this is
> due to lack of knowledge from my side. I will look into this in the
> coming days. Thanks for pointing it out!

Try the attached.  I've put the individual boxes in actual drawn boxes
which may look silly if the boxes have different heights...

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-655-g9fb077
#+latex_header: \makeatletter\newenvironment{halfpageblock}{\begin{lrbox}{\@tempboxa}\begin{minipage}[t]{0.4\textwidth}}{\end{minipage}\end{lrbox}\fbox{\usebox{\@tempboxa}}}\makeatother

* Example of side by side boxes
This is some text that goes before the boxes.

#+begin_halfpageblock
Strengths:
- large
- simple
- green
#+end_halfpageblock
#+begin_halfpageblock
Opportunities:
- large audience
- no competition
#+end_halfpageblock

This is some text that goes after the boxes.


Re: [O] lists in tables (latex export)

2016-05-24 Thread Uwe Brauer
>>> "Eric" == Eric S Fraga  writes:

   > On Monday, 23 May 2016 at 20:34, Uwe Brauer wrote:
   >> Are there any plans for the future concerning such a feature?

   > probably very difficult, I would guess.  Alternatively, you could us
   > minipages and org special blocks to specify those?

   > As in:

   > #+begin_halfpageblock
   > Strengths:
   > - large
   > - simple
   > - green
   > #+end_halfpageblock

   > #+begin_halfpageblock
   > Opportunities:
   > - large audience
   > - no competition
   > #+end_halfpageblock

   > etc.

   > where you define a new halfpageblock environment in LaTeX.  See result
   > discussion on this list about defining environments.  (I'm offline at
   > the moment)

That is interesting, I could not get your example to work, but this is
due to lack of knowledge from my side. I will look into this in the
coming days. Thanks for pointing it out!

Uwe 




Re: [O] lists in tables (latex export)

2016-05-24 Thread Eric S Fraga
On Monday, 23 May 2016 at 20:34, Uwe Brauer wrote:
> Are there any plans for the future concerning such a feature?

probably very difficult, I would guess.  Alternatively, you could us
minipages and org special blocks to specify those?

As in:

#+begin_halfpageblock
Strengths:
- large
- simple
- green
#+end_halfpageblock
#+begin_halfpageblock
Opportunities:
- large audience
- no competition
#+end_halfpageblock

etc.

where you define a new halfpageblock environment in LaTeX.  See result
discussion on this list about defining environments.  (I'm offline at
the moment)

HTH,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.90.1, Org release_8.3.3-535-g7213aa



Re: [O] lists in tables (latex export)

2016-05-23 Thread Nicolas Goaziou
Hello,

Uwe Brauer  writes:

> As far as I know orgmode does not support really lists in tables nor
> does it allows it to export them.
>
> Are there any plans for the future concerning such a feature?

I don't think so. Supporting lists in tables equals to rewrite
org-table.el from scratch.

Regards,

-- 
Nicolas Goaziou