gestion correcte du chemin du fichier bib
Cette révision appartient à :
@@ -87,7 +87,17 @@
|
|||||||
\RequirePackage{ystheorem}
|
\RequirePackage{ystheorem}
|
||||||
|
|
||||||
\RequirePackage[backend=biber, style=alphabetic]{biblatex}
|
\RequirePackage[backend=biber, style=alphabetic]{biblatex}
|
||||||
\addbibresource{commun.bib}
|
\begin{luacode*}
|
||||||
|
function dirname(str)
|
||||||
|
if str:match(".-/.-") then
|
||||||
|
local name = string.gsub(str, "(.*/)(.*)", "%1")
|
||||||
|
return name
|
||||||
|
else
|
||||||
|
return ''
|
||||||
|
end
|
||||||
|
end
|
||||||
|
tex.print([[\addbibresource{]]..dirname(status["filename"])..[[commun.bib}]])
|
||||||
|
\end{luacode*}
|
||||||
|
|
||||||
\RequirePackage{yslistings}
|
\RequirePackage{yslistings}
|
||||||
|
|
||||||
|
|||||||
Référencer dans un nouveau ticket
Bloquer un utilisateur