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

Latex error generating report #678

Closed
dekkers opened this issue Apr 6, 2023 · 3 comments
Closed

Latex error generating report #678

dekkers opened this issue Apr 6, 2023 · 3 comments
Labels
bug Something isn't working keiko Issues related to keiko
Milestone

Comments

@dekkers
Copy link
Contributor

dekkers commented Apr 6, 2023

Pdflatex gives the following error when generating a report:

! Missing $ inserted.
<inserted text> 
                $
l.303 ...victim's browser which is treated as a `_
                                                  _Host-` or `__Secure-` coo...

! Missing { inserted.
<to be read again> 
                   _
l.303 ...ictim's browser which is treated as a `__
                                                  Host-` or `__Secure-` cook...

! Missing { inserted.
<to be read again> 
                   _
l.303 ...er which is treated as a `__Host-` or `__
                                                  Secure-` cookie by PHP app...

! Missing } inserted.
<inserted text> 
                }
l.304 
      
! Missing } inserted.
<inserted text> 
                }
l.304 
      
! Missing $ inserted.
<inserted text> 
                $
l.304 
@dekkers dekkers added the bug Something isn't working label Apr 6, 2023
@dekkers dekkers added this to KAT Apr 6, 2023
@github-project-automation github-project-automation bot moved this to Incoming features / Need assessment in KAT Apr 6, 2023
@dekkers dekkers moved this from Incoming features / Need assessment to Todo (In this sprint) in KAT Apr 6, 2023
@dekkers dekkers added this to the OpenKAT v1.9 milestone Apr 6, 2023
@dekkers dekkers added keiko Issues related to keiko sprint-6 labels Apr 6, 2023
@praseodym
Copy link
Contributor

praseodym commented Apr 6, 2023

I think the syntax error is caused earlier in the tex file than what latex reports here. #671 will keep the tex file in debug mode which should be very useful to debug this.

@praseodym
Copy link
Contributor

praseodym commented Apr 6, 2023

Actually the issue is exactly where latex shows, namely underscores in words. This page lists some solutions, such as escaping underscores or using the underscore package (\usepackage{underscore}).

@praseodym
Copy link
Contributor

Fixed by #690

@github-project-automation github-project-automation bot moved this from Todo (In this sprint) to Done in KAT Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working keiko Issues related to keiko
Projects
Archived in project
Development

No branches or pull requests

2 participants