OpenCores
URL https://opencores.org/ocsvn/product_code_iterative_decoder/product_code_iterative_decoder/trunk

Subversion Repositories product_code_iterative_decoder

[/] [product_code_iterative_decoder/] [tags/] [INITIAL/] [doc/] [acrobat_view] - Rev 12

Go to most recent revision | Compare with Previous | Blame | View Log

#!/bin/sh

# $Id: acrobat_view,v 1.1.1.1 2005-11-15 01:51:52 arif_endro Exp $
# Generate pdf file then view using acrobat

SOURCE="product_code_iterative_decoder"
INPUT="${SOURCE}.tex"
ACROREAD="`which acroread`"
# ACROREAD="/opt/acroread-5.0.8/bin/acroread"

if [ -f ${INPUT} ]
then
        # Clean up and regenerate dvi file
        make real_clean dvi
fi

INTERMEDIATE="${SOURCE}.dvi"
if [ -f ${INTERMEDIATE} ]
then
        # Generate ps pdf and clean auxiliary file
        make -B dvi ps pdf clean
fi

# View using acrobat reader
FILE="${SOURCE}.pdf"
if [ -f ${FILE} ]
then
        ${ACROREAD} ${FILE}
fi

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.