Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Štvrtok, 22. máj 2025

Súbor: [Platon] / vimconfig / vim / vimlatex (stiahnutie)

Revízia 1.2, Mon Nov 3 08:20:21 2003 UTC (21 years, 6 months ago) by rajo


Zmeny od 1.1: +6 -0 [lines]

Headers update.

#!/bin/bash

#
# $Platon: $
#

# remove a few problems with the output of the latex compiler.
# 1. sometimes the compiler splits a single linenumber into multiple lines.
#    therefore join lines when the first ends in '\d\+' and the second starts
#    with the same
# 2. sometimes there are more than 2 closing or opening brackets in the
#    same line. vim's 'efm' cannot handle the case where multiple files
#    have to be popped in the same line. therefore if a line has more than
#    1 ( or), push them to the next line.
latex '\nonstopmode' "\\input\{$*\}" | \
sed -e '/[0-9]\+$/{N;s/\n\([0-9]\+\)/\1/;}' | \
sed -e 's/(/\
(/g' | \
sed -e 's/)/)\
/g' 


Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok