Please read. Significant change on the site that will affect compatibility [ Dismiss ]
Home Β» Forum Β» Bug Report and Feature Requests

Forum: Bug Report and Feature Requests

Inconsistent curly quotes and em-dashes

Quasirandom 🚫
Updated:

Okay, I think I have this straight:

Right now, when you enter text with curly quotes/apostrophes and em-dashes in a story description text box, they are retained and displayed as entered.

When you enter the same text in a forum comment text box, such as this one, the em-dashes are displayed as enteredβ€”thusβ€”but the quotes are turned into straight quotes, "thus." ETA: This also happens in comments to stories.

When you enter the same text in the blog post text box, the quotes are displayed curly as entered and the em-dashes are turned into simple hyphens-thus.

Yeah, completely flipped behavior. Could we please have the latter two text boxes work like the story description text box?

Michael Loucks 🚫

@Quasirandom

I'd prefer no conversion to typographer's quotes anywhere, but I appear to be part of a tiny minority.

Replies:   Quasirandom
Quasirandom 🚫

@Michael Loucks

I'd prefer pass-through all quotes as entered, whether curly or straight, but I'm also in a minority. The quote conversion routines for stories are, um, buggy.

Ernest Bywater 🚫
Updated:

@Quasirandom

I don't use an em dash so they never worry me. However, I suspect the issue with the quotes is to do with the underlying code of the system being used.

The story display code is all specially written HTML etc code by Lazeez while the forum uses the code of the forum software he obtained from elsewhere, not sure about the source of the code in the description text box.

edit to add: I don't use the em dash as there is no consistent way in how they're handled by e-book readers and browsers, so I avoid them to remove that problem.

Replies:   Michael Loucks
Michael Loucks 🚫

@Ernest Bywater

edit to add: I don't use the em dash as there is no consistent way in how they're handled by e-book readers and browsers, so I avoid them to remove that problem.

I've used the emdash, so now I'm curious about this problem. Can you provide more information?

Replies:   Ernest Bywater
Ernest Bywater 🚫

@Michael Loucks

I've used the emdash, so now I'm curious about this problem. Can you provide more information?

It's to do with the way some browsers and some e-book readers display the em dash is such that there's almost no difference visible between an em dash and an en dash - in the same way as you mention is a problem here. Also, the problem can be made worse by how some fonts display them. In both browsers and e-book readers the user can override whatever you want to put in for fonts and font sizes, so you can't be sure how it will look due to the variants in size and display. Thus there can be confusion in what the reader is seeing on their screen: an en dash or an em dash.

Then you also have the issue of line splitting and some systems sticking a hyphen in to show the split. I've seen some cases where the line split was at an em dash so the e-book reader had a hyphen for the split then the em dash as the proper normal display of an em dash is as if it's another letter at that point.

I've yet to see an instance where someone has used an em dash that could not have been written without the em dash by using some other punctuation instead. I've seen authors on SoL use and em dash on either side of a phrase where commas would be more appropriate. Example: Fred spoke to Gina, his sister-in-law, about the use of his car while he was away. - - I've seen people use an em dash in place of the commas in that situation, yet commas is the more readily understood usage in that situation.

Replies:   Switch Blayde
Switch Blayde 🚫

@Ernest Bywater

I've seen authors on SoL use and em dash on either side of a phrase where commas would be more appropriate.

Used instead of parentheses, not commas. And the em-dash is the standard for interrupted speech. I don't know how you can avoid the em-dash in fiction.

Replies:   Ernest Bywater
Ernest Bywater 🚫

@Switch Blayde

And the em-dash is the standard for interrupted speech.

For interrupted speech different style guides say to sue an em dash, some say to use an ellipsis and others say to have no closing punctuation in the dialogue section. There is no set style or standard for it.

As for the 'replace parentheses' usage, what type of information are you putting in the sentence that you'd use parentheses or em dashes for that commas wouldn't be a good use for?

Replies:   Switch Blayde
Switch Blayde 🚫
Updated:

@Ernest Bywater

what type of information are you putting in the sentence that you'd use parentheses or em dashes for that commas wouldn't be a good use for?

From Grammarly:

Using em dashes instead of parentheses puts the focus on the information between the em dashes.

