[TxMt] Re: Stuck trying to get all the commands from a bundle to show in the menu
Leonardo Collado Torres
lcollado at jhsph.edu
Thu Feb 20 19:48:54 UTC 2014
Hi again,
For some reason I didn't get your reply
http://lists.macromates.com/textmate/2014-February/037134.html yet (I'm
assuming I'll get it with the digest).
About supporting Rmd/rmd files, I just recently finished the set of
proposed changes to the redcarpet-markdown bundle
https://github.com/streeter/markdown-redcarpet.tmbundle/pull/7 I thought
that would be the best bundle for these changes since it is specialized to
the Github flavored markdown.
Taking a look at https://github.com/tbates/markdown.tmbundle I see that you
have made many edits to the markdown bundle for getting table headings
highlighted, mathjax support, etc.
If you use the proposed "knit to html with knitr" or "knit to html with
knitrBootstrap" in
https://github.com/streeter/markdown-redcarpet.tmbundle/pull/7 mathjax is
supported (in the output) and you can include jQuery (like
here<https://github.com/jimhester/knitrBootstrap/issues/21>
).
I'm not the expert on redcarpet markdown, but maybe adding some of your
features in https://github.com/tbates/markdown.tmbundle to
https://github.com/streeter/markdown-redcarpet.tmbundle is a good idea.
That's why I'm cling the maintainer of the markdown-redcarpet bundle.
Cheers,
Leo
On Thu, Feb 20, 2014 at 12:00 PM, Leonardo Collado Torres <
lcollado at jhsph.edu> wrote:
> Thank you again Tim Bates! I finally understood what you meant and managed
> to fix the menu. https://github.com/fonnesbeck/knitr.tmbundle/pull/2
>
> Cheers,
> Leo
>
>
> On Wed, Feb 19, 2014 at 10:44 PM, Leonardo Collado Torres <
> lcollado at jhsph.edu> wrote:
>
>> Hello again,
>>
>> Thank you for the replies! I'm sorry, but I had disabled emails from this
>> list and forgotten about it. But hopefully, this reply will still connect
>> to the thread
>> http://lists.macromates.com/textmate/2014-February/037121.html
>>
>>
>> Going back to the issue at hand, if I understood your reply correctly you
>> are suggesting starting over. Which from looking at
>> https://github.com/fonnesbeck/knitr.tmbundle/commits/master it would
>> basically involve the commits by fonneseck from June 21, 2012 on forward.
>>
>>
>> As for uuid's on the plist that are not on the bundle, I tried finding
>> all of those that were only on the plist and removing them as described
>> earlier (use https://gist.github.com/lcolladotor/9077862) but that
>> didn't work out either.
>>
>>
>> Thank you,
>> Leonardo
>>
>> PS I've proposed changes to the markdown-redcarpet.tmbundle to integrate
>> R markdown files:
>> https://github.com/streeter/markdown-redcarpet.tmbundle/pull/7 Once the
>> knitr.tmbundle (which is for Rnw files) is done, I plan on summarizing how
>> to get a full R + textmate + knitr setup.
>>
>>
>>
>>
>> On Tue, Feb 18, 2014 at 2:26 PM, Leonardo Collado Torres <
>> lcollado at jhsph.edu> wrote:
>>
>>> Hello Textmate list,
>>>
>>> I am trying to understand why the knitr.tmbundle is not showing all the
>>> commands in the bundle menu as shown below:
>>>
>>> [image: Inline image 1]
>>>
>>> It's missing a few commands there, such as "Knit in R". You can try it
>>> out yourself by installing it:
>>>
>>> $ cd ~/Library/Application Support/Avian/Bundles
>>> $ git clone git at github.com:lcolladotor/knitr.tmbundle.git
>>>
>>> Note that https://github.com/lcolladotor/knitr.tmbundle is forked from
>>> https://github.com/fonnesbeck/knitr.tmbundle as I tried to fix some
>>> other minor issues (uuid conflicts with SWeave bundle, ^< shortcut for
>>> "insert code chunk" macro). The original repo is
>>> https://github.com/textmate/sweave.tmbundle
>>>
>>> The menu is incomplete regardless of whether the SWeave bundle is
>>> installed or not.
>>>
>>> I tried playing around with the .plist file after reading
>>> http://superuser.com/questions/380371/how-do-i-create-a-new-snippet-in-textmate-2 leading
>>> to https://gist.github.com/9077862 but that didn't work either.
>>>
>>> Any tips on how to fix the menu will be greatly appreciated! Right now
>>> the only thing that comes to mind is using the Bundle creator GUI and
>>> re-making the commands, but that sounds like the last option to take.
>>>
>>>
>>> I'm using TextMate 2.0-alpha.9503 on a Mac with OS X 10.8.5.
>>>
>>> Thank you,
>>> Leonardo
>>>
>>> Leonardo Collado Torres, PhD student
>>> Department of Biostatistics
>>> Johns Hopkins University
>>> Bloomberg School of Public Health
>>> Website: http://www.biostat.jhsph.edu/~lcollado/<http://bit.ly/LColladoTorres>
>>> Blog: http://lcolladotor.github.io/ <http://bit.ly/FellBit>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20140220/a333a894/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2014-02-18 at 12.17.36 PM.png
Type: image/png
Size: 52302 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20140220/a333a894/attachment-0001.png>
More information about the textmate
mailing list