The StreetLib Write editor offers the possibility to manage any customized setting.
L’editor di StreetLib Write prevede la possibilità di gestire alcune impostazioni personalizzate.
You can reach the "costomizing" window by expanding the editor's tools bar and clicking on the gear button:
The editor's settings can be very useful, especially for PDF conversion. Here are some details:
1) In the copy/paste feature, use only the text and ignore the style of origin
By choosing this option, the pasted text is entered without any formatting from the original document. The result implemented is the same you would get pasting text from the notepad, which cleans from any formatting or style.
This action will help getting a clean source code and will help avoid bad surprises in the output file, when we will associate your text with your chosen theme. However, please be aware that this option involves a reproduction of all the style and formatting decision you want to make in the StreetLib Write editor, including the line and page breaks.
Considering this, to proceed in the most efficient way, we advise you to paste your text on StreetLib Write NOT in the "preview" mode but the "code" mode. As a matter of fact, this mode will allow you to see all the places where there was a break in the original text; And, still in "code" mode, you will be able to add manually the breaks where needed.
2) Use line breaks (<br>) instead of paragraphs (<p>)
This optioncan be activated when you only want line breaks to appear on the text, without further formatting.
The <br> tag is an univocal tag which simple indicates where the text should go to the next line.
The <p> tag, on the contrary, has an opening command (<p>) and a closing command (</p>) and may influence the style attributes, integrated in the CSS (defining the theme). Text included between <p> and </p>, can thus be subjected to a specific formatting, depending on the theme you activate.
3) remove empty tags (when generating the book)
if you made a conversion from a PDF file, you probably noticed that, pasting the original file, a series of useless and repetitive codes are pasted, included empty HTML tags, that are opened and immediately closed as such:
By choosing to "remove empty tags", all these HTML tags will automatically disappear in the StreetLib Write editor, creating a less polluted code.
4) Convert div
If this option is activated, StreetLib Write will automatically replace all the <div> tags with <p>.
e questa opzione viene attivata, StreetLib Write sostituirà automaticamente tutti i tag <div> con i tag <p>.
If this command is activated at the same time as "Use line breaks instead of paragraphs", the result will be the following:
1) all the <div> will be first converted into <p>
2) All the <p> will then be converted into <br>
Which in the end will result in leaving almost only <br> to order line breaks. (not divisions or paragraphs)