More focus than simple commas.

And the em-dash is used to set off a word or clause for emphasis.

ETA:

Here's an example of using the em-dash for emphasis (from my novel "Lonely War Widows"):

Boyd opened his eyesβ€”for an instant. They snapped back shut at the blaring bright light.

I didn't even need a comma where the em-dash is. But I wanted to emphasis the "for an instant."

Replies:   Ernest Bywater
Ernest Bywater 🚫
Updated:

@Switch Blayde

And the em-dash is used to set off a word or clause for emphasis.

If you want to emphasis things there are many ways to do it and the easiest is to bold the relevant word or two you wish to emphasis.

In most instances where I've seen an em dash used it's been used as a from of lazy writing to enable them to not form the sentence properly. While it's possible many authors are misusing and em dash, I don't see it as something you can't work without.

If you want to add something on the end of a sentence a space hyphen space then text works just as well and will always display correctly.

If you want to use the em dash to avoid using two commas because you think you already have too many commas, then it might be a good idea to review how you've written the sentence as you may over complicated it.

Like a lot of things to do with writing style, it's the author's choice as to what they do. I choose to not use the em dash because I've seen it lead to confusion and because it may not display properly at all times, which is what started this thread.

Switch Blayde 🚫

@Ernest Bywater

If you want to emphasis things there are many ways to do it and the easiest is to bold the relevant word or two you wish to emphasis.

See the ETA in my last post where I added an example of emphasizing a clause.

Replies:   Ernest Bywater
Ernest Bywater 🚫

@Switch Blayde

See the ETA in my last post where I added an example of emphasizing a clause.

I'd write that in one of two ways, and depending on how much I wanted to emphasize parts it would be:

1. Boyd opened his eyes - for an instant.

2. Boyd opened his eyes, for only an instant.

Replies:   Switch Blayde
Switch Blayde 🚫

@Ernest Bywater

1. Boyd opened his eyes - for an instant.

Except that's not a valid use of a hyphen. It should be an em-dash.

The hyphen is used to join words, like ten-year-old.

The en-dash is used for ranges, like 1900–1940 or January–June.

The em-dash is used for interrupted dialogue, to replace a colon to emphasis something, to replace parentheses to offset something.

Replies:   Ernest Bywater  Grant
Ernest Bywater 🚫

@Switch Blayde

You may see it as invalid use, but it is not in violation of any of the established uses of English and it totally avoids the display problems discussed.

Replies:   Switch Blayde
Switch Blayde 🚫

@Ernest Bywater

You may see it as invalid use

I don't know who the authority would be so I went to grammarly.com. This is what they say about the hyphen at: https://www.grammarly.com/blog/hyphen/

What Is a Hyphen?

A hyphen (-) is a punctuation mark that's used to join words or parts of words. It's not interchangeable with other types of dashes.

Use a hyphen in a compound modifier when the modifier comes before the word it's modifying.

If you're not sure whether a compound word has a hyphen or not, check your preferred dictionary.

Notice the "It's not interchangeable with other types of dashes."

Grammar Girl's explanation is more in depth and complex, but it also wouldn't use the hyphen the way you have it in your example: https://www.quickanddirtytips.com/education/grammar/how-to-use-a-hyphen

Replies:   Ernest Bywater
Ernest Bywater 🚫

@Switch Blayde

Notice the "It's not interchangeable with other types of dashes."

That's the opinion of that person, and may even be shared by others, but it's not a universal opinion, and is no more a requirement for the world in general than the AP style guide is.

As I said, you can use whatever style you wish, but I will not use any style that can easily lead to reader confusion and the issues with the em dash does lead to confusion in many situations, so I avoid it.

Replies:   LupusDei  Switch Blayde
LupusDei 🚫

@Ernest Bywater

You could easily avoid all possible reader confusion and most technical issues by simply including spaces around any dash that isn't meant to join words.

The abomination in em-dash usage that needs to die is the no-space paradigm. It's incredibly ugly, confusing and plain weird even when it works, and it adds technicall challenges for no reason at all.

Sure that's an individual opinion of a foreigner, but I cringe every time I see that no-space em-dash, with one possible exception when it's used for interrupted speech.

Switch Blayde 🚫

