emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* R: Re:  tabularx from org to latex not recognized
@ 2016-05-04 11:42 vendo.libri
  2016-05-04 15:00 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: vendo.libri @ 2016-05-04 11:42 UTC (permalink / raw)
  To: Eric S Fraga, emacs-orgmode, ndokos

Hello again, 

Yes, finally! I placed #+ATTR_LATEX line just before the table, saved the doc, 
exported to pdf and it worked. The table is nice and tidy, not jumbled up as 
earlier. Thank you for taking the time to fix this problem of mine. 

One last question. I read the "Affiliated Keywords" link you posted, it says 
“#+ATTR_BACKEND: VALUE” can appear more than once. Say I have 3 tables, in 
pages 1, 3 and 4 of my final document, does that mean I must place it before 
every table? 

Thank you again for your patience and help.

---ORIGINAL MESSAGE-----------------------------
From: Nick Dokos <ndokos <at> gmail.com>
Subject: Re: tabularx from org to latex not recognized
Newsgroups: gmane.emacs.orgmode
Date: 2016-05-03 20:35:36 GMT (14 hours and 42 minutes ago)
Nick Dokos <ndokos <at> gmail.com> writes:

> The OP should try moving the #+ATTR_LATEX line to just before the table.
> I'm not sure, but I don't think it applies long distance.
>

I checked, so now I'm sure :-) - see the org-syntax document on Worg,
section "Affiliated Keywords"
(http://orgmode.org/worg/dev/org-syntax.html#Affiliated_keywords):

,----
| Affiliated Keywords
| 
| With the exception of inlinetasks, items, planning, clocks, node
| properties and table rows, every other element type can be assigned
| attributes.
| 
| This is done by adding specific keywords, named “affiliated keywords”,
| just above the element considered, no blank line allowed.
| 
| Affiliated keywords are built upon one of the following patterns:
| “#+KEY: VALUE”, “#+KEY[OPTIONAL]: VALUE” or “#+ATTR_BACKEND: VALUE”.
|
| ...
`----

--
Nick


>----ORIGINAL MESSAGE----
>Da: Eric S Fraga <e.fraga@ucl.ac.uk>
>Data: 3-mag-2016 17.07
>A: "vendo.libri@libero.it"<vendo.libri@libero.it>
>Cc: "emacs-orgmode@gnu.org"<emacs-orgmode@gnu.org>, "ndokos@gmail.com"
<ndokos@gmail.com>
>Ogg: Re: [O] tabularx from org to latex not recognized
>
>On Tuesday,  3 May 2016 at 14:04, vendo.libri@libero.it wrote:
>> Hello Nick,
>>
>> Thank you for fixing the <10> character-width problem with the 2nd
>> column of the table in Org-mode problem, your solution worked. Now the
>> table is much more legible, within Emacs' reduced window.
>>
>> Unfortunately the ultimate pdf if still giving problems. The table is
>> too wide and the text overflows well beyond the right page
>> limit. Something's not working in the preamble. Let me post the whole
>> thing here:
>
>Works for me with Nick's table and just the tabularx package included.
>
>> PS: Say I want to see what's "hidden" in the table due to the <10> (or
>> <20>) character self-imposed limit, how can I do that via keyboard
>> shortcut? Can it be done?
>
>C-c `
>
>-- 
>: Eric S Fraga (0xFFFCF67D), Emacs 25.0.92.1, Org release_8.3.4-739-g789412
>

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

* Re: R: Re:  tabularx from org to latex not recognized
  2016-05-04 11:42 R: Re: tabularx from org to latex not recognized vendo.libri
@ 2016-05-04 15:00 ` Nick Dokos
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2016-05-04 15:00 UTC (permalink / raw)
  To: emacs-orgmode

"vendo.libri@libero.it" <vendo.libri@libero.it> writes:

> Hello again, 
>
> Yes, finally! I placed #+ATTR_LATEX line just before the table, saved the doc, 
> exported to pdf and it worked. The table is nice and tidy, not jumbled up as 
> earlier. Thank you for taking the time to fix this problem of mine. 
>
> One last question. I read the "Affiliated Keywords" link you posted, it says 
> “#+ATTR_BACKEND: VALUE” can appear more than once. Say I have 3 tables, in 
> pages 1, 3 and 4 of my final document, does that mean I must place it before 
> every table? 
>

Yes.

> Thank you again for your patience and help.
>

Happy travels in org-land!

--
Nick

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

end of thread, other threads:[~2016-05-04 15:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-04 11:42 R: Re: tabularx from org to latex not recognized vendo.libri
2016-05-04 15:00 ` Nick Dokos

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