* I can not understand ‘+strike-through+’ .
@ 2009-08-17 1:14 waterloo
2009-08-17 1:48 ` Nick Dokos
0 siblings, 1 reply; 6+ messages in thread
From: waterloo @ 2009-08-17 1:14 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 158 bytes --]
In subsetction `Emphasis and monospace ' of 12.1 Markup rules of manual ,
I can not understand how to use ‘+strike-through+’ ?
what does it mean ?
Thanks
[-- Attachment #1.2: Type: text/html, Size: 345 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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] 6+ messages in thread
* Re: I can not understand ‘+strike-through+’ .
2009-08-17 1:14 I can not understand ‘+strike-through+’ waterloo
@ 2009-08-17 1:48 ` Nick Dokos
2009-08-17 2:21 ` [Orgmode] " waterloo
2009-08-17 2:31 ` Small bug in the LaTeX exporter? [was: Re: I_can_not_understand_ +strike-through+] Nick Dokos
0 siblings, 2 replies; 6+ messages in thread
From: Nick Dokos @ 2009-08-17 1:48 UTC (permalink / raw)
To: waterloo; +Cc: emacs-orgmode
waterloo <waterloo2005@gmail.com> wrote:
> In subsetction `Emphasis and monospace ' of 12.1 Markup rules of manual ,
> I can not understand how to use =91+strike-through+=92 ?
> what does it mean ?
[Much better !-) Thanks for the reference.]
Another expression for it is "crossing out": basically a horizontal line
drawn through the text at half-height, generally indicating erased text.
Try exporting the following to html (for some reason, the strike-through
feature did not work for me in the LaTeX exporter) and viewing it in your
browser:
--8<---------------cut here---------------start------------->8---
* Emphasis and monospace
- *bold*
- /italic/
- _underlined_
- =code=
- ~verbatim~
- +strike-through+
--8<---------------cut here---------------end--------------->8---
HTH,
Nick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Orgmode] I can not understand ‘+strike-through+’ .
2009-08-17 1:48 ` Nick Dokos
@ 2009-08-17 2:21 ` waterloo
2009-08-17 2:31 ` Small bug in the LaTeX exporter? [was: Re: I_can_not_understand_ +strike-through+] Nick Dokos
1 sibling, 0 replies; 6+ messages in thread
From: waterloo @ 2009-08-17 2:21 UTC (permalink / raw)
To: nicholas.dokos; +Cc: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 950 bytes --]
I see +xxx+ is cross out.
Thanks.
2009/8/17 Nick Dokos <nicholas.dokos@hp.com>
> waterloo <waterloo2005@gmail.com> wrote:
>
> > In subsetction `Emphasis and monospace ' of 12.1 Markup rules of manual ,
> > I can not understand how to use =91+strike-through+=92 ?
> > what does it mean ?
>
> [Much better !-) Thanks for the reference.]
>
> Another expression for it is "crossing out": basically a horizontal line
> drawn through the text at half-height, generally indicating erased text.
>
> Try exporting the following to html (for some reason, the strike-through
> feature did not work for me in the LaTeX exporter) and viewing it in your
> browser:
>
> --8<---------------cut here---------------start------------->8---
>
> * Emphasis and monospace
>
> - *bold*
>
> - /italic/
>
> - _underlined_
>
> - =code=
>
> - ~verbatim~
>
> - +strike-through+
>
>
> --8<---------------cut here---------------end--------------->8---
>
>
> HTH,
> Nick
>
[-- Attachment #1.2: Type: text/html, Size: 1483 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
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] 6+ messages in thread
* Small bug in the LaTeX exporter? [was: Re: I_can_not_understand_ +strike-through+]
2009-08-17 1:48 ` Nick Dokos
2009-08-17 2:21 ` [Orgmode] " waterloo
@ 2009-08-17 2:31 ` Nick Dokos
2009-08-17 2:55 ` Nick Dokos
1 sibling, 1 reply; 6+ messages in thread
From: Nick Dokos @ 2009-08-17 2:31 UTC (permalink / raw)
To: nicholas.dokos; +Cc: emacs-orgmode, waterloo
Trying to answer waterloo's question about strike-through, I tried
LaTeX-exporting the following:
--8<---------------cut here---------------start------------->8---
* Emphasis and monospace
- *bold*
- /italic/
- _underlined_
- =code=
- ~verbatim~
- +strike-through+
--8<---------------cut here---------------end--------------->8---
but the resulting LaTeX file has the wrong markup for strike-through:
,----
| ...
| \begin{itemize}
| \item \textbf{bold}
| \item \emph{italic}
| \item \underline{underlined}
| \item \texttt{code}
| \item \texttt{verbatim}
| \item \texttt{strike-through}
| \end{itemize}
| ...
`----
The correct markup, according to the TeX FAQ:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=overstrike,
is obtained using the ulem package:
\usepackage{ulem}
...
\sout{strike-through}
...
The change for \sout is trivial (just change
org-export-latex-emphasis-alist), but adding the ulem package
conditionally is perhaps more difficult. Maybe it should be
added unconditionally? AFAIK, there is no mechanism for including
\usepackages conditionally, is there?
Thanks,
Nick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Small bug in the LaTeX exporter? [was: Re: I_can_not_understand_ +strike-through+]
2009-08-17 2:31 ` Small bug in the LaTeX exporter? [was: Re: I_can_not_understand_ +strike-through+] Nick Dokos
@ 2009-08-17 2:55 ` Nick Dokos
2009-08-18 6:29 ` Carsten Dominik
0 siblings, 1 reply; 6+ messages in thread
From: Nick Dokos @ 2009-08-17 2:55 UTC (permalink / raw)
To: nicholas.dokos; +Cc: emacs-orgmode, waterloo
Nick Dokos <nicholas.dokos@hp.com> wrote:
> ...
> The correct markup, according to the TeX FAQ:
>
> http://www.tex.ac.uk/cgi-bin/texfaq2html?label=overstrike,
>
> is obtained using the ulem package:
>
>
> \usepackage{ulem}
>
> ...
> \sout{strike-through}
> ...
>
>
...or as the FAQ clearly states but I omitted to mention:
\usepackage{soul}
...
\st{strike-through}
...
I don't know which of the two packages is "better", but as far
as the LaTeX exporter is concerned, they both present the same
problem.
Nick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Small bug in the LaTeX exporter? [was: Re: I_can_not_understand_ +strike-through+]
2009-08-17 2:55 ` Nick Dokos
@ 2009-08-18 6:29 ` Carsten Dominik
0 siblings, 0 replies; 6+ messages in thread
From: Carsten Dominik @ 2009-08-18 6:29 UTC (permalink / raw)
To: nicholas.dokos; +Cc: emacs-orgmode, waterloo
Hi Nick and waterloo,
I have now added the ulem package to support strike-through emphasis.
Thanks for looking this up in the TeX docs.
- Carsten
On Aug 17, 2009, at 3:55 AM, Nick Dokos wrote:
> Nick Dokos <nicholas.dokos@hp.com> wrote:
>
>> ...
>> The correct markup, according to the TeX FAQ:
>>
>> http://www.tex.ac.uk/cgi-bin/texfaq2html?label=overstrike,
>>
>> is obtained using the ulem package:
>>
>>
>> \usepackage{ulem}
>>
>> ...
>> \sout{strike-through}
>> ...
>>
>>
>
> ...or as the FAQ clearly states but I omitted to mention:
>
> \usepackage{soul}
>
> ...
> \st{strike-through}
> ...
>
> I don't know which of the two packages is "better", but as far
> as the LaTeX exporter is concerned, they both present the same
> problem.
>
> Nick
>
>
> _______________________________________________
> 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] 6+ messages in thread
end of thread, other threads:[~2009-08-18 6:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-17 1:14 I can not understand ‘+strike-through+’ waterloo
2009-08-17 1:48 ` Nick Dokos
2009-08-17 2:21 ` [Orgmode] " waterloo
2009-08-17 2:31 ` Small bug in the LaTeX exporter? [was: Re: I_can_not_understand_ +strike-through+] Nick Dokos
2009-08-17 2:55 ` Nick Dokos
2009-08-18 6:29 ` Carsten Dominik
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.