|
@@ -3088,8 +3088,8 @@ points to a file, `org-agenda-diary-entry' will be used instead."
|
|
|
|
|
|
(defcustom org-format-latex-options
|
|
(defcustom org-format-latex-options
|
|
'(:foreground default :background default :scale 1.0
|
|
'(:foreground default :background default :scale 1.0
|
|
- :html-foreground "Black" :html-background "Transparent" :html-scale 1.0
|
|
|
|
- :html-resolution 140 :matchers ("begin" "$1" "$" "$$" "\\(" "\\["))
|
|
|
|
|
|
+ :html-foreground "Black" :html-background "Transparent"
|
|
|
|
+ :html-scale 1.0 :matchers ("begin" "$1" "$" "$$" "\\(" "\\["))
|
|
"Options for creating images from LaTeX fragments.
|
|
"Options for creating images from LaTeX fragments.
|
|
This is a property list with the following properties:
|
|
This is a property list with the following properties:
|
|
:foreground the foreground color for images embedded in Emacs, e.g. \"Black\".
|
|
:foreground the foreground color for images embedded in Emacs, e.g. \"Black\".
|
|
@@ -3097,14 +3097,8 @@ This is a property list with the following properties:
|
|
:background the background color, or \"Transparent\".
|
|
:background the background color, or \"Transparent\".
|
|
`default' means use the background of the default face.
|
|
`default' means use the background of the default face.
|
|
:scale a scaling factor for the size of the images, to get more pixels
|
|
:scale a scaling factor for the size of the images, to get more pixels
|
|
-
|
|
|
|
:html-foreground, :html-background, :html-scale
|
|
:html-foreground, :html-background, :html-scale
|
|
the same numbers for HTML export.
|
|
the same numbers for HTML export.
|
|
-<<<<<<< HEAD
|
|
|
|
-
|
|
|
|
-=======
|
|
|
|
-:html-resolution the resolution of images for HTML output
|
|
|
|
->>>>>>> 9330ad5b8106f0c6c0810c993db2f0def1741f63
|
|
|
|
:matchers a list indicating which matchers should be used to
|
|
:matchers a list indicating which matchers should be used to
|
|
find LaTeX fragments. Valid members of this list are:
|
|
find LaTeX fragments. Valid members of this list are:
|
|
\"begin\" find environments
|
|
\"begin\" find environments
|
|
@@ -16004,9 +15998,8 @@ Some of the options can be changed using the variable
|
|
(fnh (if (featurep 'xemacs)
|
|
(fnh (if (featurep 'xemacs)
|
|
(font-height (get-face-font 'default))
|
|
(font-height (get-face-font 'default))
|
|
(face-attribute 'default :height nil)))
|
|
(face-attribute 'default :height nil)))
|
|
- (res (plist-get options :html-resolution))
|
|
|
|
(scale (or (plist-get options (if buffer :scale :html-scale)) 1.0))
|
|
(scale (or (plist-get options (if buffer :scale :html-scale)) 1.0))
|
|
- (dpi (number-to-string (* scale (floor (* 0.9 (if buffer fnh res))))))
|
|
|
|
|
|
+ (dpi (number-to-string (* scale (floor (* 0.9 (if buffer fnh 140.))))))
|
|
(fg (or (plist-get options (if buffer :foreground :html-foreground))
|
|
(fg (or (plist-get options (if buffer :foreground :html-foreground))
|
|
"Black"))
|
|
"Black"))
|
|
(bg (or (plist-get options (if buffer :background :html-background))
|
|
(bg (or (plist-get options (if buffer :background :html-background))
|