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

spellchecker stops after normalbaselineskip in table #127

Closed
sigma67 opened this issue May 13, 2020 · 3 comments
Closed

spellchecker stops after normalbaselineskip in table #127

sigma67 opened this issue May 13, 2020 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@sigma67
Copy link
Contributor

sigma67 commented May 13, 2020

Hey, using the latest version 0.8.1 here.

When I try to parse a document with a table that has [0.5\normalbaselineskip] in a tabular environment just after the \\ row break, the spellchecker stops parsing just before that table.

All spelling errors starting from \begin{table} are ignored. This is with params

--output html --read-all
--dict dict.txt
--check en document.txt
@sylvainhalle
Copy link
Owner

Hi! Thanks for letting me know. Could you please post a small tex file that reproduces the error?

@sigma67
Copy link
Contributor Author

sigma67 commented May 13, 2020

This is a speling error.

\begin{table}[H]
  \centering
  \resizebox{\textwidth}{!}{%
    \begin{tabular}{p{0.25\textwidth}cccc} %
    \toprule
     &   &  &   & \\
    \midrule
    \textbf{definition} 
    & product
    & any asset
    & machine events
    & any asset \\[0.5\normalbaselineskip]
    \textbf{test} 
    &  &  &  &  \\[0.5\normalbaselineskip]
    \textbf{phases} 
    & early \& medium
    & early
    & medium
    & early \& medium\\[0.5\normalbaselineskip]
    \textbf{suitability} 
    &  &  &  &  \\[0.5\normalbaselineskip]
   \midrule
    \textbf{Implementation} 
    &  &  &  &  \\[0.5\normalbaselineskip]
    \textbf{Open Source} 
    &  &  &  &  \\[0.5\normalbaselineskip]
    \textbf{test} 
    &  &  &  &  \\[0.5\normalbaselineskip]
    \textbf{storage} 
    &  &     &   &  \\[0.5\normalbaselineskip]
    \textbf{Encryption} 
    &   &  &  &  \\[0.5\normalbaselineskip]
    \textbf{Access} 
    &   &  &  &  \\[0.5\normalbaselineskip]
    \textbf{User} 
    &  &  &  &  \\[0.5\normalbaselineskip]
    \bottomrule
    \end{tabular}}
    \caption{}\label{tab:comparison} 
\end{table}

This is a speling error.

@sylvainhalle
Copy link
Owner

Thanks. I managed to shrink this even further to:

This is a speling error.
\begin{tabular}
\\[]
\end{tabular}
This is a speling error.

I'll look into this shortly.

@sylvainhalle sylvainhalle added the bug Something isn't working label May 13, 2020
@sylvainhalle sylvainhalle added this to the v0.8.2 milestone May 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants