In a verbatim block like this:
Code: Select all
\begin{verbatim}
/test
├── file-a
├── file-b
└── file-c
\end{verbatim}
I use texlive 11:2023 (based on my package manager)
Do you know why ?
Code: Select all
\begin{verbatim}
/test
├── file-a
├── file-b
└── file-c
\end{verbatim}
We don't have the log file (*.log) here to see what's going wrong. Are there any warnings? So, please attach it to your next post.postroutine wrote: Sun Mar 30, 2025 1:55 am[…] But after I convert to PDF, the special chars are gone and only the directory and files names are keep. […]
Consider to install (the so-called vanilla) TeX Live 2025. An alternative would be MiKTeX.[…] I use texlive 11:2023 (based on my package manager) […]
Code: Select all
%\listfiles
\documentclass[11pt,english]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage[%
includeheadfoot,%
margin=1truein,%
truedimen%
]{geometry}
%\usepackage[parfill=0em]{parskip}
\usepackage{dirtree}
\usepackage{mlmodern}
\usepackage[babel]{microtype}
\begin{document}
\dirtree{%
.1 /test.
.2 file-a.
.2 file-b.
.2 file-c.
}
\end{document}