Hi,
Nicolas Goaziou n.goaz...@gmail.com writes:
Rasmus ras...@gmx.us writes:
Perhaps. I'm not convinced.
Since I didn't introduce this feature in new exporter (it was already in
the previous one), it may be interesting to know the motivation of the
person who originally introduced it. I
Nicolas,
I don't like that tikz figures are wrapped in a resize box.
Set `org-latex-image-default-width' to .
But as my second email shows this still doesn't work with
captions. . .
This exmample:
#+BEGIN_SRC org
#+BEGIN_SRC emacs-lisp
(make-local-variable 'org-latex-image-default-width)
Hello,
Rasmus ras...@gmx.us writes:
Set `org-latex-image-default-width' to .
But as my second email shows this still doesn't work with
captions. . .
This exmample:
#+BEGIN_SRC org
#+BEGIN_SRC emacs-lisp
(make-local-variable 'org-latex-image-default-width)
(setq
Nicolas,
Nicolas Goaziou n.goaz...@gmail.com writes:
It's a bad default for
- Picture smaller than textwidth
- Picture crafted to the document which shouldn't have a width.
It's a decent solution for
- pictures which are unintentionally larger than textwidth. But IMO
it's my
Rasmus ras...@gmx.us writes:
Perhaps. I'm not convinced.
Since I didn't introduce this feature in new exporter (it was already in
the previous one), it may be interesting to know the motivation of the
person who originally introduced it. I think it was Bastien (Cc'ed).
If the float width is
Hello,
Bastien b...@gnu.org writes:
Rasmus ras...@gmx.us writes:
And I can't seem to set width to nothing. . .
The attached patch should fix at least one problem: you should be
able to set the width manually now.
As for the default value of `org-latex-image-default-width' I tend
to
Hi Nicolas,
Nicolas Goaziou n.goaz...@gmail.com writes:
`org-latex-image-default-width' has a good default value because it will
make sure that all images fit on the page, no matter their size.
I personally set it to , but I wouldn't recommend it as a default
value.
As for the patch, I
Hello,
Rasmus ras...@gmx.us writes:
I don't like that tikz figures are wrapped in a resize box.
Set `org-latex-image-default-width' to .
In particular this plain example is wrapped in a resize box:
#+BEGIN_SRC Org
* tikz test
[[file:test.tikz]]
#+ATTR_LATEX: :width
Hi,
I don't like that tikz figures are wrapped in a resize box. In
particular this plain example is wrapped in a resize box:
#+BEGIN_SRC Org
* tikz test
[[file:test.tikz]]
#+ATTR_LATEX: :width
[[file:test.tikz]]
#+END_SRC
Produces:
#+BEGIN_SRC latex
[...]
Hi Rasmus,
Rasmus ras...@gmx.us writes:
And I can't seem to set width to nothing. . .
The attached patch should fix at least one problem: you should be
able to set the width manually now.
As for the default value of `org-latex-image-default-width' I tend
to agree, but maybe there are
In general this auto width code seems super annoying. Consider this
From ox-latex.el:
#+BEGIN_SRC emacs-lisp
(width (cond ((plist-get attr :width))
((plist-get attr :height) )
((eq float 'figure) 0.7\\textwidth)
((eq float 'wrap) 0.48\\textwidth)
11 matches
Mail list logo