7

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?

  • There are many ways how to create a pdf and you can use any text or image editor for that, but you probably are looking for something like LibreOffice Writer or LibreOffice Impress. They are similar to Word/Powerpoint and can save pdf directly. – Maadinsh May 12 '17 at 12:03
  • In addition to LibreOffice or printing to pdf from many programs, If your input is in one of many formats plain text formats such as the Markdown on this very site then you could use pandoc to convert files from on format to another. If your input is an e-book then calibre can help to generate the desired output. One of my recent reports was generated by Org-mode in Emacs (how it may look) – jfs May 12 '17 at 15:57
  • 1
    Use whatever program you want then print the file to PDF or export as PDF. You could use LibreOffice, LyX, or any other of thousands of programs. This question is primarily opinion based. – Andrea Lazzarotto May 12 '17 at 17:50
  • @AndreaLazzarotto: I'd say that's an answer to the question. – Oskar Skog May 12 '17 at 21:04
  • @Oskar, actually that's a cause for close voting. :P But if the question can be narrowed down to describe a specific problem then it could be left open and attract good answers. – Andrea Lazzarotto May 12 '17 at 21:09
15

LibreOffice (or OpenOffice).

There is an option "export to PDF" in the panel of Libreoffice:

enter image description here

| improve this answer | |
  • correct .... :-) – tatsu May 12 '17 at 12:05
  • yes LibreOffice is very good for all doc types :) ! give credit for right answer. – MeganFoxz May 12 '17 at 12:37
7

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:

Enter image description here

This is worth to mention too: How to print a regular file to pdf from command line

| improve this answer | |
0

LibreOffice has an "Export to PDF" option on the toolbar at the top of the screen by default: Export as PDF in LibreOffice

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": Print to File

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).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.