Christopher W. Ryan<address@hidden> wrote:
I've attached a small org file that reproduces my problem with getting
images to export to pdf. I've also attached the resulting .tex file.
I think my issue may have something to do with my misunderstanding of
inline tasks, since if I put my org code for inclusion of the image
elsewhere in the org file, under its own 2nd level heading (2 stars)
then it exports fine. The narrative text in the attached org file
explains my observations in more detail.
#+OPTIONS: todo:nil toc:nil tags:nil
#+LATEX_HEADER: \usepackage[margin=1in]{geometry}
#+LATEX_HEADER: \usepackage{graphicx}
* I guess I don't understand enough about Org's hierarchical trees yet
** Study design
Here's what we'll do.
As patients of home care agencies, the subjects will all be considered
homebound by definition. Subjects with cognitive impairment or psychiatric
illness sufficiently severe to make them unable to consent to the study will
not be eligible.
****** TODO notice how "end" on next line is expandable
****** END
Somehow this text is under, hierarchically-speaking, the END statement of this
inline task.
So it does not show up in the final pdf
****** TODO there is text>>and the image file<< inside "end"
****** END
Neither does this paragraph.
Neither does this image, which must also be under the END statement of the
inline task
#+CAPTION: Temperature and humidity data logger
#+LABEL: datalogger
[[./DataLoggerImage.jpg]]
** But if I start a new 2-star heading
and put the image here, it works fine.
#+CAPTION: Temperature and humidity data logger
#+LABEL: datalogger
[[./DataLoggerImage.jpg]]
What is the value of org-inlinetask-min-level? If it's the default 15,
then you just haven't formatted the inline tasks correctly (not enough
stars)- did you use C-c C-x t to insert them? I used that to
insert the inline tasks and I got the following org file which exports
correctly afaict:
--8<---------------cut here---------------start------------->8---
#+OPTIONS: todo:nil toc:nil tags:nil
#+LATEX_HEADER: \usepackage[margin=1in]{geometry}
#+LATEX_HEADER: \usepackage{graphicx}
* I guess I don't understand enough about Org's hierarchical trees yet
** Study design
Here's what we'll do.
As patients of home care agencies, the subjects will all be considered
homebound by definition. Subjects with cognitive impairment or psychiatric
illness sufficiently severe to make them unable to consent to the study will
not be eligible.
*************** TODO notice how "end" on next line is expandable
*************** END
Somehow this text is under, hierarchically-speaking, the END statement of this
inline task.
So it does not show up in the final pdf
*************** TODO there is text>>and the image file<< inside "end"
*************** END
Neither does this paragraph.
Neither does this image, which must also be under the END statement of the
inline task
#+CAPTION: foo
#+LABEL: foo
[[./DataLoggerImage.jpg]]
** But if I start a new 2-star heading
and put the image here, it works fine.
#+CAPTION: bar
#+LABEL: bar
[[./DataLoggerImage.jpg]]
--8<---------------cut here---------------end--------------->8---
Nick