[Tex/LaTex] dirtree Template Formatting Changed

dirtree

I've integrated dirtree package into a LaTeX document I am working on, but it appears to be interfering with the document format (see image here 1). How do I tell LaTeX to maintain original formatting after dirtree?

\documentclass{article}

\usepackage{dirtree}
\usepackage[parfill]{parskip}

\begin{document}

This is just a test.

\begin{itemize}
 \item This is a test 1
 \item This is a test 2
 \item This is a test 3
\end{itemize}

\dirtree{%
.1 \framebox{\textbf{NDLTD}}. 
.2 GATECH. 
.2 \framebox{\textbf{OCLC}}. 
.3 OCLCNo--477262203.metadata. 
}

\begin{itemize}
 \item This is a test 1
 \item This is a test 2
 \item This is a test 3
\end{itemize}

\end{document}

Update #1
I just discovered, while preparing a minimum working example, that the problem is as a result of loading the parskip package.

Best Answer

looks like a problem with an old version of parskip or dirtreebecause I cannot see any problem. Put \listfiles into your preamble and compare the list which is at the end of the log file:

 *File List*
 article.cls    2007/10/19 v1.4h Standard LaTeX document class
  size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
 dirtree.sty    2012/12/11 v0.32 package wrapper for dirtree
 dirtree.tex    2012/12/11 v0.32 `dirtree' (jcc)
 parskip.sty    2001/04/09 non-zero parskip adjustments
  omscmr.fd    1999/05/25 v2.5h Standard LaTeX font definitions
 ***********

enter image description here

Related Question