@Ernest Bywater

That's the opinion of that person,

Well, that quote came from grammarly.com. I would expect they hire knowledgable subject-matter people. And Grammar Girl is an expert in the field.

If you don't want to use the em-dash because you don't think it will display properly, you should use a double hyphen (--).

Replies:   Ernest Bywater
Ernest Bywater 🚫

@Switch Blayde

In a solid science like geology you can hire people who have expert knowledge and experience. However, with the English language there is no such thing as an expert to the same extent and the best you can find is opinions and preferences, that's why there are so many style guides that disagree with each other on so many things.

Much of what you see on many sites is what people put forward as their won opinion or the opinions of them and some friends.

The closest you get to an 'expert' in the English language field is an English Professor who teaches at the university level, they deliberately limit themselves to stating what are the rules for Formal English and admit that they don't all apply to Informal English uses.

...........

personally, using a space hyphen and space provides a clearer display of intention than a double hyphen does.

Replies:   Switch Blayde
Switch Blayde 🚫
Updated:

@Ernest Bywater

The closest you get to an 'expert' in the English language field is an English Professor who teaches at the university level

The English language is in fact white supremacy. Why do I say that? I just read it in an article (https://www.yahoo.com/news/professor-says-grading-system-racist-184031733.html):

A professor at Arizona State University is calling for the end to "White supremacy language," and to do away with the common way of grading papers in favor of labor-based grading that will redistribute "power."

"White language supremacy in writing classrooms is due to the uneven and diverse linguistic legacies that everyone inherits, and the racialized white discourses that are used as standards, which give privilege to those students who embody those habits of white language already," Asao Inoue, professor of rhetoric and composition at Arizona State University, said.

Inoue added that White supremacy culture "makes up the culture and normal practices of our classrooms and disciplines." To combat the issues, Inoue suggested implementing labor-based grading, which "redistributes power in ways that allow for more diverse habits of language to circulate." He has also coined the phrase, "Habits of White Language," used to describe the common way teachers and professors grade papers.

Labor-based grading would mean weighing assignments based on how much "labor" students put into their work, and not assigning grades based on grammar or quality of work.

If you haven't thrown up yet, read the entire article. According to him (a university professor of rhetoric and composition) grammar and quality should not be considered when grading. How much effort you put into it is what's important.

Sorry, but I have no faith in what's being taught in school nowadays.

Grant 🚫
Updated:

@Switch Blayde

The em-dash is used for interrupted dialogue, to replace a colon to emphasis something, to replace parentheses to offset something.

I'm used to seeing ellipses to indicate a longer pause/interruption in dialogue than that indicated by a comma.

John said "I'm not sure what i want to do... are you sure that's what you want to do?"

awnlee jawking 🚫
Updated:

@Ernest Bywater

a space hyphen space then text works

That's true in British English as written by Brits. Em-dashes are seen as affected, the province of the few who want to win writing awards rather than communicate with the widest audience.

Luckily the em-dash looks pretty much like a hyphen, so readers can just treat it as one.

ETA I've just noticed that space hyphen space is used in my newspaper-du-jour to separate out text that one might expect to be enclosed by em-dashes.

AJ

Replies:   awnlee jawking
awnlee jawking 🚫

@awnlee jawking

ETA I've just noticed that space hyphen space is used in my newspaper-du-jour to separate out text that one might expect to be enclosed by em-dashes.

Just to confuse matters, I'm currently reading the medical section. It uses a different font and space em-dash (or at least, something a lot longer than a hyphen) space to separate out text.

AJ

Replies:   LupusDei
LupusDei 🚫
Updated:

@awnlee jawking

CNN webpage does use spaces around a dash:

So far, there's been little clarity on how the company will shore up more cash. It's been trying to sell some of its assets β€” from a partial stake in its car business to an office tower in Hong Kong β€” but hasn't had much luck.

So does Reuters I believe. Aljazeera surely does:

Poland and other EU states accuse Belarus of encouraging the migrants and refugees – who are mostly from the Middle East, Afghanistan and Africa – to cross in revenge for Western sanctions on Minsk over President Alexander Lukashenko's crackdown on dissent after last year's disputed election.

ETA: Science Daily uses double-hyphen style, with spaces:

However, this is only equivalent to the energy saved -- and the associated CO2 emissions -- by burning fossil fuels in cement production.

Replies:   Switch Blayde
Switch Blayde 🚫

@LupusDei

CNN webpage does use spaces around a dash:
So does Reuters I believe. Aljazeera surely does:

Webpages usually follow some variant of the AP Style Guide. I believe that style guide has spaces on both sides of the em-dash.

Publishers of print books usually follow some variant of the Chicago Manual of Style. It does not have the spaces.

Now ebooks should logically follow the guides for webpages, but they follow the guides for print publishing. I guess they want it to look like a print book not a webpage.

Replies:   Grant
Grant 🚫

@Switch Blayde

Now ebooks should logically follow the guides for webpages, but they follow the guides for print publishing.

Since they are emulating a printed book, it's logical that they follow the guidelines for print publishing. If they were emulating a web site, then they should follow those guidelines.

Replies:   LupusDei
LupusDei 🚫

@Grant

However, they face technical challenges more characteristic for websites, as user controlled viewpoint dimensions, character size and front.

Replies:   Grant
Grant 🚫

@LupusDei

However, they face technical challenges more characteristic for websites, as user controlled viewpoint dimensions, character size and front.

Yes, but that's all they are- technical issues in providing output inline with published output guidelines, and expectations.

If you're going to provide content online, then you need to follow the guidelines for the format you are using (blog, web page, Facebook, Twitter etc and whether it's on a desktop, pad or mobile device).

