From 65cb2b29f1b6d6aad285e99529bd8a5dc94ad28f Mon Sep 17 00:00:00 2001 From: Jose Date: Fri, 2 Sep 2022 17:58:30 -0300 Subject: [PATCH] Updating README and poppler tutorial --- README.org | 4 ++-- tutorial/poppler.org | 19 +++++++++---------- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/README.org b/README.org index 3e9bb2e..ee05316 100644 --- a/README.org +++ b/README.org @@ -22,7 +22,7 @@ opportunity to learn about computers, files, directories and programs. ** Users * [[./tutorial/add_user.org][How to add users]] - * [[./tutorial/changeowner.org][Changing file permissions: 'chmod']] + * [[./tutorial/changeowner.org][Changing file permissions: 'chmod' and 'chown']] ** File manipulation @@ -36,7 +36,7 @@ opportunity to learn about computers, files, directories and programs. ** File conversion * [[./tutorial/convertppt2pdf.org][Convert office files to pdf]] - * [[./tutorial/poppler.org][Convert markup text to multiple formats using 'pandoc']] + * [[./tutorial/pandoc.org.org][Convert markup text to multiple formats using 'pandoc']] * [[./tutorial/poppler.org][Convert pdf to text or html using 'poppler']] * [[./tutorial/video_convert.org][Convert videos]] diff --git a/tutorial/poppler.org b/tutorial/poppler.org index cb9b844..3c98dff 100644 --- a/tutorial/poppler.org +++ b/tutorial/poppler.org @@ -5,24 +5,23 @@ Use poppler and redirect the text to a org file. ~pdftotext~ converts a pdf to "txt" if no other format is specified -#+begin_src bash +#+begin_example bash pdftotext foo.pdf foo -#+end_src +#+end_example Install poppler in Parabola GNU-Linux -#+begin_src bash +#+begin_example bash pacman -S poppler -#+end_src +#+end_example -#+begin_src bash +#+begin_example bash pdftotext foo.pdf ->> foo.org # first option pdftotext foo.pdf foo.org # second option -#+end_src +#+end_example Convert pdf to html -#+begin_src bash - pfdftohtml foo.pdf foo.html -#+end_src - +#+begin_example bash + pfdftohtml foo.pdf foo.html +#+end_example