Go Back   Literotica Discussion Board > Main Literotica Forums > Authors' Hangout

Reply
 
Thread Tools

Old 11-02-2017, 09:37 PM   #1
Keirarose
Virgin
 
Keirarose is offline
Join Date: Jan 2017
Posts: 11
Post Coding for bolds, italics and foreign languages?

So I know you have to code for italics and bolded words. How?

Also, one of my characters is Russian and occasionally using his native language. Many of the characters (as in letters, not people) are obviously different... Do I have to code then somehow in my submission? Or will it just be automatically accepted? I want it to be obvious that he's speaking another language, so I'd like to keep the different symbols.

For example: if you wanted to use like Chinese symbols, how would you do that?? THANKS!
  Reply With Quote

Old 11-02-2017, 09:39 PM   #2
geronimo_appleby
always on the move
 
geronimo_appleby's Avatar
 
geronimo_appleby is offline
Join Date: Nov 2004
Location: In transit
Posts: 86,348
italics:

<i>text here</i>

bold:

<b>text here</b>

as for chinese...? dunno. sorry.
__________________
The Lit submissions :Click

Some incest, some cuckold, some hot-wife: Click
  Reply With Quote

Old 11-02-2017, 09:57 PM   #3
NotWise
Snipe hunter
 
NotWise's Avatar
 
NotWise is offline
Join Date: Sep 2015
Location: On the high desert
Posts: 4,452
Quote:
Originally Posted by Keirarose View Post
So I know you have to code for italics and bolded words. How?

Also, one of my characters is Russian and occasionally using his native language. Many of the characters (as in letters, not people) are obviously different... Do I have to code then somehow in my submission? Or will it just be automatically accepted? I want it to be obvious that he's speaking another language, so I'd like to keep the different symbols.

For example: if you wanted to use like Chinese symbols, how would you do that?? THANKS!
For bolds you enclose your text in <b>The text I want bold</b>

For italics you enclose the text in <i>The text I want emphasized</i>

The character set you use varies with character encoding, for which there are several systems. I use UTF-8 (unicode) and that seems to be auto-detected by the site and it lets me use any western European symbols. I embed Spanish words in my stories pretty often. I haven't tried using Cyrillic (Greek, Russian, etc), but that's also in UTF-8 and it should work.

Encoding of Chinese and Kanji (for instance) might not be available in UTF-8. While the sight does support UTF-8 I don't know if it supports other UTF systems. That might be a question for Manu.
__________________
My stories

My personal favorites are The Third Ring and Oscar's Place.
My Valentines Day contest entry was Her Bodyguard (and his Dirty Valentine). It's a little brother/sister love story.
My most recent story is The Third Ring -- Tamsin of Sky Village, a story inspired by the legendary character of Yellow Woman.
I was seduced by two dead flappers, so next up is a ghost story named "Love is Enough."
  Reply With Quote

Old 11-03-2017, 06:14 AM   #4
oggbashan
Ancient writer
 
oggbashan's Avatar
 
oggbashan is offline
Join Date: Jul 2002
Location: Facing the sea.
Posts: 39,597
I use ASCII codes for accents in French and Spanish e.g. Alt 130 = . (Hold down ALT key and use numerals from the number pad NOT at the top of the keyboard.) They work on Literotica but I have been told they don't always work on some mobile devices.
__________________


Nude Day 2018 Story:

https://www.literotica.com/s/naked-corpse

Oggbashan's long list of stories
Jeanne D'Artois' few


electricblue66:
It's like [oggbashan] is writing for the third puffin over there by the sixth rock, when everyone else is an emperor penguin in the Antarctic, where there's tens of thousands of the bastards.

  Reply With Quote

Old 11-03-2017, 11:32 AM   #5
Zeb_Carter
.-- - ..-.
 
Zeb_Carter's Avatar
 
Zeb_Carter is offline
Join Date: Jun 2006
Location: In a state...
Posts: 16,082
At lit there isn't a way to change the character set or fonts and such.

The only way I can think of to get Chinese characters into your story would be to create a picture .jpg and insert it in your document. You of course would have to use Word or OpenOffice and then submit a .doc file in the submission form.
  Reply With Quote

