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

reflexion and amplification attacks

Thu 13 February 2014

[caption id="" align="alignright" width="350"]N/R Distributed reflection (Photo credit: Wikipedia)[/caption]

Reflection attacks are well known. To explain them, I won't use Bob and Alice because they are needed in another protocol description. Let's use French femal names.Let's say Gertrude wants to attack Thérèse.  Gertrude knows that Henriette …

Category: network security Tagged: Denial-of-service attack Domain Name System GNU Network Time Protocol

Read More
Page 1 of 1