LaTeX makefile updated

Fri 29 March 2019

My default LaTeX makefile evolved. Here is an update:

The makefile looks like:

RERUN='(There is undefined reference|Rerun to get (cross-references|the bars) right)'

    ${LATEX} $<
    @if [ -e $*.bbl ]; then ${BIBTEX} $* && ${LATEX} $< && ${LATEX} $< ; fi
    @if egrep -q $(RERUN) $*.log ; then ${LATEX} $< ; fi

%.aux %.log: %.tex
    ${LATEX} $<
    while grep -e 'Rerun to get' -e 'run LaTeX again' *.log ; do ${LATEX} $< ; done

%.idx %.toc: %.tex
    ${LATEX} $<

%.bbl %.blg: %.aux $(BIB)
    bibtex $< && ${LATEX} $*.tex

%.ind: %.idx
    makeindex $< && ${LATEX} $*.tex

indent: *tex
    for i in *.tex; do latexindent -w -y="defaultIndent:'    '" $$i ; done

    rm -fv *.log *.aux *.dvi *.toc *.lot *.lof *.snm *.nav *.out *.tns *.bak?

The main evolutions is the indent target to autoindent *.tex file.

Category: tools Tagged: GNU LaTeX Makefile Writing how to tools

Conference posters

Fri 11 December 2015
English: This mindmap (Mind map) consists of r...

mindmap needing clarification (Photo credit: Wikipedia)

Few weeks ago, I wrote about mindmap in LaTeX . Now I want to precise few ideas and to have all key ideas visible in one sight. I think the best layout is similar to a conference poster:

  • key ideas are easily seen few meters away …

Category: LaTeX Tagged: LaTeX Poster how to tools

Read More

LaTeX paragraph trick

Wed 05 August 2015
[caption id="" align="alignright" width="150" class="zemanta-img"]Lorem ipsum flush left aligned parnoindent (Photo credit: Wikipedia)[/caption]
It may be hard to use \par\noindent to begin a paragraph without indentation just after a \section or \paragraph command. One can think of letting a blank line, but this may not work. A trick is …

Category: LaTeX Tagged: LaTeX Typesetting

Read More

LaTeX mindmap

Tue 09 June 2015

The canonical way to draw a mindmap in LaTeX seems to be using the ad-hoc tikz module.

Quick beginner guide

  1. use the tikz package adding in the preamble usepackage{tikz}
  2. load the mindmap module using usetikzlibrary{mindmap}
  3. begin your tikz picture with begin{tikzpicture}[mindmap] (you may add others options) and …

Category: LaTeX Tagged: LaTeX Mindmap how to tools

Read More
Page 1 of 2

Next »