From dadee03ca33ab108173505032d1cd18e26505432 Mon Sep 17 00:00:00 2001 From: MCribbin Date: Wed, 6 Jul 2016 15:57:56 +0100 Subject: [PATCH] Update HumanReadableLogsRules.coffee Added new linke for LaTeX Error: Unknown float option `q'. Changed hint for "No positions in optional float specifier" to include quick fix (will probably need some clearer way of saying which square brackets need to be removed) --- .../ide/human-readable-logs/HumanReadableLogsRules.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/web/public/coffee/ide/human-readable-logs/HumanReadableLogsRules.coffee b/services/web/public/coffee/ide/human-readable-logs/HumanReadableLogsRules.coffee index fee0472b2a..05a4eec761 100644 --- a/services/web/public/coffee/ide/human-readable-logs/HumanReadableLogsRules.coffee +++ b/services/web/public/coffee/ide/human-readable-logs/HumanReadableLogsRules.coffee @@ -50,7 +50,7 @@ define -> [ regexToMatch: /No positions in optional float specifier/ extraInfoURL: "https://www.sharelatex.com/learn/Errors/No_positions_in_optional_float_specifier" humanReadableHint: """ - You have forgotten to include a float specifier, which tells LaTeX where to position your figure. Find out more about float specifiers here. + You have forgotten to include a float specifier, which tells LaTeX where to position your figure. To fix this, either insert a float specifier inside the square brackets (float options), or remove the square brackets. Find out more about float specifiers here. """ , regexToMatch: /Undefined control sequence/ @@ -77,8 +77,8 @@ define -> [ The compiler isn't recognizing the float option 'H'. Include \\usepackage{float} in your preamble to fix this. """ , - regexToMatch: /LaTeX Error: Unknown float option `.+'/ - extraInfoURL: "https://www.sharelatex.com/learn/Errors/LaTeX_Error:_Unknown_float_option_%60H%27" + regexToMatch: /LaTeX Error: Unknown float option `q'/ + extraInfoURL: "https://www.sharelatex.com/learn/Errors/LaTeX_Error:_Unknown_float_option_%60q%27" humanReadableHint: """ You have used a float specifier which the compiler does not understand. You can learn more about the different float options available for placing figures here. """