View Single Post
Old 03-05-2024, 02:31 PM   #9343
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,025
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Multi-reply, FYI.

Quote:
Originally Posted by goosenik View Post
1. Is there a way to change the way the title pages show up? For example-- I'd like the intro metadata page, and then the 'Summary/Description' on the following page, and then the story to start on the third page. Is there a way to do this?
FanFicFare output is customizable, but it's complicated.

FFF doesn't have a way to split the title page into different files, but you can inject a page break between entries with a personal.ini setting:
Code:
[defaults]
# ...
titlepage_entries: seriesHTML,category,genre,language,characters,ships,status,datePublished,dateUpdated,dateCreated,rating,warnings,numChapters,numWords,publisher,<dir style="page-break-after: always"></div>,description
Quote:
Originally Posted by goosenik View Post
2. This isn't a necessity either by any means, just something I'm curious about. Is there a way to add formatting?
Specifically, I can't stand that AO3 doesn't indent new paragraphs. lol Is there a way to tell the plugin to indent new paragraphs in the works?
Likewise, is there a way to tell it to italicize Author's Notes?
Would there be a way to do this without manually adding the formatting to each individual work?
By default, FFF tries to normalize the appear of stories and the default output is what I prefer.

The output_css setting from defaults.ini (for epub) is:
Code:
[epub]
# ...
## Allow customization of CSS.  Make sure to keep at least one space
## at the start of each line and to escape % to %%.  Also need
## background_color to be in the same section, if included in CSS.
## 'adobe-hyphenate: none;' prevents hyphenation on newer Nooks
## STR(wG) (1.2.1+ for sure)
output_css:
 body { background-color: #%(background_color)s;
        text-align: justify;
        margin: 2%%;
	adobe-hyphenate: none; }
 pre { font-size: x-small; }
 h1 { text-align: center; }
 h2 { text-align: center; }
 h3 { text-align: center; }
 h4 { text-align: center; }
 h5 { text-align: center; }
 h6 { text-align: center; }
 .CI {
     text-align:center;
     margin-top:0px;
     margin-bottom:0px;
     padding:0px;
     }
 .center   {text-align: center;}
 .cover    {text-align: center;}
 .full     {width: 100%%; }
 .quarter  {width: 25%%; }
 .smcap    {font-variant: small-caps;}
 .u        {text-decoration: underline;}
 .bold     {font-weight: bold;}
 .big { font-size: larger; }
 .small { font-size: smaller; }
You can make your output_css setting entirely, or add to the existing one. For example, to indent <p> paragraphs, you could add:
Code:
[epub]
add_to_output_css:
 p {
         text-indent: 4em;
    }
 div.fff_chapter_notes {
         font-style: italic;
    }
Note that p setting won't help with stories written with <br> instead of <p> tags.

The div.fff_chapter_notes setting italicizes the author notes.

Quote:
Originally Posted by DavidBrookes View Post
Thank you for that - the Modify ePub plugin did the trick - regarding the overrides section to put in the personal.ini file, is there a specific place it needs to be placed or can it be put at the start of the personal.ini file as I know from my IT work something placing of settings in configuration files can be important?
Position in the file doesn't matter. You need to be careful to not accidentally separate existing lines from their section, and it's best to look for an existing section header and put your config under that rather than having multiple of the same [section] headings.
JimmXinu is offline   Reply With Quote