Witiko / markdown

:notebook_with_decorative_cover: A package for converting and rendering markdown documents in TeX
http://ctan.org/pkg/markdown
LaTeX Project Public License v1.3c
332 stars 31 forks source link

Unable to import sty files #488

Closed l0th3r closed 3 months ago

l0th3r commented 3 months ago

Hi,

I am new to Tex and markdown. Sorry in advance if this should be a discussions instead of an issue.

sty files are not found with import or theme option when importing markdown package. The compilation goes through without other issues.

It's not only the markdownthemewitiko_dot.sty theme. Originally I noticed when one custom theme from me was not working. It works with witiko/markdown/defaults is it because the markdownthemewitiko_markdown_defaults.tex is found ?

I feel like when importing it searches for the Tex file only.

Tex file:

\documentclass[a4paper, 12pt]{book}
\usepackage[import=witiko/dot]{markdown}

\markdownSetup{%
    pipeTables=true,
}

\begin{document}
\begin{markdown}

| 1 | 2 | 3 | 4 |
| :--- | ---- | ---- | ---- |
| 11 | 12 | 13 | 14 |
| 21 | 22 | 23 | 24 |
| 31 | 32 | 33 | 34 |

\end{markdown}
\end{document}

Error log:

! LaTeX Error: File 'markdownthemewitiko_dot' not found.

Nomenclature:

├── markdown/
│   ├── markdown.sty
│   ├── markdownthemewitiko_dot.sty
│   └── ...
└── test.tex

Logs when importing witiko/markdown/defaults :

(/usr/share/texmf-dist/tex/generic/markdown/markdownthemewitiko_markdown_defaults.tex))
(/usr/share/texmf-dist/tex/latex/markdown/markdownthemewitiko_markdown_defaults.sty

Package markdown Warning: Plain TeX Markdown theme witiko/markdown/defaults
(markdown)                was previously loaded on line 142, not loading it again