IT/Software/Applications/LibreOffice/Writer: Difference between revisions

From msgwiki
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Convert to pdf==
=== Convert to pdf ===
 
convert a doc to pdf
convert a doc to pdf


Line 8: Line 7:


<code>libreoffice --headless --convert-to pdf *.odt</code>
<code>libreoffice --headless --convert-to pdf *.odt</code>
=== Convert numbers to superscript ===
This is handy when copying and pasting scripture from the internet.
goto →Edit→search&replace
search for <code>\d+</code>
under <code>more Options</code> check <code>[x]regular Expression</code>
hit the →→<code>find all</code> button
Close that dialog box and click on the superscript button.
=== Remove unnecessary carriage returns/new paragraphs. ===
Search $ and replace with space bar once.
Select regular expressions.

Latest revision as of 10:27, 5 March 2024

Convert to pdf

convert a doc to pdf

soffice --headless --convert-to pdf sourceFile.odt

this will convert all odt files to pdf within the same folder

libreoffice --headless --convert-to pdf *.odt

Convert numbers to superscript

This is handy when copying and pasting scripture from the internet.

goto →Edit→search&replace

search for \d+

under more Options check [x]regular Expression

hit the →→find all button

Close that dialog box and click on the superscript button.

Remove unnecessary carriage returns/new paragraphs.

Search $ and replace with space bar once.

Select regular expressions.