Old 11-03-2017, 01:13 PM   #6
NotWise
Snipe hunter
 
NotWise's Avatar
 
NotWise is offline
Join Date: Sep 2015
Location: On the high desert
Posts: 4,452
Quote:
Originally Posted by Zeb_Carter View Post
At lit there isn't a way to change the character set or fonts and such.

The only way I can think of to get Chinese characters into your story would be to create a picture .jpg and insert it in your document. You of course would have to use Word or OpenOffice and then submit a .doc file in the submission form.
With the old user interface it was possible to specify the character encoding. The character encoding seems to be autodetected in the new user interface. Unicode contains codes for Cyrillic and Chinese characters, so it looks to me like choosing a character set wouldn't be a problem. The font is the problem. The range of fonts available at Lit doesn't include fonts for Cyrillic or Chinese.

For what it's worth, I use LibreOffice on Ubuntu and can produce text in a vast range of languages. I can even save to a text file and the system will still render it correctly. That ability would be useful for producing the image file, but that's about it.
__________________
My stories

My personal favorites are The Third Ring and Oscar's Place.
My Valentines Day contest entry was Her Bodyguard (and his Dirty Valentine). It's a little brother/sister love story.
My most recent story is The Third Ring -- Tamsin of Sky Village, a story inspired by the legendary character of Yellow Woman.
I was seduced by two dead flappers, so next up is a ghost story named "Love is Enough."
  Reply With Quote

Old 11-08-2017, 05:06 PM   #7
Bray123
Really Experienced
 
Bray123 is offline
Join Date: Jul 2014
Posts: 255
I haven't tried in Lit, but generally holding the alt-gr key (the one on the right of the space-bar that no-one ever uses) and pressing a vowel creates an accent ().

Alt-gr + 4 inserts a Euro symbol as well.
  Reply With Quote

Old 11-08-2017, 06:32 PM   #8
oggbashan
Ancient writer
 
oggbashan's Avatar
 
oggbashan is offline
Join Date: Jul 2002
Location: Facing the sea.
Posts: 39,597
Quote:
Originally Posted by Bray123 View Post
I haven't tried in Lit, but generally holding the alt-gr key (the one on the right of the space-bar that no-one ever uses) and pressing a vowel creates an accent ().

Alt-gr + 4 inserts a Euro symbol as well.
Here is a partial list of Alt + numeral keys. Use the number pad on the right, NOT the numbers at the top of the keyboard.

Alt Keys

Alt 037 = %
Alt 038 = &
Alt 039 =

Alt 041 = )

Alt 100 = d Alt 110 = n Alt 120 = x
Alt 121 = y
Alt 122 = z
Alt 123 = {
Alt 124 = |
Alt 125 = }
Alt 126 = ~
Alt 127 = ⌂
Alt 128 =
Alt 129 =

Alt 130 = Alt 140 = Alt 150 =
Alt 131 = Alt 141 = Alt 151 =
Alt 132 = Alt 142 = Alt 152 =
Alt 133 = Alt 143 = Alt 153 =
Alt 134 = Alt 144 = Alt 154 =
Alt 135 = Alt 145 = Alt 155 =
Alt 136 = Alt 146 = Alt 156 =
Alt 137 = Alt 147 = Alt 157 =
Alt 138 = Alt 148 = Alt 158 =
Alt 139 = Alt 149 = Alt 159 =
__________________


Nude Day 2018 Story:

https://www.literotica.com/s/naked-corpse

Oggbashan's long list of stories
Jeanne D'Artois' few


electricblue66:
It's like [oggbashan] is writing for the third puffin over there by the sixth rock, when everyone else is an emperor penguin in the Antarctic, where there's tens of thousands of the bastards.

  Reply With Quote

Old 11-26-2017, 07:00 PM   #9
LiamHDunn
Literotica Guru
 
LiamHDunn is offline
Join Date: Oct 2017
Posts: 794
AM I understanding it correctly that the standard post coding for italics will work in a story submission?
  Reply With Quote

Old 11-26-2017, 07:38 PM   #10
NotWise
Snipe hunter
 
NotWise's Avatar
 
