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

Cant get get it to work at all #68

Closed
Beakcraft opened this issue Jul 22, 2024 · 1 comment
Closed

Cant get get it to work at all #68

Beakcraft opened this issue Jul 22, 2024 · 1 comment

Comments

@Beakcraft
Copy link

Describe the bug
I have many Errors depending on what i tried can elaborate if needed. I just cant get citations to run at all.

Additional information

  • TeX distribution: TeX Live 2024
  • Package citation-style-language version: 22.06.2024 just put /usepackage{citation-style-language} im my latex program nothing more
  • LaTeX engine: lualatex, but nothing works anyways when tried

To Reproduce
Try Windows, Texlive2024 on windws, emacs on msys2, auctex, having .bib file in same folder, having austrian-legal.csl downloaded in same folder (or the azr austrian one)
having local variables set to luatex and utf-8. running latexmk with
What i want to happen is pressing C-c C-a and having s synced pdf with sourced opening/updating. It works with bibtex fine, but i need a specific citation style.

One Error is: The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored.

the other one is :
command failed with exit code 12:perl.exe c:\texlive\2024\texmf-dist\scripts\latexmk\latexmk.pl -lualatex --synctex=1 -interaction=nonstopmode -file-line-error "main.tex"

When does wich error occour? No freaking idea, somtimes it compiles then no citation (first error) sometimes it doesnt compile at all (2nd error). Running from a clean slate never works. C-c C-c commands first makes C-cC-a work without references. I am not even sure if latexmk works with lua. Anyways it does not work standalone anyways (error 1).
What i need is, how can i get my citation requirements working? what should i put in my init.el file?? what in my local variables? whatin my .tex file? § - and other signs need to work too. but getting that to work with lua on filepaths made me just not use special charakters. But inportant the Special Charakters need to work in the .bib file too (either with latex commands or just work planely)

If needed i can add my latex code, and my init.el code and my file setup

maybe you can direkt me to a thread that has proper emacs setup, and latex setup until then i will use bibtex since i have been learning emacs and latex auctex in the last 20 days and only have 8 days left to start and finish writing my thesis xD.

@zepinglee
Copy link
Owner

Can you provide a small LaTeX example as in #67 so that I can reproduce the errors?

One Error is: The lua interpreter ran into a problem, so the remainder of this lua chunk will be ignored.

What is the error message? A typical Lua module error is like the following and the message is very useful to me.

...exmf/scripts/citation-style-language/citeproc-engine.lua:113: attempt to concatenate a nil val
ue
stack traceback:
        ...exmf/scripts/citation-style-language/citeproc-engine.lua:113: in function '
citeproc.new'
        .../scripts/citation-style-language/citeproc-latex-core.lua:238: in function '
citeproc-latex-core.init'
        ...texmf/scripts/citation-style-language/citeproc-latex.lua:33: in function 'c
iteproc-latex.init'
        [\directlua]:1: in main chunk.
\lua_now:e #1->\__lua_now:n {#1}
                                
l.19 \begin{document}

I am not even sure if latexmk works with lua.

The citation-style-language is expected to work with latexmk -lualatex.

@zepinglee zepinglee closed this as not planned Won't fix, can't repro, duplicate, stale Aug 21, 2024
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