I have a task to make a PDF file about using Linux from my teacher. What program do I need to use, and do I need to format the file I make to PDF?
3 Answers
If your document is a simple/regular text (not highly formatted), as an alternative to LibreOffice we got a lot of different ways to do this.
Let's say we don't have LibreOffice installed, and we're not aware of any third-party tools.
Drag and drop your text file to a browser (e.g: Firefox). Press Ctrl + P, then print it into a PDF file:
This is worth to mention too: How to print a regular file to pdf from command line
- 854
- 57,256
LibreOffice has an "Export to PDF" option on the toolbar at the top of the screen by default:

If you can't see this toolbar button for some reason, you can also export documents in PDF format by clicking "Export as PDF..." in the Menu (File-->Export as PDF).
Alternatively, any program that allows printing will let you "print" as a PDF, by simply pressing Ctrl+P (or selecting "Print" from the respective program's menu/toolbar)... Just choose "Print to File" as the printer and then select "PDF" under "Output format":

Just like if you were printing to an actual printer, you can adjust various settings in the "Print" dialog box, such as which pages to print, the page orientation, etc...
Unless you specify otherwise (in the "File" section of the "Print" dialog box), Ubuntu will "print" the file as a PDF to your "Home" directory (Files-->Home).
- 2,729

