mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-12-28 10:56:57 +00:00
LaTeX export: Allow bracket before opening quote
Brenton Kenkel writes: > I found an apparent minor bug with links containing quotation marks in > LaTeX export. If the first character in the name of a link is a > quotation mark, it is converted to a closing mark rather than an > opening mark. For example: > > ,---- > | * test > | > | [[http://www.google.com]["hello"]] > | [[http://www.google.com]["two" "quotes"]] > `---- > > This produces: > > ,---- > | \href{http://www.google.com}{''hello''} > | \href{http://www.google.com}{''two'' ``quotes''} > `----
This commit is contained in:
parent
343f3c4782
commit
caea94a408
@ -1,5 +1,8 @@
|
||||
2009-10-28 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org-latex.el (org-export-latex-quotation-marks): Allow a bracket
|
||||
before an opening quote.
|
||||
|
||||
* org-archive.el (org-archive-subtree): Keep archive after
|
||||
archiving something.
|
||||
|
||||
|
@ -1167,7 +1167,7 @@ links, keywords, lists, tables, fixed-width"
|
||||
'(("\\(\\s-\\)\"" "«~")
|
||||
("\\(\\S-\\)\"" "~»")
|
||||
("\\(\\s-\\)'" "`"))
|
||||
'(("\\(\\s-\\|(\\)\"" "``")
|
||||
'(("\\(\\s-\\|[[(]\\)\"" "``")
|
||||
("\\(\\S-\\)\"" "''")
|
||||
("\\(\\s-\\|(\\)'" "`")))))
|
||||
(mapc (lambda(l) (goto-char (point-min))
|
||||
|
Loading…
Reference in New Issue
Block a user