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

no method matching FranklinParser.Block(::Symbol, ::String) #82

Open
kescobo opened this issue Jan 31, 2022 · 2 comments
Open

no method matching FranklinParser.Block(::Symbol, ::String) #82

kescobo opened this issue Jan 31, 2022 · 2 comments
Labels

Comments

@kescobo
Copy link

kescobo commented Jan 31, 2022

https://github.com/kescobo/xranklin-test/

When attempting to build locally with using Xranklin; serve(debug=true):

┌ Warning: Environment 'section' used before it was defined.
└ @ Xranklin /home/kevin/.julia/packages/Xranklin/jJ04e/src/convert/markdown/latex_objects.jl:68
ERROR: MethodError: no method matching FranklinParser.Block(::Symbol, ::String)
Closest candidates are:
  FranklinParser.Block(::Any, ::Any, ::Any, ::Any, ::Any) at ~/.julia/packages/FranklinParser/up5TR/src/utils/types.jl:43
  FranklinParser.Block(::Symbol, ::SubString{String}) at ~/.julia/packages/FranklinParser/up5TR/src/utils/types.jl:61
  FranklinParser.Block(::Symbol, ::SubString{String}, ::Any) at ~/.julia/packages/FranklinParser/up5TR/src/utils/types.jl:61

This is my site using the Academic template. I would say, put this at the very bottom of your priority list, unless the solution is obvious. I've been thinking of trying something different anyway, so I might try out the new site creation workflow, if that would be helpful :-)

@tlienart
Copy link
Owner

Ah with Academic template this will take a bit more time, long story short it uses FranklinUtils in order to define custom environments so there's a chain of things that need to be updated here.

Possibly it'll just be better to update the template itself and make it an "official" one.

@kescobo
Copy link
Author

kescobo commented Jan 31, 2022

That makes sense to me!

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

No branches or pull requests

2 participants