Re: [racket-dev] problem running configure script
> I'm trying to compile racket from source on a linux machine here at > Northeastern, but when I try to run the configure script, I get a > "command not found" error. The permissions on the file are correct and > when I run "bash configure" I get this: > > stchang@mrdo:~/plt/src$ bash configure > : command not found > 'onfigure: line 23: syntax error near unexpected token `in > 'onfigure: line 23: ` case `(set -o) 2>/dev/null` in > > > Anyone know what this means? Thanks to Vincent, I figured out what's going on. I had core.autocrlf = true in my git config (github recommended adding it). The thing is, it's only supposed to remove windows CR line endings before stuff gets checked in, but for some reason it was also adding them to certain files when I cloned (on a linux system). Removing the setting in my git config fixed my problem. Cue the windows bashing ... _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] problem running configure script
I don't know why you're getting those errors (are you using "zsh"?), but does "./configure" instead of "bash configure" work for you? -- http://www.neilvandyke.org/ _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
[racket-dev] problem running configure script
I'm trying to compile racket from source on a linux machine here at Northeastern, but when I try to run the configure script, I get a "command not found" error. The permissions on the file are correct and when I run "bash configure" I get this: stchang@mrdo:~/plt/src$ bash configure : command not found 'onfigure: line 23: syntax error near unexpected token `in 'onfigure: line 23: ` case `(set -o) 2>/dev/null` in Anyone know what this means? _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] scribble pdf
I don't know. I just typed "sudo port install texlive" https://trac.macports.org/browser/trunk/dports/tex/texlive/Portfile I think 2010? Jay 2011/5/24 Robby Findler : > What year texlive is that? > > Robby > > On Tue, May 24, 2011 at 4:34 PM, Jay McCarthy wrote: >> Macports's texlive >> >> Jay >> >> 2011/5/24 Robby Findler : >>> On Tue, May 24, 2011 at 4:19 PM, Eli Barzilay wrote: ! Missing \endcsname inserted. \csname\endcsname l.252 \label {t:x28part_x22Ax5fSemanticsx5fforx5fContextx2dSensitivex5fReduct... The control sequence marked should not appear between \csname and \endcsname. >>> >>> Jay: what latex installation do you have? >>> >>> Robby >>> >> >> >> >> -- >> Jay McCarthy >> Assistant Professor / Brigham Young University >> http://faculty.cs.byu.edu/~jay >> >> "The glory of God is Intelligence" - D&C 93 >> > -- Jay McCarthy Assistant Professor / Brigham Young University http://faculty.cs.byu.edu/~jay "The glory of God is Intelligence" - D&C 93 _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] scribble pdf
What year texlive is that? Robby On Tue, May 24, 2011 at 4:34 PM, Jay McCarthy wrote: > Macports's texlive > > Jay > > 2011/5/24 Robby Findler : >> On Tue, May 24, 2011 at 4:19 PM, Eli Barzilay wrote: >>> >>> ! Missing \endcsname inserted. >>> >>> \csname\endcsname >>> l.252 \label >>> >>> {t:x28part_x22Ax5fSemanticsx5fforx5fContextx2dSensitivex5fReduct... >>> The control sequence marked should >>> not appear between \csname and \endcsname. >>> >> >> Jay: what latex installation do you have? >> >> Robby >> > > > > -- > Jay McCarthy > Assistant Professor / Brigham Young University > http://faculty.cs.byu.edu/~jay > > "The glory of God is Intelligence" - D&C 93 > _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] scribble pdf
Macports's texlive Jay 2011/5/24 Robby Findler : > On Tue, May 24, 2011 at 4:19 PM, Eli Barzilay wrote: >> >> ! Missing \endcsname inserted. >> >> \csname\endcsname >> l.252 \label >> >> {t:x28part_x22Ax5fSemanticsx5fforx5fContextx2dSensitivex5fReduct... >> The control sequence marked should >> not appear between \csname and \endcsname. >> > > Jay: what latex installation do you have? > > Robby > -- Jay McCarthy Assistant Professor / Brigham Young University http://faculty.cs.byu.edu/~jay "The glory of God is Intelligence" - D&C 93 _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] scribble pdf
On Tue, May 24, 2011 at 4:19 PM, Eli Barzilay wrote: > > ! Missing \endcsname inserted. > > \csname\endcsname > l.252 \label > > {t:x28part_x22Ax5fSemanticsx5fforx5fContextx2dSensitivex5fReduct... > The control sequence marked should > not appear between \csname and \endcsname. > Jay: what latex installation do you have? Robby _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] scribble pdf
An hour and a half ago, Jay McCarthy wrote: > All I know is that when I run: > > scribble ++extra floatflt.sty --pdf main.scrbl > > It prints out 1000 lines. But when I normally use latex, I just type > "latex file" and it ends at the error. Robby clarified what's happening. > This behaviour of scribble makes it totally useless for finding > problems. I've attached the output, in case you don't believe me. I didn't want it as a proof -- only as a way to see what would you get with it. In your case the error is below, and my guess is that it's mostly useless without the latex file (and even with it it's pretty bad). Allowing interactions as Robby suggested sounds like a way to get latex-like behavior, and you could even look at the latex file, but you'd need to be told where it is and that it will be erased when the whole thing is done. ! Missing \endcsname inserted. \csname\endcsname l.252 \label {t:x28part_x22Ax5fSemanticsx5fforx5fContextx2dSensitivex5fReduct... The control sequence marked should not appear between \csname and \endcsname. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] drracket on linux, no middle-mouse-paste, no Replace
At Tue, 24 May 2011 10:41:41 -0300, Rodolfo Carvalho wrote: > On Tue, May 24, 2011 at 10:02, Marijn wrote: > > with version 5.1.1 of drracket running on linux, > > mouse-select/middle-mouse-paste isn't working. > > I can confirm that. > v5.1.1 compiled from source, Ubuntu 10.10. Fix pushed to the git repo. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] breaking news nearly invisible
John Clements wrote at 05/24/2011 01:47 PM: I saw a commit go by that seemed to suggest that the racket-lang web page now included some kind of "breaking news" item regarding RacketCon. So I went to the web site but... nothing. If you want an 10-second solution to make it more prominent for most everyone, you could change the background of the box to a yellow (Post-It Note metaphor), maybe with a thin red border. It's OK if it doesn't quite fit in to the style, because it is new, temporary, and made to stand out. You could make it complementary in style to the very noticeable "Download Racket" icon. (I actually noticed the "RacketCon" graphic yesterday before the email went out, when I went to the home page yesterday to click on the "Community" link. Probably because of visual memory that something had changed in the page, and/or because the italics were different than everything else, and/or because, textually, the word "RacketCon" was unfamiliar. But, for people of all visual inclinations, and people not already familiar with the busy home page, the current graphic is a bit reserved.) -- http://www.neilvandyke.org/ _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
[racket-dev] breaking news nearly invisible
I saw a commit go by that seemed to suggest that the racket-lang web page now included some kind of "breaking news" item regarding RacketCon. So I went to the web site but... nothing. ... Five minutes later I was looking at the browser window again, and... hey! There it is! My point? It's basically invisible. A colored background (orange might go nicely with the blue of the download link) would make a big difference. Apologies if this is a feature that's still under construction. John smime.p7s Description: S/MIME cryptographic signature _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] drracket on linux, no middle-mouse-paste, no Replace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/24/11 15:41, Rodolfo Carvalho wrote: > On Tue, May 24, 2011 at 10:02, Marijn wrote: >> Unrelatedly I noticed that in the Edit menu all three options concerning >> Replace are greyed out. > > Indeed, but I wonder it's like this by design? > If you click "find" and then "show replace" on the menu, then "replace" is > available. > Hmm, I guess that it's possible to be by design, but I find it a bit clunky. Also I am missing regex search and replace tools! Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3bw8AACgkQp/VmCx0OL2wQ/ACgg70vGB/au5j9feu1fIMAZUQL GvwAn25E8AjaHv8LgCdz4Q+Ed+eUGvSd =i5cj -END PGP SIGNATURE- _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] drracket on linux, no middle-mouse-paste, no Replace
On Tue, May 24, 2011 at 10:02, Marijn wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi, > > with version 5.1.1 of drracket running on linux, > mouse-select/middle-mouse-paste isn't working. > I can confirm that. v5.1.1 compiled from source, Ubuntu 10.10. > > Unrelatedly I noticed that in the Edit menu all three options concerning > Replace are greyed out. > Indeed, but I wonder it's like this by design? If you click "find" and then "show replace" on the menu, then "replace" is available. []'s Rodolfo Carvalho _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
[racket-dev] drracket on linux, no middle-mouse-paste, no Replace
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, with version 5.1.1 of drracket running on linux, mouse-select/middle-mouse-paste isn't working. Unrelatedly I noticed that in the Edit menu all three options concerning Replace are greyed out. Marijn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk3brFUACgkQp/VmCx0OL2wDKgCffgGF9SJxsG954PN6emJ4/owM jUgAn1r1DNkteVsfYLO8dU1eGfU6+dSA =DyN0 -END PGP SIGNATURE- _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] scribble pdf
On Tue, May 24, 2011 at 4:12 AM, Eli Barzilay wrote: > Three minutes ago, Robby Findler wrote: >> I do not have an example of different outputs >> >> The value is that the latex transcript pauses in the middle so you >> know where the error message is. >> >> You can see what I mean by forcing scribble to call some undefined >> latex macro. > > Ah -- now that you say that I remember how it goes... (It's probably > been more than a decade since I ran latex directly, not via some > makefile, scribble, emacs, or whatever.) > > So a crude hack would be for the stdin that is sent to the process to > have something like "quit\n". Something better would be to find out > some option that makes it abort on a first error instead of switching > to the compile-what-you-can-to-the-eof. > > Does that sound right? Yes, altho I think it would be best to drop into a mode where you are interacting with latex directly when an error is detected (not sure how possible that is). Alternatively, putting what I described in the docs explicitly and recommending it on the mailing list seems fine. Robby _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] scribble pdf
At Mon, 23 May 2011 21:28:55 -0600, Jay McCarthy wrote: > Most of the time when I run scribble to get PDF output, I get something like: > [...] > > I'm guessing that it is because there is something like missing > cross-references or something? FWIW, missing cross-references should never create Latex errors. Only incorrect Latex-level configuration or Scribble bugs should trigger to Latex errors. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] scribble pdf
Three minutes ago, Robby Findler wrote: > I do not have an example of different outputs > > The value is that the latex transcript pauses in the middle so you > know where the error message is. > > You can see what I mean by forcing scribble to call some undefined > latex macro. Ah -- now that you say that I remember how it goes... (It's probably been more than a decade since I ran latex directly, not via some makefile, scribble, emacs, or whatever.) So a crude hack would be for the stdin that is sent to the process to have something like "quit\n". Something better would be to find out some option that makes it abort on a first error instead of switching to the compile-what-you-can-to-the-eof. Does that sound right? (Obviously, it eliminates information -- you get to see one error at a time, but that's probably something that nobody really needed since the 80s.) -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] scribble pdf
I do not have an example of different outputs The value is that the latex transcript pauses in the middle so you know where the error message is. You can see what I mean by forcing scribble to call some undefined latex macro. Robby On Tue, May 24, 2011 at 4:04 AM, Eli Barzilay wrote: > Do you have an example of two different outputs? > > (You are talking about the stderr output, right?) > > > A few seconds ago, Robby Findler wrote: >> It may be different, I'm not sure, but the important thing is that it >> stops in the middle at a relevant place. >> >> On Mon, May 23, 2011 at 11:25 PM, Eli Barzilay wrote: >> > About a minute ago, Robby Findler wrote: >> >> It is hard to read that lots, tho. What I typically do in those >> >> situations is: >> >> >> >> scribble --latex --dest junk file.scrbl ; cd junk ; pdflatex file >> >> >> >> and then pdflatex will stop in the middle somewhere in a relevant >> >> place so you can see what is going on. >> > >> > You mean that you see an output from the above that is different from >> > the --pdf output? If so, then sounds like there might be some >> > interaction problem with the subprocess. > > -- > ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: > http://barzilay.org/ Maze is Life! > _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] scribble pdf
Do you have an example of two different outputs? (You are talking about the stderr output, right?) A few seconds ago, Robby Findler wrote: > It may be different, I'm not sure, but the important thing is that it > stops in the middle at a relevant place. > > On Mon, May 23, 2011 at 11:25 PM, Eli Barzilay wrote: > > About a minute ago, Robby Findler wrote: > >> It is hard to read that lots, tho. What I typically do in those > >> situations is: > >> > >> scribble --latex --dest junk file.scrbl ; cd junk ; pdflatex file > >> > >> and then pdflatex will stop in the middle somewhere in a relevant > >> place so you can see what is going on. > > > > You mean that you see an output from the above that is different from > > the --pdf output? If so, then sounds like there might be some > > interaction problem with the subprocess. -- ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: http://barzilay.org/ Maze is Life! _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev
Re: [racket-dev] scribble pdf
It may be different, I'm not sure, but the important thing is that it stops in the middle at a relevant place. On Mon, May 23, 2011 at 11:25 PM, Eli Barzilay wrote: > About a minute ago, Robby Findler wrote: >> It is hard to read that lots, tho. What I typically do in those >> situations is: >> >> scribble --latex --dest junk file.scrbl ; cd junk ; pdflatex file >> >> and then pdflatex will stop in the middle somewhere in a relevant >> place so you can see what is going on. > > You mean that you see an output from the above that is different from > the --pdf output? If so, then sounds like there might be some > interaction problem with the subprocess. > > -- > ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: > http://barzilay.org/ Maze is Life! > _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/dev