|
|
#1 |
|
Opinionated [but right]
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 281
Karma: 1412
Join Date: Apr 2008
Location: UK
Device: Cybook Gen3, PRS 505, Kindle Int, Oasis, Paperwhite, Scribe
|
The em dash
Does anyone have a simple html file that successfully creates em dashes using Creator?
I have scoured the threads that mention em dashes but they are too obscure for my limited brain. One example of the correct html might just get me there... |
|
|
|
|
|
#2 |
|
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,560
Karma: 93980341
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Simply use the HTML entity "—". Should work just fine.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Opinionated [but right]
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 281
Karma: 1412
Join Date: Apr 2008
Location: UK
Device: Cybook Gen3, PRS 505, Kindle Int, Oasis, Paperwhite, Scribe
|
|
|
|
|
|
|
#4 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,366
Karma: 12000
Join Date: Jan 2008
Location: Texas, USA
Device: Kindle; Sony PRS 505; Blackberry 8700C
|
Quote:
Code:
<p>This is a paragraph that needs—just for a while—an em dash</p> Update -- I was going to show how it renders, but I can't find out which tags this forum uses to allow HTML. If you're working with a text file that has used double hyphens as a substitute for the em dash ( -- ) then you can do a "change all" action in your editors to change the -- to — Last edited by Elsi; 07-11-2008 at 08:02 PM. |
|
|
|
|
|
|
#5 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,786
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What does work is to use @#151; as the em dash. It is what Book Designer outputs and Mobipocket Publisher handles it just fine.
P.S. replace the @ with an & as the forum software converts it to an em dash so I cannot show you properly. |
|
|
|
| Advert | |
|
|
|
|
#6 | |
|
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Code:
<p>This is a paragraph that needs& #8212;just for a while& #8212;an em dash</p> Code:
<p>This is a paragraph that needs—just for a while—an em dash</p> |
|
|
|
|
|
|
#7 |
|
Banned
![]() Posts: 2
Karma: 10
Join Date: Jul 2008
Device: sony
|
|
|
|
|
|
|
#8 |
|
Opinionated [but right]
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 281
Karma: 1412
Join Date: Apr 2008
Location: UK
Device: Cybook Gen3, PRS 505, Kindle Int, Oasis, Paperwhite, Scribe
|
Brilliant, thanks all.
|
|
|
|
|
|
#9 | |
|
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Don't forget the semicolon at the end, i.e. HTML entity "—".
|
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FB2's and Em-dash | Soxendom | Workshop | 1 | 10-13-2010 03:27 PM |
| Historical Fiction Henty, George Alfred: The Dash for Khartoum. V1. 29 Apr 2010 | crutledge | IMP Books | 0 | 04-29-2010 08:55 PM |
| Here's to the Dash! Post a Great Sentence! | Lima_dat | Writers' Corner | 3 | 04-25-2009 04:41 AM |
| What is the correct usage on the em dash? | JSWolf | Workshop | 28 | 10-26-2007 04:27 PM |
| How to activesync with the Dash via Bluetooth | bobcarter07 | Alternative Devices | 0 | 09-28-2007 09:32 PM |