language-weave
language-weave copied to clipboard
release 0.6.5 breaks buttons
I think after update to 0.6.5 tool bar buttons are broken, at least for my .jl scripts. Was working great on 0.6.4, even though the html button was invisible. 0.6.5 brings back the html button, but no functionality for either button.
now the command is not defined for the julia scope, since you only need to use that for the weave scope.
I'm sorry but I'm confused. If I have a .jl file open in the editor, how do I issue a weave command in the weave scope? I tried calling 'using Weave' on the REPL command line, and then using the bottom menu to change to the Weave scope, but still the buttons don't function. It seems to me that the most sensible use case would be that I could just open a .jl file, and then push the weave button. Can I do something similar to retain that functionality?
I hope I'm not overly critical; I think Weave is awesome, and anticipate lots of value from using it.
Thanks for your help.
BM
On Sat, Oct 12, 2019, 4:16 AM Shuhei Kadowaki, [email protected] wrote:
now the command is not defined for the julia scope, since you only need to use that for the weave scope.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JunoLab/language-weave/issues/35?email_source=notifications&email_token=AF7MJJUGBDOYTVYH6VP324TQOGBUPA5CNFSM4JABLEZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBBZKEQ#issuecomment-541299986, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7MJJS4IQGFPU3EZXM7ISTQOGBUPANCNFSM4JABLEZA .
Well, .jl
technically aren't weavable -- you should be in a .jmd
or similar file (or set the editor's grammar to one of the other Weave
ones).
That said, I'm not sure if we need to be so strict here -- I don't think there's any real downside to allowing editors with an arbitrary grammar to be weavable.
Ok thanks. Just to be clear, I'm not implying I'll want to weave any arbitrary .jl file, but my use case is taking something very similar to the FIR_design.jl example given in the weave package, and making it into a pdf. Ideally, I could do that with one (or a few?) clicks.
On Sat, Oct 12, 2019, 12:16 PM Sebastian Pfitzner, [email protected] wrote:
Reopened #35 https://github.com/JunoLab/language-weave/issues/35.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JunoLab/language-weave/issues/35?email_source=notifications&email_token=AF7MJJWXABHZPWZHXXKTYFDQOHZ6VA5CNFSM4JABLEZKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOUFVWCZI#event-2708169061, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7MJJQWXWJOICTHQG7RLTDQOHZ6VANCNFSM4JABLEZA .
That said, I'm not sure if we need to be so strict here
yep, the only reason I made those changes was not to allow users to dispatch the command on scopes that the commands won't work.
but my use case is taking something very similar to the FIR_design.jl example given in the weave package
so is there any case when you want to use the command for .jl files ? I'm really okay to reregister the command to the workspace, then.
Yes, please. If you could re-register, I would be very happy about that. I prefer that my scripts maintain the .jl extension, and the ability to run as regular Julia codes, or be weaved to pdf with the comments included.
Thanks for the super prompt response!
BM
On Sat, Oct 12, 2019, 12:47 PM Shuhei Kadowaki, [email protected] wrote:
That said, I'm not sure if we need to be so strict here
yep, the only reason I made those changes is that not to allow users to dispatch the command on scopes that the commands won't work.
but my use case is taking something very similar to the FIR_design.jl example given in the weave package
so is there any case when you want to use the command for .jl files ? I'm really okay to reregister the command to the workspace, then.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JunoLab/language-weave/issues/35?email_source=notifications&email_token=AF7MJJWEL4TB3N5NYIWYUQLQOH5RXA5CNFSM4JABLEZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBCDRPA#issuecomment-541341884, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF7MJJVKXEK46HXHFYACGITQOH5RXANCNFSM4JABLEZA .