Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"filespec" is not expanded #4

Open
koppor opened this issue Nov 23, 2022 · 1 comment
Open

"filespec" is not expanded #4

koppor opened this issue Nov 23, 2022 · 1 comment

Comments

@koppor
Copy link
Contributor

koppor commented Nov 23, 2022

The parameter filespec is not expanded.

MWE:

\documentclass{article}
\newcommand{\filename}{FileName.bib}
\newcommand{\fullpath}{Test.bib}
\usepackage{intopdf}
\begin{document}
\attachandlink[\filename]{\fullpath}[application/x-bibtex]{BibTeX entry of this paper}{BibTeX}
\end{document}

PDF:

image

Instead of "filename", fileName.bib should be shown.

I tried with the trick \romannumeral-`X, but it did not help.

@zauguin
Copy link
Owner

zauguin commented Nov 24, 2022

You can probably do \expanded{\attachandlink[\filename]{\fullpath}[application/x-bibtex]{BibTeX entry of this paper}{BibTeX}} if you want everything to be expanded for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants