MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Sigil (https://www.mobileread.com/forums/forumdisplay.php?f=203)
-   -   Enter text in Book View or Code View (https://www.mobileread.com/forums/showthread.php?t=195258)

ronaldl 10-29-2012 08:20 AM

Enter text in Book View or Code View
 
I am nowing using Sigil instead of going thru Word to generate my text because I do like to bit fiddle.

This is a general "entering data" question.

At first, I started using the Book View but noticed that instead of <p></p> enclosing my paragraphs, Sigil would delineate the raw text by using <div></div> along with other tags just as <bk/>.

I now enter "raw text" by hand in the code view.

When entering raw text in the book view, how can I tag my paragraphs with the paragraph tags. CR/LF doesn't do it. In fact, should raw text be entered in book view?

Thanks
Ronald:help:

DiapDealer 10-29-2012 08:53 AM

Quote:

Originally Posted by ronaldl (Post 2283543)
I am nowing using Sigil instead of going thru Word to generate my text because I do like to bit fiddle.

This is a general "entering data" question.

At first, I started using the Book View but noticed that instead of <p></p> enclosing my paragraphs, Sigil would delineate the raw text by using <div></div> along with other tags just as <bk/>.

I don't see that behavior at all. Entering raw text in Book view results in the normal expected <p></p> when typing normally and using the return key.

Quote:

I now enter "raw text" by hand in the code view.
Code view is for code.

Quote:

When entering raw text in the book view, how can I tag my paragraphs with the paragraph tags. CR/LF doesn't do it. In fact, should raw text be entered in book view?
It's not something I do very often, but there's no reason text shouldn't be entered in Book View, but I'm beginning to think your definition of "entering raw text in Book View" is different than mine. I'm talking about typing the text directly into Sigil's Book View and you may be talking about "pasting" text from another app into Sigil's Book View. We should probably straighten that out first.

theducks 10-29-2012 01:29 PM

Raw text might be another name for Pre-formatted Text :chinscratch:

<pre>My P re-formated Text</pre>

There should NEVER be naked text (non-enclosed),<br /> in a EPUB

kiwidude 10-29-2012 01:39 PM

Book View when you hit Enter will repeat whatever tags exist on hte block you edited.

So if you start off with text in <div> tags, and then hit enter to type more text, it too will end up in div tags with the same class applied if any.

If you want text in <p> tags in Book View, just make sure you start you editing within <p> tags (which is what Sigil does by default). That it "went wrong" for you simply means that your text you hit enter within originally was a <div> rather than a <p> tag.

Note that in Book View you can also ensure the current text block is within <p> tags by using the Headings toolbar/Format menu option, to choose the "Normal" option. That will switch any block tag (headings, blockquotes, or divs etc) into a <p>.

ronaldl 10-29-2012 04:11 PM

Quote:

Originally Posted by DiapDealer (Post 2283568)
I don't see that behavior at all. Entering raw text in Book view results in the normal expected <p></p> when typing normally and using the return key.


Code view is for code.


It's not something I do very often, but there's no reason text shouldn't be entered in Book View, but I'm beginning to think your definition of "entering raw text in Book View" is different than mine. I'm talking about typing the text directly into Sigil's Book View and you may be talking about "pasting" text from another app into Sigil's Book View. We should probably straighten that out first.

I do both.

ronaldl 10-29-2012 04:12 PM

I do both. i enter by typing and I enter by doing cut and paste from notepad.


All times are GMT -4. The time now is 10:08 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.