Bonjour à tous ! Le 25 janv. 05, à 22:16, Patrick Gundlach a écrit :
Hello Holger,
I want to use a LaTeX Package (clrscode), or at least I want to port it to Context.
http://www.cs.dartmouth.edu/~thc/clrscode/
Is there some way to use LaTex Packages (I guess not).
No. The low level commands are different in LaTeX and ConTeXt. The named package does not use a lot of unique LaTeX features, so a port shouldn't be too difficult. But as I guess from your question, you are unable to do that, so the question is: who else does the job? And I guess, nobody rises his hand now.
See HH answer about a similar request. I think this solution could be the start of your package. Hans had extended the startlines environment with an option which keep spaces, so that it's easier to write algorithms without having some \it begining every lines ! http://www.ntg.nl/pipermail/ntg-context/2004/008169.html