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

Watch Document: Error Reporting and latexmk.log #152

Open
taiya opened this issue Jun 16, 2016 · 3 comments
Open

Watch Document: Error Reporting and latexmk.log #152

taiya opened this issue Jun 16, 2016 · 3 comments

Comments

@taiya
Copy link

taiya commented Jun 16, 2016

Very often something goes wrong and all I get is this:

Could not find any messages containing line information.
Please take a look at the log file engage.latexmk.log to find the source of the problem.

It would be nice if in these situations the LatexWatch could just dump the log file directly in the window, no?

@taiya taiya changed the title Error reporting Error reporting and latexmk.log Jun 16, 2016
@sorbits
Copy link
Member

sorbits commented Jun 16, 2016

As an intermediate step, the text could be made into a link (if this is not already the case).

Here’s a simple example of using JavaScript to open a file (from TextMate’s HTML output):

Open <tt><a href="#" onClick="javascript:TextMate.open('/etc/hosts')">/etc/hosts</a></tt>

@sanssecours sanssecours changed the title Error reporting and latexmk.log Watch Document: Error Reporting and latexmk.log Jun 30, 2016
@sanssecours
Copy link
Member

sanssecours commented Jun 30, 2016

It would be nice if in these situations the LatexWatch could just dump the log file directly in the window, no?

Do you mean that we should:

  1. open the file filename.latexmk.log in a new tab in TextMate, or
  2. display the content of the logfile in the Notification Window?

I do not think that either of this options is ideal. Especially option 2 seems kind of extreme. I think it would be better to just to improve the parser code to catch more helpful error messages. Hopefully I will have time to update the parser code in the next weeks.

As an intermediate step, the text could be made into a link (if this is not already the case).

Thanks, for the tip Allan. But I think in the situation Andrea described only the Notification Window is open. As far as I know there is no (easy way) to add a link there…

@taiya
Copy link
Author

taiya commented Jun 30, 2016

I agree it's not ideal, but better than having to chase down the log file by hand.

A link would've been optimal!
Even better if errors where better caught but there is always room for things to go wrong!

Sent from my iPhone

On Jun 30, 2016, at 12:02, René Schwaiger notifications@github.com wrote:

It would be nice if in these situations the LatexWatch could just dump the log file directly in the window, no?

Do you mean that we should:

open the file filename.latexmk.log in a new tab in TextMate, or
display the content of the logfile in the Notification Window.
I do not think that either of this options is ideal. Especially option 2 seems kind of extreme. I think it would be better to just to improve the parser code to catch more helpful error messages. Hopefully I will have time to update the parser code in the next weeks.

As an intermediate step, the text could be made into a link (if this is not already the case).

Thanks, for the tip Allan. But I think in the situation Andrea described only the Notification Window is open. As far as I know there is no (easy way) to add a link there…


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants