Function: TeX-source-correlate-expand-options

TeX-source-correlate-expand-options is a byte-compiled function defined in tex.el.

Signature

(TeX-source-correlate-expand-options)

Documentation

Return TeX engine command line option for forward search facilities.

The return value depends on the value of TeX-source-correlate-mode(var)/TeX-source-correlate-mode(fun). If this is nil, an empty string will be returned.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-source-correlate-expand-options ()
  "Return TeX engine command line option for forward search facilities.
The return value depends on the value of `TeX-source-correlate-mode'.
If this is nil, an empty string will be returned."
  (if TeX-source-correlate-mode
      (if (eq (TeX-source-correlate-method-active) 'source-specials)
          (concat TeX-source-specials-tex-flags
                  (if TeX-source-specials-places
                      ;; -src-specials=WHERE: insert source specials
                      ;; in certain places of the DVI file.  WHERE is
                      ;; a comma-separated value list: cr display hbox
                      ;; math par parend vbox
                      (concat "=" (mapconcat #'identity
                                             TeX-source-specials-places ","))))
        TeX-synctex-tex-flags)
    ""))