emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Using #+INCLUDE for a .tex file
@ 2016-03-03 22:13 Nooreen Dabbish
  2016-03-03 22:55 ` Josiah Schwab
  2016-03-04  7:25 ` Eric S Fraga
  0 siblings, 2 replies; 3+ messages in thread
From: Nooreen Dabbish @ 2016-03-03 22:13 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 534 bytes --]

Hi,

I would like to include some latex files in my latex export exactly where I
place them in the flow.
I am trying to do this with

#+INCLUDE: file.tex

But this places them at the top of the document above the title. I have
also tried
#+INCLUDE: file.tex src latex
#+INCLUDE: file.tex src LaTeX
which did not include the tex.

I am now resorting to

#BEGIN_LATEX
\include{file}
#+END_LATEX

But  I am unhappy with this solution because I would like to generate the
include line as the raw results of a code block.

Thanks,
Nooreen

[-- Attachment #2: Type: text/html, Size: 835 bytes --]

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

* Re: Using #+INCLUDE for a .tex file
  2016-03-03 22:13 Using #+INCLUDE for a .tex file Nooreen Dabbish
@ 2016-03-03 22:55 ` Josiah Schwab
  2016-03-04  7:25 ` Eric S Fraga
  1 sibling, 0 replies; 3+ messages in thread
From: Josiah Schwab @ 2016-03-03 22:55 UTC (permalink / raw)
  To: Nooreen Dabbish; +Cc: emacs-orgmode

Hello Nooreen,

> I am now resorting to
>
> #BEGIN_LATEX
> \include{file}
> #+END_LATEX
>
> But  I am unhappy with this solution because I would like to generate the
> include line as the raw results of a code block.

I don't know anything about code block results, but would

@@latex:\include{file}@@

or

#+LATEX: \include{file}

be better?

http://orgmode.org/manual/Quoting-LaTeX-code.html#Quoting-LaTeX-code

Hope that (might) help,
Josiah

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

* Re: Using #+INCLUDE for a .tex file
  2016-03-03 22:13 Using #+INCLUDE for a .tex file Nooreen Dabbish
  2016-03-03 22:55 ` Josiah Schwab
@ 2016-03-04  7:25 ` Eric S Fraga
  1 sibling, 0 replies; 3+ messages in thread
From: Eric S Fraga @ 2016-03-04  7:25 UTC (permalink / raw)
  To: Nooreen Dabbish; +Cc: emacs-orgmode

On Thursday,  3 Mar 2016 at 17:13, Nooreen Dabbish wrote:

[...]

> I am now resorting to
>
> #BEGIN_LATEX
> \include{file}
> #+END_LATEX
>
> But  I am unhappy with this solution because I would like to generate the
> include line as the raw results of a code block.

You could ":wrap export latex" the results of the src block that
generates the "\include{}" bit to get the above (noting that the syntax
has changed recently -- old syntax would require :wrap latex, I
believe).

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.4-626-gb62d55

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

end of thread, other threads:[~2016-03-04  7:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-03 22:13 Using #+INCLUDE for a .tex file Nooreen Dabbish
2016-03-03 22:55 ` Josiah Schwab
2016-03-04  7:25 ` 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).