Dsek-LTH / member-page

D-sektionens website for members
European Union Public License 1.2
20 stars 4 forks source link

šŸ› Url to meeting documents contain characters not supported in Latex #946

Open sofiatatidis opened 1 year ago

sofiatatidis commented 1 year ago

So you encountered a bug? šŸ˜ šŸ› We really appreciate your help! šŸ„‡

Short description of the bug

The links to meeting documents are based on the name of a document. If the document name contains Swedish letter, spaces or uncommon characters, the resulting url to the file will not be usable in LateX.

Since the documents are frequently linked to in the summons to board meeting (which are created with Latex), one is forced to be very strict with naming documents. In some cases one needs to manually remove all spaces as well.

To Reproduce

Upload a document with Swedish letter, spaces or uncommon characters. Note that the url to the document will contain several %. This is an issue since the %-sign is used for comments in Latex.

Expected behavior

I'd like for the url to not contain any characters not supported in Latex, or that act as comments. It would also be preferrable if the document handler automatically creates a url without forcing the user to input a document name that removes all problematic characters.

Actual behavior

See above.

Context

Screenshot_20230224_111448

Screenshot_20230224_111605

Screenshot_20230224_111625

danieladugyan commented 1 year ago

@sofiatatidis This is unlikely to be fixed in the near future, but I think you may be able to work around it in Overleaf. Try adding \usepackage{hyperref} above the \begin{document} line.