If you're providing content in either a physical book, or an ebook, it's considered publishing and you should follow those guidelines.

Replies:   Keet
Keet 🚫

@Grant

If you're providing content in either a physical book, or an ebook, it's considered publishing and you should follow those guidelines.

I disagree. What you say would mean that an ebook should display a fixed page, fixed fonts and colors, have fixed page numbering and the display is a 'real' page each screen. I doubt anyone could comfortably read such an ebook. An ebook (ebup) is basically a web site packaged in a zip file to reduce size and have it as a single file. If you would follow the guidelines for the format an ebook should be considered a web site and thus follow the guidelines for web sites. Following those guidelines makes it possible to offer all the features we now have available with ebooks. Now there's guidelines and there guidelines. Guidelines for a format don't necessarily have to be in line with guidelines for writing rules. There's no rule that says that the textual content of a book or website has to follow the rules for the format. SOL is a website. Everything on it follows the rules for web sites EXCEPT the stories where each story follows the rules the author has followed when writing the content.

Replies:   Switch Blayde
Switch Blayde 🚫

@Keet

an ebook should be considered a web site and thus follow the guidelines for web sites

In that case, an ebook should not have indented paragraphs but rather no indent with a blank line between them. I don't think I ever saw an ebook formatted that way.

Replies:   Keet
Keet 🚫

@Switch Blayde

In that case, an ebook should not have indented paragraphs but rather no indent with a blank line between them. I don't think I ever saw an ebook formatted that way.

In my post I specifically stated the difference between guidelines for the format (i.e. an ebook) and the contents (i.e. the story text itself). There's nothing against indented paragraphs in ebooks. CSS even facilitates this with the 'text-indent' property to indent the first line of a text block. The same with a blank line between paragraphs (or not). You manage that with CSS properties on the p class. HTML and CSS offer the options so why not use them in an ebook?

Replies:   Switch Blayde
Switch Blayde 🚫

@Keet

In my post I specifically stated the difference between guidelines for the format (i.e. an ebook) and the contents (i.e. the story text itself)

I was responding to that. Paragraphing is format. And ebooks follow print format, not webpage format for paragraphs.

I forget how we got into this discussion, but my point is that ebooks, which are webpages, follow Chicago-like guidelines rather than AP-like guidelines. My guess is it's because ebooks are associated with the printing business so it mirrors what's on paper even though it's on an electronic screen.

I'm not saying one is better than the other. I'm just saying that's the way it is.

Replies:   Keet
Keet 🚫

@Switch Blayde

I was responding to that. Paragraphing is format. And ebooks follow print format, not webpage format for paragraphs.

