Skip to content

Instantly share code, notes, and snippets.

@abhishekdutt-blr
Forked from rain1024/tut.md
Created July 10, 2025 23:44
Show Gist options
  • Save abhishekdutt-blr/0cf35dc08697f24e8d0d1cc11676d6e3 to your computer and use it in GitHub Desktop.
Save abhishekdutt-blr/0cf35dc08697f24e8d0d1cc11676d6e3 to your computer and use it in GitHub Desktop.

Revisions

  1. Brother Rain revised this gist Mar 6, 2015. 1 changed file with 20 additions and 6 deletions.
    26 changes: 20 additions & 6 deletions tut.md
    Original file line number Diff line number Diff line change
    @@ -1,22 +1,36 @@
    PdfLatex is a tool that converts Latex sources into PDF. This is specifically very important for researchers, as they use it to publish their findings. It could be installed very easily using Linux terminal, though this seems an annoying task on Windows. Installation commands are given below.

    * Install the TexLive base
    $ sudo apt-get install texlive-latex-base

    ```
    sudo apt-get install texlive-latex-base
    ```

    * Also install the recommended and extra fonts to avoid running into the error [1], when trying to use pdflatex on latex files with more fonts.
    $ sudo apt-get install texlive-fonts-recommended
    $ sudo apt-get install texlive-fonts-extra

    ```
    sudo apt-get install texlive-fonts-recommended
    sudo apt-get install texlive-fonts-extra
    ```


    * Install the extra packages,
    $ sudo apt-get install texlive-latex-extra

    ```
    sudo apt-get install texlive-latex-extra
    ```

    Once installed as above, you may be able to create PDF files from latex sources using PdfLatex as below.

    $ pdflatex latex_source_name.tex
    ```
    pdflatex latex_source_name.tex
    ```

    Error 1:
    grep: ptmr7t.log: No such file or directory
    mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ptmr7t' failed to make ptmr7t.tfm.
    kpathsea: Appending font creation commands to missfont.log.

    ! Font OT1/ptm/m/n/10=ptmr7t at 10.0pt not loadable: Metric (TFM) file not found.
    ! Font OT1/ptm/m/n/10=ptmr7t at 10.0pt not loadable: Metric (TFM) file not found.

    Ref: http://kkpradeeban.blogspot.com/2014/04/installing-latexpdflatex-on-ubuntu.html
  2. Brother Rain created this gist Mar 6, 2015.
    22 changes: 22 additions & 0 deletions tut.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    PdfLatex is a tool that converts Latex sources into PDF. This is specifically very important for researchers, as they use it to publish their findings. It could be installed very easily using Linux terminal, though this seems an annoying task on Windows. Installation commands are given below.

    * Install the TexLive base
    $ sudo apt-get install texlive-latex-base

    * Also install the recommended and extra fonts to avoid running into the error [1], when trying to use pdflatex on latex files with more fonts.
    $ sudo apt-get install texlive-fonts-recommended
    $ sudo apt-get install texlive-fonts-extra

    * Install the extra packages,
    $ sudo apt-get install texlive-latex-extra

    Once installed as above, you may be able to create PDF files from latex sources using PdfLatex as below.

    $ pdflatex latex_source_name.tex

    Error 1:
    grep: ptmr7t.log: No such file or directory
    mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input ptmr7t' failed to make ptmr7t.tfm.
    kpathsea: Appending font creation commands to missfont.log.

    ! Font OT1/ptm/m/n/10=ptmr7t at 10.0pt not loadable: Metric (TFM) file not found.