NotWise is offline
Join Date: Sep 2015
Location: On the high desert
Posts: 4,452
Almost, but not quite.

The coding used in a forum post would be BBCode "something."

The coding for the story would be html "<i>something.</i>"
__________________
My stories

My personal favorites are The Third Ring and Oscar's Place.
My Valentines Day contest entry was Her Bodyguard (and his Dirty Valentine). It's a little brother/sister love story.
My most recent story is The Third Ring -- Tamsin of Sky Village, a story inspired by the legendary character of Yellow Woman.
I was seduced by two dead flappers, so next up is a ghost story named "Love is Enough."
  Reply With Quote

Old 11-26-2017, 07:40 PM   #11
LiamHDunn
Literotica Guru
 
LiamHDunn is offline
Join Date: Oct 2017
Posts: 794
Thanks!
  Reply With Quote

Old 11-26-2017, 07:57 PM   #12
Hypoxia
doesn't watch television
 
Hypoxia's Avatar
 
Hypoxia is offline
Join Date: Sep 2013
Location: Llareggub, just around the corner
Posts: 23,555
AFAIK many many readers access LIT only via the Android app which still strips-out all HTML tags. Bye-bye bolds, italics, etc. UTF-8 characters should be available. But Homer, Sappho, Luther, Melville et al managed to communicate without fancy font effects. You can too.
  Reply With Quote

Old 11-26-2017, 09:16 PM   #13
NotWise
Snipe hunter
 
NotWise's Avatar
 
NotWise is offline
Join Date: Sep 2015
Location: On the high desert
Posts: 4,452
Quote:
Originally Posted by Hypoxia View Post
But Homer, Sappho, Luther, Melville et al managed to communicate without fancy font effects. You can too.
Bet they would'a if they could'a.
__________________
My stories

My personal favorites are The Third Ring and Oscar's Place.
My Valentines Day contest entry was Her Bodyguard (and his Dirty Valentine). It's a little brother/sister love story.
My most recent story is The Third Ring -- Tamsin of Sky Village, a story inspired by the legendary character of Yellow Woman.
I was seduced by two dead flappers, so next up is a ghost story named "Love is Enough."
  Reply With Quote

Old 05-21-2018, 09:20 PM   #14
JasonClearwater
Literotica Guru
 
JasonClearwater is offline
Join Date: Apr 2017
Posts: 931
On that note, testing some unicode symbols, I'm trying to establish which will stay in stylish monochrome, and which will be converted into garish emoji. A number of them render fine in Chrome in the Lit preview, but when they hit another device or OS or browser, you can't force them to retain their properties, even appending with: ;&#xFE0E or \uFE0E (HTML hex / JS)

This one seems to work... please let me know if this appears as anything other than monochrome on your device of choice.

❧ ❧ ❧
__________________
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

I'm a leaf on the wind. Watch how I

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
  Reply With Quote

Old 05-22-2018, 09:55 AM   #15
Bramblethorn
Mallory Heart Surgeon.
 
Bramblethorn's Avatar
 
Bramblethorn is offline
Join Date: Feb 2012
Posts: 7,609
Quote:
Originally Posted by NotWise View Post
Bet they would'a if they could'a.
And at least one of them did'a.

https://www.abaa.org/blog/post/moby-...hale-of-a-book

"Richard Bentley printed 500 copies of [Melville's "Moby Dick"] in October, 1851 as a three volume set (a triple-decker). John Carter, in More Binding Variants (London, 1938), called it "the most stunning and successful piece of bravura treatment on any mid-century three-decker of my experience. Around 200 were bound in sea-green cloth boards and cream-cloth spines showing whales rendered in gilt (right whales as opposed to sperm whales), their flukes up and heads down; the rest were eventually bound up in remainder bindings usually plain dark purple cloth with gilt titles on the spines. "

HTML tagging seems modest compared to printing parts of your book in actual gold leaf.

(whoops, missed the post date. Oh well.)

Last edited by Bramblethorn : 05-22-2018 at 09:59 AM.
  Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -4. The time now is 06:58 AM.

Copyright 1998-2013 Literotica Online. Literotica is a registered trademark.