emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Minor latex export issue
@ 2009-01-13 16:17 Matthew Lundin
  2009-01-20  7:26 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Lundin @ 2009-01-13 16:17 UTC (permalink / raw)
  To: emacs-orgmode


I'm have a *minor* issue to report. It occurs when I export an org
file with footnotes to LaTeX. Specifically, it has to do with the
combination of American style quotation marks and footnotes.

According to many American manuals of style, quotation marks are to be
placed after a sentence ending period if the quoted passage is at the
end of the sentence. E.g.

,----
| Here is "a quote."
| 
| not
| 
| Here is "a quote".
`----

When I use American style quotation in conjuction with a footnote,
the exporter does not convert the closing quote marks into a two
single quotation marks (i.e., LaTeX smart quotes). 

Thus, the following source snippet:

,----
| This is a footnote "with a quote."[fn:sample] And here is another
| footnote "with a quote".[fn:another]
| 
| [fn:sample] Here is the sample footnote.
| 
| [fn:another] Another footnote.
`----

Becomes 

,----
| This is a footnote ``with a quote."\footnote{Here is the sample
|   footnote. } And here is another footnote ``with a
| quote''.\footnote{Another footnote. }
`----

Notice the double quotation mark (rather than two single apostrophes)
at the end of the first sentence. Notice also the correct quotation
mark format appears in the second sentence, where the period comes
after the quotation mark. 

Obviously, it is simple enough to fix this with a query-replace after
the export, but I thought I'd report the issue nonetheless, as it
interferes with immediate output to PDF.

Thanks,

Matt

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Minor latex export issue
  2009-01-13 16:17 Minor latex export issue Matthew Lundin
@ 2009-01-20  7:26 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2009-01-20  7:26 UTC (permalink / raw)
  To: Matthew Lundin; +Cc: emacs-orgmode

Fixed, thanks.

- Carsten

On Jan 13, 2009, at 5:17 PM, Matthew Lundin wrote:

>
> I'm have a *minor* issue to report. It occurs when I export an org
> file with footnotes to LaTeX. Specifically, it has to do with the
> combination of American style quotation marks and footnotes.
>
> According to many American manuals of style, quotation marks are to be
> placed after a sentence ending period if the quoted passage is at the
> end of the sentence. E.g.
>
> ,----
> | Here is "a quote."
> |
> | not
> |
> | Here is "a quote".
> `----
>
> When I use American style quotation in conjuction with a footnote,
> the exporter does not convert the closing quote marks into a two
> single quotation marks (i.e., LaTeX smart quotes).
>
> Thus, the following source snippet:
>
> ,----
> | This is a footnote "with a quote."[fn:sample] And here is another
> | footnote "with a quote".[fn:another]
> |
> | [fn:sample] Here is the sample footnote.
> |
> | [fn:another] Another footnote.
> `----
>
> Becomes
>
> ,----
> | This is a footnote ``with a quote."\footnote{Here is the sample
> |   footnote. } And here is another footnote ``with a
> | quote''.\footnote{Another footnote. }
> `----
>
> Notice the double quotation mark (rather than two single apostrophes)
> at the end of the first sentence. Notice also the correct quotation
> mark format appears in the second sentence, where the period comes
> after the quotation mark.
>
> Obviously, it is simple enough to fix this with a query-replace after
> the export, but I thought I'd report the issue nonetheless, as it
> interferes with immediate output to PDF.
>
> Thanks,
>
> Matt
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-20  8:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-13 16:17 Minor latex export issue Matthew Lundin
2009-01-20  7:26 ` Carsten Dominik

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).