# ClearCase and text files with long lines of text

Note 2 myself just in case I’ll stumble into this again:

I’ve tried to add a javascript file (jquery-1.3.2.min.js) to clearcase, and got the following response:
 jquery-1.3.2.min.js is not a 'text file': it contains a line exceeding 8000 bytes. Use a different type manager (such as compressed file). Type manager "text_file_delta" failed create_version operation. 
Huh? Anyway, this can be solved by

$cleartool chtype -nc compressed_file jquery-1.3.2.min.js   Change version manager and reconstruct all version for "jquery-1.3.2.min.js"? [no] y Changed type of element "jquery-1.3.2.min.js" to "compressed_file".  Afterwards, the file can be checked in without problems. # ZGRViewer, a GraphViz/DOT Viewer Description from the homepage: “ZGRViewer is a 2.5D graph visualizer implemented in Java and based upon the Zoomable Visual Transformation Machine. It is specifically aimed at displaying graphs expressed using the DOT language from AT&T GraphViz and processed by programs dot, neato or others such as twopi.” Occasionally I have to deal with large graphs for some recursive automatons in the context of a dynamic programming algorithm. My automaton class is able to return a dot-style representation which describes the finite automaton, and it turns out that ZGRViewer excels in handling such large graphs by providing smooth zooming and easy navigation in the visualized graph. I found that because of the use of SVG it is much less memory consuming than, say, converting it to PNG bitmap graphics. Here is a screenshot of ZGRViewer showing my DOT file opened with neato. Visit the ZGRViewer homepage for more screenshots and videos. # Include EPS files in LaTeX Recently I wanted to include a directed graph in a LaTeX document. I was running dot on the graph file $ dot -Tps2 nfa.dot > nfa.eps 
to receive the EPS file which I wanted to include in LaTeX. Running TeXShop with pdflatex for typesetting on a file containing
 \begin{figure}[!htb] \centering \includegraphics[scale=.7]{nfa.eps} \caption{Digraph.} \label{fig:digraph} \end{figure} 
however returns the error
 ! LaTeX Error: Unknown graphics extension: .eps. 

This can be resolved by adding
 \usepackage{epstopdf} 
which allows to convert eps images to pdf for use with pdflatex. This works perfect. 😎

# Hello world!

Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!