! File ended while scanning use of \environment thebibliography .<inserted text>\par<> "mwe url percentage.tex"I suspect you have forgotten a `}', causing meto read past where you wanted me to stop.I'll try to recover; but if the error is serious,you'd better type `E' or `X' now and fix your file.! Emergency stop.<> "mwe url percentage.tex" (job aborted, no legal \end found)Here is how much of LuaTeX's memory you used:8329 strings out of 477250100000,552014 words of node,token memory allocated 393 words of node memory still in use:2 hlist, 1 rule, 1 dir, 3 kern, 1 glyph, 2 attribute, 53 glue_spec, 2 attribute_list nodesavail lists: 1:1,2:41,3:10,4:1,5:35,6:3,7:162,8:6,9:41,11:329312 multiletter control sequences out of 65536+60000015 fonts using 723367 bytes77i,5n,74p,245b,325s stack positions out of 10000i,1000n,20000p,200000b,200000s! ==> Fatal error occurred, no output PDF file produced!
When I remove the % signs from the URL in the JSON file, the code (with the hyperref package) compiles fine.
I've added the catcode tricks (ac96717) and now the special characters are correctly recognized. It turns out that I have to modify almost all the test files. Anyway now it works fine with the given example.
With the following JSON file:
this code complies fine:
But when I try to use the hyperref package
I get the following error (in texmaker):
When I remove the % signs from the URL in the JSON file, the code (with the hyperref package) compiles fine.
Do you know what the error is?
Thanks, Nick