Comments (10)
Hi @miguelazo82, I forgot that I have org-latex-caption-above
set to nil
. You can try the minimal working init.el
bellow. I will update the README, too.
(package-initialize)
(use-package ox-latex-subfigure
:init
(setq org-latex-caption-above nil)
:load-path "~/Dropbox/ProjectWeekends/lisp/ox-latex-subfigure/"
:config (require 'ox-latex-subfigure))
from ox-latex-subfigure.
Also remember to have subcaption
package included, please check README.org
.
from ox-latex-subfigure.
Hi Quang-Linh,
thank you for your quick reply.
Yes it works like that, but I would have two more issues:
- With (setq org-latex-caption-above nil) how can I turn on table
captions above on a per-table basis? - Is there any way to pass arguments to \includegraphics: the width of
the graphics cannot be influenced, which would mean that I have to
resize them outside LaTeX...
Greetings and thank you again,
Michael
On 20/02/16 17:14, Quang-Linh LE wrote:
Hi @miguelazo82, I forgot that I have org-latex-caption-above set to
nil. You can try the minimal working init.el bellow. I will update the
README, too. > (package-initialize) > (use-package ox-latex-subfigure
:init > (setq org-latex-caption-above nil) > :load-path
"~/Dropbox/ProjectWeekends/lisp/ox-latex-subfigure/" > :config
(require 'ox-latex-subfigure)) > > — > Reply to this email directly or
view it on GitHub.
from ox-latex-subfigure.
Hello again,
I found that I can set the width simply putting using latex code in the
table:
\includegraphics[width = .9\linewidth]{../picture/renex.jpg}
Then I do not have a clickable link anymore, but no problem...
I did quite some search but do not seem to find how to set the
org-latex-caption-above on a per float basis...
All the best,
Michael
On 20/02/16 17:25, Quang-Linh LE wrote:
Also remember to have |subcaption| package included, please check
|README.org|.—
Reply to this email directly or view it on GitHub
#1 (comment).
from ox-latex-subfigure.
Michael,
Code updated with respect to org-latex-caption-above
. About the subfigure width, it is the default value from org-latex-image-default-width
which is ".9\\linewidth"
. If you want to set it to a different value, you can have a look on #+BIND:
keyword 1, also remember to set org-export-allow-bind-keywords
to non-nil.
from ox-latex-subfigure.
I see now that I did have the image-default-width variable modified - that was my mistake...
But having to set org-latex-caption-above to nil globally is a problem, as the format demanded needs table captions to be on top.
I see #+BIND could only change this option buffer-wide but not per float.
Is there any way to implement this without having to change this option?
from ox-latex-subfigure.
The easiest way should be a second #+BIND after the environment, it you still need this option, feel free to add an option here 1 and a replace-regex
some where here 2. A pull request is welcome 👍
from ox-latex-subfigure.
Anyway, org-latex-caption-above
is no longer need to be set to nil.
from ox-latex-subfigure.
Sorry for bothering. I had downloaded the new git-version, reloaded the package and it did not work. Restarting emacs helped, will do that in the future before posting here....
Now it works perfectly - nice work and thank you very much. No need for #+BIND and adding hacking an option in the code - would not have had a clue how to do that anyway...
from ox-latex-subfigure.
Ok, glad it helps, Michael.
from ox-latex-subfigure.
Related Issues (13)
- Add file header. HOT 1
- Setting subfigure width HOT 4
- Add this package to MELPA HOT 4
- A little bit better README, too? HOT 3
- Additionnal \end{figure} HOT 11
- Caption / shortcaption export not working HOT 3
- Default subfigure options HOT 4
- `\centering` below figure if not `org-latex-caption-above`
- Export without \centering (with my setup) HOT 13
- Export breaks with wrong-type-argument integer-or-marker-p nil HOT 2
- ox-latex-subfigure stopped working in org-mode 9. HOT 10
- brakes table.el HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ox-latex-subfigure.