[TxMt] Re: How to get HTML code of bundle TextMate -> Create HTML from Document

Brandon M Fryslie bmf at email.arizona.edu
Sat Feb 26 21:57:11 UTC 2011


>When I run that command, I get a new document with the HTML and CSS source.
I haven?t changed anything from the defaults. Open the Bundle Editor, locate
that command, and make sure the output is set to ?Create New Document?. I
suspect it got set to ?Show as HTML? somehow.

Lovely!  That was it!  It works great now.

Brandon

On Wed, Feb 23, 2011 at 7:51 PM, <textmate-request at lists.macromates.com>wrote:

> Send textmate mailing list submissions to
>        textmate at lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
>        textmate-request at lists.macromates.com
>
> You can reach the person managing the list at
>        textmate-owner at lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
>   1.  How to hide the scrollbar of textmate (Elvis Zhou)
>   2.  Re: How to get HTML code of bundle TextMate -> Create HTML
>      from Document (Brandon M Fryslie)
>   3.  Re: How to get HTML code of bundle TextMate -> Create HTML
>      from Document (Rob McBroom)
>   4.  Re: c++ library boost (Chris Patti)
>   5.  Command-Enter quit working (Pete Lasko)
>   6.  Re: Command-Enter quit working (Mark Jackson)
>   7.  Re: Command-Enter quit working (Pete Lasko)
>   8.  Re: Command-Enter quit working (Will)
>   9.  Re: Command-Enter quit working (Mark Jackson)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 23 Feb 2011 21:44:04 +0800
> From: Elvis Zhou <cassyfar at gmail.com>
> To: textmate at lists.macromates.com
> Subject: [TxMt] How to hide the scrollbar of textmate
> Message-ID: <30C9993F-4ADD-4DD3-9500-69AC2F48B95E at gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> How could I hide the vertical and horizontal scroll bars in textmate?
> And is there any possible way to let the scroll bar never shows up even
> though my codes are more than one page?
>
> Tkanks in advence
>
> ------------------------------
>
> Message: 2
> Date: Wed, 23 Feb 2011 09:46:25 -0700
> From: Brandon M Fryslie <bmf at email.arizona.edu>
> To: textmate at lists.macromates.com
> Subject: [TxMt] Re: How to get HTML code of bundle TextMate -> Create
>        HTML    from Document
> Message-ID:
>        <AANLkTink0TVuemCTVHZxBqmzcM04ytH2BBL-N9VXdPgK at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> >
> > I usually go into the menu at the top; File / "New From Template", choose
> > "HTML" scroll around some more, and choose from there.
> >
> > CSS is began from the same menu; File / Plain Text, then at the bottom of
> > the plain text doc one will see the words plain text and some little
> > triangles for clicking on that reveal a menu to choose, CSS is in there.
> >
> > So it seems a drill down procedure.The Preferences allow for doc of
> choice
> > to appear at start up.
>
>
> That is how to create a new HTML or CSS document.
>
> I want to get the results of the command TextMate -> "Create HTML From
> Document".  This command is located in the "TextMate" bundle.  This command
> takes the contents of the currently opened file and turns it into HTML,
> preserving the syntax highlighting by embedding CSS code into the document.
>  On e-TextEditor for Windows, for example, the same bundle generates a page
> of markup.  However on TextMate, it opens directly in a Web Preview window
> from which I am unable to extract the markup.
>
> Is there a) some way to prevent it from opening in web preview?  Or b) some
> way to directly get the contents as source of a web preview window?
>
> Thanks
> Brandon
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.macromates.com/textmate/attachments/20110223/ad8eb465/attachment-0001.html
> >
>
> ------------------------------
>
> Message: 3
> Date: Wed, 23 Feb 2011 13:08:32 -0500
> From: Rob McBroom <mailinglist0 at skurfer.com>
> To: TextMate users <textmate at lists.macromates.com>
> Subject: [TxMt] Re: How to get HTML code of bundle TextMate -> Create
>        HTML    from Document
> Message-ID: <1B570036-07BA-49C2-BA5E-51F6BA3E5F90 at skurfer.com>
> Content-Type: text/plain; charset=windows-1252
>
> On Feb 23, 2011, at 11:46 AM, Brandon M Fryslie wrote:
>
> > I want to get the results of the command TextMate -> "Create HTML From
> Document".  This command is located in the "TextMate" bundle.  This command
> takes the contents of the currently opened file and turns it into HTML,
> preserving the syntax highlighting by embedding CSS code into the document.
>  On e-TextEditor for Windows, for example, the same bundle generates a page
> of markup.  However on TextMate, it opens directly in a Web Preview window
> from which I am unable to extract the markup.
>
> When I run that command, I get a new document with the HTML and CSS source.
> I haven?t changed anything from the defaults. Open the Bundle Editor, locate
> that command, and make sure the output is set to ?Create New Document?. I
> suspect it got set to ?Show as HTML? somehow.
>
> --
> Rob McBroom
> <http://www.skurfer.com/>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 23 Feb 2011 16:32:16 -0500
> From: Chris Patti <cpatti at gmail.com>
> To: TextMate users <textmate at lists.macromates.com>
> Subject: [TxMt] Re: c++ library boost
> Message-ID:
>        <AANLkTi=G5y9AFigZRR+jex8tYepJk2qbxrxbUTgMyvg_ at mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> On Sun, Feb 20, 2011 at 11:45 AM, Andre de Boer <aajd at xs4all.nl> wrote:
> > Hello,
> >
> > How can I include boost libraries with Textmate?
> >
> > Thanks for the answer.
> > Andr?
> >
> >
> > // simple_example_1.cpp
> > #include<iostream>
> > #include<boost/tokenizer.hpp>
> > #include<string>
> >
> > int main(){
> > ?using namespace std;
> > ?using namespace boost;
> > ?string s = "This is, ?a test";
> > ?tokenizer<> tok(s);
> > ?for(tokenizer<>::iterator beg=tok.begin(); beg!=tok.end();++beg){
> > ? ? ?cout << *beg << "\n";
> > ?}
> > }
> >
>
> What does an editor like TextMate have to do with a C++ library?
> Don't you just want to specify it on your link or g++ invocation line?
>
>
> --
> Christopher Patti - Geek At Large | GTalk: cpatti at gmail.com | AIM:
> chrisfeohpatti | P: (260) 54PATTI
> "Technology challenges art, art inspires technology." - John Lasseter,
> Pixar
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 23 Feb 2011 13:43:49 -0800 (PST)
> From: Pete Lasko <petelasko at yahoo.com>
> To: textmate at lists.macromates.com
> Subject: [TxMt] Command-Enter quit working
> Message-ID: <548847.35559.qm at web65615.mail.ac4.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
>
> Anyone know what might cause Command-Enter to quit working? It just stopped
> one
> day quite a while ago and hasn't worked since. Somebody help!
>
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 23 Feb 2011 14:21:36 -0800
> From: Mark Jackson <mrcodewizard at gmail.com>
> To: TextMate users <textmate at lists.macromates.com>
> Subject: [TxMt] Re: Command-Enter quit working
> Message-ID: <B62437A4-1053-4293-A44B-32BDE5051EBB at gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> What do you mean specifically?
>
> On Feb 23, 2011, at 1:43 PM, Pete Lasko wrote:
>
> > Anyone know what might cause Command-Enter to quit working? It just
> stopped one
> > day quite a while ago and hasn't worked since. Somebody help!
> >
> >
> >
> >
> > _______________________________________________
> > textmate mailing list
> > textmate at lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
>
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 23 Feb 2011 17:48:31 -0700
> From: Pete Lasko <petelasko at yahoo.com>
> To: TextMate users <textmate at lists.macromates.com>
> Subject: [TxMt] Re: Command-Enter quit working
> Message-ID: <42E9A541-6E6E-46A7-BE17-0C54DF6FD72A at yahoo.com>
> Content-Type: text/plain;       charset=us-ascii
>
> What I mean is, when I hold the command key, nothing happens except the the
> little *dunk* sound that means "you can't do that."
>
> Previously it would drop down a line (like downarrow) and insert a new
> line.
>
>
>
> On Feb 23, 2011, at 3:21 PM, Mark Jackson <mrcodewizard at gmail.com> wrote:
>
> > What do you mean specifically?
> >
> > On Feb 23, 2011, at 1:43 PM, Pete Lasko wrote:
> >
> >> Anyone know what might cause Command-Enter to quit working? It just
> stopped one
> >> day quite a while ago and hasn't worked since. Somebody help!
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> textmate mailing list
> >> textmate at lists.macromates.com
> >> http://lists.macromates.com/listinfo/textmate
> >
> >
> > _______________________________________________
> > textmate mailing list
> > textmate at lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
>
>
> ------------------------------
>
> Message: 8
> Date: Wed, 23 Feb 2011 18:11:51 -0800
> From: Will <willthemoor at gmail.com>
> To: TextMate users <textmate at lists.macromates.com>
> Subject: [TxMt] Re: Command-Enter quit working
> Message-ID: <4E460D61-588D-49D5-B26F-A3BE5DD8CF9A at gmail.com>
> Content-Type: text/plain;       charset=us-ascii
>
> In all languages/scopes?
>
>
>
> On Feb 23, 2011, at 4:48 PM, Pete Lasko <petelasko at yahoo.com> wrote:
>
> > What I mean is, when I hold the command key, nothing happens except the
> the little *dunk* sound that means "you can't do that."
> >
> > Previously it would drop down a line (like downarrow) and insert a new
> line.
> >
> >
> >
> > On Feb 23, 2011, at 3:21 PM, Mark Jackson <mrcodewizard at gmail.com>
> wrote:
> >
> >> What do you mean specifically?
> >>
> >> On Feb 23, 2011, at 1:43 PM, Pete Lasko wrote:
> >>
> >>> Anyone know what might cause Command-Enter to quit working? It just
> stopped one
> >>> day quite a while ago and hasn't worked since. Somebody help!
> >>>
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> textmate mailing list
> >>> textmate at lists.macromates.com
> >>> http://lists.macromates.com/listinfo/textmate
> >>
> >>
> >> _______________________________________________
> >> textmate mailing list
> >> textmate at lists.macromates.com
> >> http://lists.macromates.com/listinfo/textmate
> >
> > _______________________________________________
> > textmate mailing list
> > textmate at lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
>
>
> ------------------------------
>
> Message: 9
> Date: Wed, 23 Feb 2011 18:51:06 -0800
> From: Mark Jackson <mrcodewizard at gmail.com>
> To: TextMate users <textmate at lists.macromates.com>
> Subject: [TxMt] Re: Command-Enter quit working
> Message-ID: <5974193E-3140-4E3B-BCF5-A3E7FBCA60D9 at gmail.com>
> Content-Type: text/plain; charset=utf-8
>
> If I understand you correctly; I believe this is where the problem is:
>
> Macros
> and Insert LF      Key Equivalent   ? ?
>
> You can get to this using this shortcut: ^ ? ? K to open up the list of
> keyboard shortcuts (this only shows bundles that are active). Select Source
> in the bundle drop down. Macros in the middle.
>
> I believe this handles that key sequence in all (most?) bundles. If it's
> different then you can modify it in the bundle editor.
>
> if you meant ??, I only have that in Markdown, and it selects part of a
> line (an item, s).
>
> Hope that helps.
>
> mark
>
>
>
> On Feb 23, 2011, at 4:48 PM, Pete Lasko wrote:
>
> > What I mean is, when I hold the command key, nothing happens except the
> the little *dunk* sound that means "you can't do that."
> >
> > Previously it would drop down a line (like downarrow) and insert a new
> line.
>
>
>
> ------------------------------
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
> End of textmate Digest, Vol 33, Issue 18
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20110226/23f1af7b/attachment-0001.html>


More information about the textmate mailing list