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

Reply
 
Thread Tools

Old 11-02-2017, 10: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, 10: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,154
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, 10:57 PM   #3
NotWise
Snipe hunter
 
NotWise's Avatar
 
NotWise is online now
Join Date: Sep 2015
Location: On the high desert
Posts: 3,382
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 most recent story is Pixie in the Rain.
Next up is "Her Bodyguard," a brother/sister tale for the Valentine's Day contest
  Reply With Quote

Old 11-03-2017, 07:14 AM   #4
oggbashan
Ancient writer
 
oggbashan's Avatar
 
oggbashan is offline
Join Date: Jul 2002
Location: Facing the sea.
Posts: 38,340
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.
__________________


My Valentine's Day entry:

https://www.literotica.com/s/broke-3

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, 12:32 PM   #5
Zeb_Carter
.-- - ..-.
 
Zeb_Carter's Avatar
 
Zeb_Carter is offline
Join Date: Jun 2006
Location: In a state...
Posts: 15,621
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, 02:13 PM   #6
NotWise
Snipe hunter
 
NotWise's Avatar
 
NotWise is online now
Join Date: Sep 2015
Location: On the high desert
Posts: 3,382
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 most recent story is Pixie in the Rain.
Next up is "Her Bodyguard," a brother/sister tale for the Valentine's Day contest
  Reply With Quote

Old 11-08-2017, 06:06 PM   #7
Bray123
Really Experienced
 
Bray123 is offline
Join Date: Jul 2014
Posts: 155
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, 07:32 PM   #8
oggbashan
Ancient writer
 
oggbashan's Avatar
 
oggbashan is offline
Join Date: Jul 2002
Location: Facing the sea.
Posts: 38,340
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 =
__________________


My Valentine's Day entry:

https://www.literotica.com/s/broke-3

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, 08:00 PM   #9
LiamHDunn
Really Really Experienced
 
LiamHDunn's Avatar
 
LiamHDunn is offline
Join Date: Oct 2017
Posts: 325
AM I understanding it correctly that the standard post coding for italics will work in a story submission?
__________________
I am a writer, anything you say just might show up in a story.
Location: PacNW
Occupation: Retired Naval Officer, writer.

My Stories:
An Unexpected Christmas: Episode 1
An Unexpected Christmas: Episode 2

Please have a look give them the score you think they merit.
  Reply With Quote

Old 11-26-2017, 08:38 PM   #10
NotWise
Snipe hunter
 
NotWise's Avatar
 
NotWise is online now
Join Date: Sep 2015
Location: On the high desert
Posts: 3,382
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 most recent story is Pixie in the Rain.
Next up is "Her Bodyguard," a brother/sister tale for the Valentine's Day contest
  Reply With Quote

Old 11-26-2017, 08:40 PM   #11
LiamHDunn
Really Really Experienced
 
LiamHDunn's Avatar
 
LiamHDunn is offline
Join Date: Oct 2017
Posts: 325
Thanks!
__________________
I am a writer, anything you say just might show up in a story.
Location: PacNW
Occupation: Retired Naval Officer, writer.

My Stories:
An Unexpected Christmas: Episode 1
An Unexpected Christmas: Episode 2

Please have a look give them the score you think they merit.
  Reply With Quote

Old 11-26-2017, 08: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: 17,706
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, 10:16 PM   #13
NotWise
Snipe hunter
 
NotWise's Avatar
 
NotWise is online now
Join Date: Sep 2015
Location: On the high desert
Posts: 3,382
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 most recent story is Pixie in the Rain.
Next up is "Her Bodyguard," a brother/sister tale for the Valentine's Day contest
  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 11:00 PM.

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