![]() |
I need help!
Hey, newbie here
So I have been trying to edit this epub on sigil but I'm having trouble with one thing... So basically I have my "style" setteled down but on each paragraph so that's not a problem but i gotta do this "<p> ... </p>" by hand everytime and if you consider that there is over 5000 paragraphs its quite the hussle to do each one of them by hand Can I automize this whole process? |
It is called a (linked) 'stylesheet'
p{ your style stuff here } What that says is apply that to ALL 'p' tags Now this is real basic and you will probably want more, but get OUT of the habit of inline style="blahblah' coding. You will end up with a nightmare if you want to change, whereas there is ONE place to make a change with a stylesheet. Take a ebook you like and look at the stylesheet :bulb:click once on the tag for a paragraph, then right click: Go to link or style. Sigil will normally take you right there |
Sigil itself is not really the tool to help you take plain text and turn it into html (though there might be some plugins to help in that regard). Sigil is most commonly used to take html exported from another source and use it to create an epub (though I understand some have some success pasting small amounts of rich text into Sigil's Code View). But if I understand you correctly, Sigil's not really the right tool to help you wrap 5000 paragraphs of plain text with individual p tags.
|
Quote:
BTW, Calibre will automatically convert: Spoiler:
to: Spoiler:
(To customize the epub output select, Preferences > Input options > TXT input.) |
On import of text files, Sigil will use double newlines to mark paragraph boundaries and wrap them in p tags when imported.
|
I feel like I may be totally misunderstanding things here, but just in case this is useful ...
Quote:
(Again, I may be misunderstanding the goal here since Doitsu recommended Calibre instead of mentioning his plugin :chinscratch:) Quote:
|
Quote:
Remember about the spacing between paragraphs in the text file. |
Quote:
|
| All times are GMT -4. The time now is 09:25 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.