I think we mean the same but interpret 'format' as different things. With format I meant the technical format, the means by which the content is presented (ebook, print book, webpage), not the content formatting. I think the way the content is formatted is up to how the author/publisher wants it but the techniques used to present that should follow the rules of the 'vehicle'. An ebook is basically html and css which offers a range of features you can't use in printed books. Grant more or less stated in his post that all the rules for publishing books should be followed, my point was that there's no reason to not use some of the ebook features just because they aren't possible with printed books, thus ebooks should not have to follow *all* the rules for publishing printed books by definition. Many ebook readers even allow to overrule some of the predefined content formatting which makes the content formatting little more than a starting default. You can't change the rules for html and css because that would probably make the ebook unreadable, if it still can be opened at all.
To give an example: printed books have a limit to the number of pages because of the size of the end product and the production costs. There's no reason to put the same limit on ebooks (other than an artificial, commercial limit).

Switch Blayde 🚫

@Keet

interpret 'format' as different things

For me, "format" is how the page is laid out β€” margins, indenting, centering, spacing, how the ellipsis is presented, how the em-dash is presented, curly quotes, etc.

To me, it seems ebooks try to emulate the look of a printed page. I guess they want you to feel like you're reading a printed book on your e-reader.

Replies:   Keet
Keet 🚫

@Switch Blayde

To me, it seems ebooks try to emulate the look of a printed page. I guess they want you to feel like you're reading a printed book on your e-reader.

Yep, they certainly do. It's some years a go but I once saw an ebook reader that had little "paper folds" at the bottom right you could swipe as if you turned a page :D I don't have a physical ebook reader so I don't know if that's still a thing.
I wonder when the gap between electronic and printed will widen to the point where emulating a printed book is no longer preferred.

Replies:   awnlee jawking
awnlee jawking 🚫

@Keet

I wonder when the gap between electronic and printed will widen to the point where emulating a printed book is no longer preferred.

The internet was established to allow people to share documents. To make certain documents adhere to web page standards rather than the document's native standards is a case of the tail wagging the dog.

AJ

Replies:   Keet  Switch Blayde
Keet 🚫

@awnlee jawking

The internet was established to allow people to share documents.

The internet was established to connect networks for communication, not specifically to share documents. Eventually that was one of the things that could be done but it was not the reason to create it.

To make certain documents adhere to web page standards rather than the document's native standards is a case of the tail wagging the dog.

*sigh* You follow web standards to get the display format you want, following whatever standard you wish for the content displayed. The web standards are there so browser engines know how to render the display as the author intended. It has nothing to do with documents. A normal web page can't display a document. For some types it can download it to the cache and render a display in the browser (i.e pdf etc.) using extra code (browser extension) to handle that type of document.
Even the old flash games were downloaded to cache first before a browser extension (flash player) could make it do something. One has nothing to do with the other.

Replies:   awnlee jawking
awnlee jawking 🚫

@Keet

The internet was established to connect networks for communication

My understanding is that the originators wanted a common standard for accessing documents on remote computers.

The web standards are there so browser engines know how to render the display as the author intended.

If a 'document' is only for display by web browsers, it's not living up to the original aims. Prettifying documents for web browsers came later, since when HTML has mushroomed well beyond its original, simple form.

AJ

Replies:   Grant  Switch Blayde
Grant 🚫

@awnlee jawking

The internet was established to connect networks for communication


My understanding is that the originators wanted a common standard for accessing documents on remote computers.

Nope.
The ARPANET was about connecting computers to transfer data (a network). The internet (a network of networks) evolved from APRANET, and it was still just about getting data from one computer to another.

Replies:   awnlee jawking  Keet
awnlee jawking 🚫

@Grant

The ARPANET was about connecting computers to transfer data (a network).

That data was scientific papers, and the computers belonged to universities.

AJ

Replies:   Dominions Son
Dominions Son 🚫
Updated:

@awnlee jawking

The ARPANET was about connecting computers to transfer data (a network).


That data was scientific papers, and the computers belonged to universities.

ARPANET was a military project. The name derives from DARPA (Defense Advanced Research Projects Agency), a Sub-agency of the Department of Defense.

Documents, particularly research papers were part of the data that was being moved around, but it certainly wasn't all of it.

