Hi, would it be possible to add support to the chktex semantic LaTeX checker? it's a nice program that checks for structural errors in the latex file and is able to spot errors in many situations (unmatched braces etc). It is more advenced than lacheck and last version 1.6.3 compiles perfectly on Mac OSX.
The ideal would be to produce an HTML view with links to the offending lines (and to have an additional button "Chktex" alongside "Re-Run pdflatex"... etc
Thank you, Piero
On 10.10.2007, at 21:09, Piero D'Ancona wrote:
Hi, would it be possible to add support to the chktex semantic LaTeX checker? it's a nice program that checks for structural errors in the latex file and is able to spot errors in many situations (unmatched braces etc). It is more advenced than lacheck and last version 1.6.3 compiles perfectly on Mac OSX.
The ideal would be to produce an HTML view with links to the offending lines (and to have an additional button "Chktex" alongside "Re-Run pdflatex"... etc
This would be really nice, yes. I just discovered chktex recently but didn't get it to compile on my machine. Discovering errors in a file which isn't caught by the syntax coloring can be sometimes difficult. So, an integrated semantic LaTeX checker in Textmate including the features mentioned above would be extra sweet!
Oliver
I will add it to my todo list. However, I will need some advice on how to modify the Makefile so that it builds as a universal binary.
Brad
On 11.10.2007, at 04:07, Brad Miller wrote:
I will add it to my todo list. However, I will need some advice on how to modify the Makefile so that it builds as a universal binary.
Great Brad!
Don't know, but maybe this helps? http://www2.hawaii.edu/~ramonf/ChkTeXonMacOSX/index.html
Oliver
On Oct 11, 2007, at 3:17 AM, Oliver Hagmann wrote:
On 11.10.2007, at 04:07, Brad Miller wrote:
I will add it to my todo list. However, I will need some advice on how to modify the Makefile so that it builds as a universal binary.
Great Brad!
Don't know, but maybe this helps? http://www2.hawaii.edu/~ramonf/ChkTeXonMacOSX/index.html
I just installed it using these instructions on an intel mac. Don't know if that makes it universal or not however. Looks nice, we should integrate it! Probably need to parse its output though, make links etc.
Does it work with projects?
Oliver
Haris Skiadas Department of Mathematics and Computer Science Hanover College
These instructions simply show you how to build it the default way, which will just compile it for your architecture. You can test that by running file chktex it will show you lines for both i386 and ppc if it has been compiled to be universal.
Its doable without a lot of work I think, I was just hoping someone could save me the time of digging through sources to figure out how to build it as a universal binary.
Brad
But couldn't we simply expect whoever wants to use it to have already installed it on their computers, at least for now? Then the universality wouldn't matter that much. We just look to see if it's in the path or something, and prompt the user to the appropriate link if it's not found.
Haris
On Oct 11, 2007, at 1:43 PM, Brad Miller wrote:
These instructions simply show you how to build it the default way, which will just compile it for your architecture. You can test that by running file chktex it will show you lines for both i386 and ppc if it has been compiled to be universal.
Its doable without a lot of work I think, I was just hoping someone could save me the time of digging through sources to figure out how to build it as a universal binary.
Brad
Brad Miller Assistant Professor, Computer Science Luther College
On 10/11/07, Charilaos Skiadas cskiadas@gmail.com wrote: On Oct 11, 2007, at 3:17 AM, Oliver Hagmann wrote:
On 11.10.2007, at 04:07, Brad Miller wrote:
I will add it to my todo list. However, I will need some advice on how to modify the Makefile so that it builds as a universal binary.
Great Brad!
Don't know, but maybe this helps? http://www2.hawaii.edu/~ramonf/ChkTeXonMacOSX/index.html
I just installed it using these instructions on an intel mac. Don't know if that makes it universal or not however. Looks nice, we should integrate it! Probably need to parse its output though, make links etc.
Does it work with projects?
Oliver
Isn't adding "-arch ppc -arch i386" be sufficient?
Fere is how I compiled: First correct the symbolic links, Then (the last one is the change suggested by Frank Stengel and reported on the hawaii.edu webpage)
./configure CFLAGS="-O2 -arch ppc -arch i386" LDFLAGS="-arch ppc - arch i386" DEFS="-DHAVE_CONFIG_H -D__unix__"
$ file chktex chktex: Mach-O universal binary with 2 architectures chktex (for architecture ppc): Mach-O executable ppc chktex (for architecture i386): Mach-O executable i386
It seems to work on the (small) LaTeX file I'm working on these days, running on both my MBP and my PPC Mini.
Le 11 oct. 07 à 19:43, Brad Miller a écrit :
These instructions simply show you how to build it the default way, which will just compile it for your architecture. You can test that by running file chktex it will show you lines for both i386 and ppc if it has been compiled to be universal.
Its doable without a lot of work I think, I was just hoping someone could save me the time of digging through sources to figure out how to build it as a universal binary.
Brad
Brad Miller Assistant Professor, Computer Science Luther College
On 10/11/07, Charilaos Skiadas cskiadas@gmail.com wrote: On Oct 11, 2007, at 3:17 AM, Oliver Hagmann wrote:
On 11.10.2007, at 04:07, Brad Miller wrote:
I will add it to my todo list. However, I will need some advice on how to modify the Makefile so that it builds as a universal binary.
Great Brad!
Don't know, but maybe this helps? http://www2.hawaii.edu/~ramonf/ChkTeXonMacOSX/index.html
I just installed it using these instructions on an intel mac. Don't know if that makes it universal or not however. Looks nice, we should integrate it! Probably need to parse its output though, make links etc.
Does it work with projects?
Oliver
Haris Skiadas Department of Mathematics and Computer Science Hanover College
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On Oct 11, 2007, at 1:43 PM, Brad Miller wrote:
Its doable without a lot of work I think, I was just hoping someone could save me the time of digging through sources to figure out how to build it as a universal binary.
I've built things as universal by just adding this to the CFLAGS variable:
-arch ppc -arch i386
You should know that I have no idea what I'm doing, but it seems to work for wget and a few other command-line tools. You can check whether or not something's universal using the `file` command.
--- Rob McBroom http://www.skurfer.com/ I didn't "switch" to Apple... my OS did.
Hi Everyone,
I've just committed changes to the LaTeX bundle to support chktex, it is bound to ⌃⇧V like many other syntax verifying commands. I have not yet added a button for it as I'm not sure how often this command will be used, and we already have a lot of buttons.
The bundle includes a universal build of the chktex binary. If you do not have chktex installed on your system already please give it a try and let me know if everything works OK running it from the Support/bin directory. Also if you have a ppc machine please try it. My old iMac died so I don't have a G4/G5 to try this out on anymore.
Also, for those interested, the pdfsync command ⌃⌥⌘O has been updated to be much more efficient when searching for the cursor position in Skim.
Brad
The bundle includes a universal build of the chktex binary. If you do not have chktex installed on your system already please give it a try and let me know if everything works OK running it from the Support/bin directory. Also if you have a ppc machine please try it. My old iMac died so I don't have a G4/G5 to try this out on anymore.
I just installed chktex on a ppc G4. It compiled fine and the command works great. Will let you know if any problems arise.
Best, Mark
On 10/11/07, Mark Eli Kalderon eli@markelikalderon.com wrote:
The bundle includes a universal build of the chktex binary. If you do not have chktex installed on your system already please give it a try and let me know if everything works OK running it from the Support/bin directory. Also if you have a ppc machine please try it. My old iMac died so I don't have a G4/G5 to try this out on anymore.
I just installed chktex on a ppc G4. It compiled fine and the command works great. Will let you know if any problems arise.
Thanks Mark. I don't think I was very clear. I built a universal binary version of chktex and put it in the Latex bundle. So, you should not have to get and build chktex for yourself. If someone is on a ppc and has not already fetched and built chktex I would like to make sure it works OK for you.
Brad
Best, Mark
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 10/12/07, Brad Miller bmiller@luther.edu wrote:
....
Thanks Mark. I don't think I was very clear. I built a universal binary version of chktex and put it in the Latex bundle. So, you should not have to get and build chktex for yourself. If someone is on a ppc and has not already fetched and built chktex I would like to make sure it works OK for you.
I just updated the bundles on my iBook G4 and tried your build of chktex - it seems to work as it should...
Jonas
Thanks Mark. I don't think I was very clear. I built a universal binary version of chktex and put it in the Latex bundle. So, you should not have to get and build chktex for yourself. If someone is on a ppc and has not already fetched and built chktex I would like to make sure it works OK for you.
Sorry Brad, just tried the binary it works fine for me. Best, Mark
Brad Miller <bmiller@...> writes:
Hi Everyone,I've just committed changes to the LaTeX bundle to support chktex,
Hi Brad, a couple of tweaks.
1) To make the chktex command really useful and not be drowned in a huge list of warnings, add a configuration file .chktexrc in the home directory. For instance I took the sample config file here http://www.ctan.org/tex-archive/support/chktex/chktexrc and added the following options:
CmdLine { -q -n1 -n2 -n6 -n3 -n25 -n36 }
(in the sample config file the line of options is empty). This means: turn off copyright, and turn off some warnings I find not interesting (n1 is "Command terminated with space", etc -- the complete list is in the manual).
2) The warning messages output by chktex are very informative; the offending line is reported with a caret below the error. In your parser only the first line is kept and the others are discarded. Would it be possible to give the complete output? I understand there is a difficulty, namely the output should be in a monospaced font (otherwise the caret is misplaced and hence useless) so if this is too difficult forget it. But this would be really nice... (you could skim the list of warnings and see what are serious and what are not without going to the file)
Thanks, Piero