Some of the computers belonged to universities, some of them belonged to the DoD and were located at various military installations.

Keet 🚫

@Grant

The ARPANET was about connecting computers to transfer data (a network). The internet (a network of networks) evolved from APRANET, and it was still just about getting data from one computer to another.

The shortest correct description I've seen.

Switch Blayde 🚫

@awnlee jawking

My understanding is that the originators wanted a common standard for accessing documents on remote computers.

I thought it was created by that guy at Xerox Labs so that they could communicate with each other. Maybe that was sharing docs.

Replies:   awnlee jawking
awnlee jawking 🚫

@Switch Blayde

I thought it was created by that guy at Xerox Labs so that they could communicate with each other. Maybe that was sharing docs.

The internet has certainly progressed a hell of a lot further than the original intention. So much content now exists only in web page format.

AJ

Switch Blayde 🚫

@awnlee jawking

To make certain documents adhere to web page standards

We weren't talking about standards. It was about whether the em-dash should be surrounded by spaces or not. Someone mentioned (I think you) that newspapers and webpages had the spaces. I said they do because they follow some version of the AP Style Guide which has the spaces. I pointed out the publishing industry follows some version of the Chicago Manual of Style which doesn't. Although an ebook is like a webpage, it's also like a printed book and it seems the people who print books follow Chicago so ebook books don't have the spaces.

Ernest Bywater 🚫

@Keet

I think we mean the same but interpret 'format' as different things.

I've not bothered to go through this sub-thread discussion in detail, but it seems to me there is a conflagration between the 'layout' of the text within the document and the media 'format' requirements.

The original thread came about due to the differences in the 'display' of certain punctuation aspects due to the differences in the way the code used formats the display of the text. Then when this sub-thread broke out, I suspect you both started to get your wires crossed as to what aspects you were talking about while using the same words.

robotica 🚫

@Keet

Are you sure about them being HTML(+CSS)? I thought they have moved on to XML-based formats (sometimes with proprietary stuff added like DRM) such as EPUB or DocBook. For example, I don't think you can omit closing tags even back Mobi (although you can't use self-closing version).

Replies:   Keet
Keet 🚫

@robotica

Are you sure about them being HTML(+CSS)?

You can see that for yourself. Depending on your system a right-click will probably show you the option to extract. Do that and you get a folder with all the files in it. Browsing through the files and sub folders will show you several .html or .xhtml files and the css file will most likely be in another sub folder. (xhtml is like html but with much stricter rules.)
Try one the epubs downloaded from SOL to avoid running into DRM restrictions. If you're familiar with Calibre that program can show you the contents of an epub too and can even circumvent DRM.

Replies:   robotica
robotica 🚫

@Keet

I suppose we differ in where the line is to be drawn. I count XML-serialization of HTML to be XML-based, since XHTML is an application of XML and also has different parsing rules to HTML. Also, EPUB is definitely XML-based not HTML-based, see spec especially EPUB OCF spec.

Replies:   Keet
Keet 🚫
Updated:

@robotica

I suppose we differ in where the line is to be drawn.

I don't think we differ that much. When I respond here I try to be as 'simple' as possible to keep it understandable for non-technical readers. Sometimes that is at the cost of precision.
The epub format is a bit of a strange beast because it incorporates several different protocols and formats. Xml is a big part of that, as is xhtml. I agree that xhtml is a form of xml, it's clearly stated on the first line. But for someone not familiar with the background it looks more like html and the format closely resembles the 'normal' html format. Anyone not familiar with the differences who would look at it would say "it's just html". Specifically the files with the story chapters look like any normal html file if it were not for the xml declaration at the top. Combine that with the use of CSS and most would consider it html+css packed in a zip container and they would be very close to what it actually is.

ETA: typo

Quasirandom 🚫

@Quasirandom

Could we please have the latter two text boxes work like the story description text box?

:ping:

Or is there a technical reason that makes this hard?

richardshagrin 🚫

@Quasirandom

Perhaps Mars Candy Company makes it difficult to post M&M dashes.

Back to Top

Close
 

WARNING! ADULT CONTENT...

Storiesonline is for adult entertainment only. By accessing this site you declare that you are of legal age and that you agree with our Terms of Service and Privacy Policy.


Log In