Does anyone know of a style formatting plugin for TextMate? I'd like an
automated way to configure TextMate for Google Style
<https://code.google.com/p/google-styleguide/>.
--
Cheers,
Andrew Pennebaker
Hi All,
Long time textmate user, but at some point in the last two months I've lost
the ability to compile latex in pdflatex, which causes problems when I try
and run \includegraphics{something.pdf}. (I get a "Cannot determine size of
graphic (No BoundingBox)" error).
I've set default engine to pdflatex in preferences, but the button on the
typesetting page is always "latex", and the .log file starts with:
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded
format=latex 2014.5.25) 26 FEB 2015 23:38
(note the preloaded format is latex, not pdflatex).
If I go to preferences > Bundles it shows the latex bundle was updated five
days ago.
Everything works fine if I compile in TeXShop.
Suggestions?
I am trying to copy the content of a FileMaker webviewer and paste it into
Textmate so I can save it as an HTML file. The problem is that (OSX 10.8.5)
will only let me paste from my clipboard as (simple text, or rich Text) but
not as HTML.
It does the same thing if I try to copy and paste from Safari, FireFox or
Chrome.
Is there a way to do this in OSX?
Save the key elements of the preferences window state between uses and
TextMate launches:
Window location and size
Pane size
Active pane
Selected item within a pane (where appropriate)
Can anyone think of others?
--
View this message in context: http://textmate.1073791.n5.nabble.com/Feature-Request-Persistent-Preference…
Sent from the textmate users mailing list archive at Nabble.com.
Tao,
You might look into the capabilities of ghostscript. It should be installed with your LaTeX install (MacTeX or equivalent), but if not, you can install it using Homebrew via brew install gs. Specifically, ghostscript should install a utility called ps2pdf that (IIRC) produces clean PDF files from an input EPS.
FYI, the following MWE worked on my system using TextMate 2.0-beta6.8. Note that the order in which graphicx and epstopdf are loaded is important.
\documentclass{article}
\usepackage{graphicx,epstopdf}
\begin{document}
A sample figure:
\begin{figure}[h]
\centering
\includegraphics[width=.9\textwidth]{Figures/sample.eps}
\caption{caption}
\label{fig:sample}
\end{figure}
\end{document}
–
Dustin Wheeler
mskblackbelt(a)me.com
On February 18, 2015 at 07:00:10, textmate-request(a)lists.macromates.com (textmate-request(a)lists.macromates.com) wrote:
Question about converting eps files to pdf files on the
fly. (Tao Zha)
Hi:
The latest TextMate ( version 2.0-beta.6.8) no longer convert eps files to pdf files automatically when I use pdflatex. I got the error message like:
------------------------
Document Class: amsart 2009/07/02 v2.20.1
!!! Error: Writing to gs failed, signal 5
Latex Error: ./tableindustry.tex:199 Package pdftex.def Error: File `Figures/outfigpaper_prices-eps-converted-to.pdf' not found.
• Including: Figures/outfigpaper_ratios2GDP-eps-converted-to.pdf
————————————
In my preamble of my Latex file, I specify
\usepackage{epstopdf}
The previous TextMate version works for me by automatically creating the file "outfigpaper_ratios2GDP-eps-converted-to.pdf", but the latest version gives me the above error message.
Can anyone help me?
Thank you very much,
Tao Zha
Hi all,
Are there any plans to add code fold guides to TextMate 2 (as shown here:
http://darwinsantos.com/sublime_screen.png)?
I know a workaround to get a similar effect is to use "Show Invisible
Characters". Though the problem with this is that a lot of files written by
others lack proper tab indentation.
Any other workarounds to get a similar effect?
Many thanks,
S.P.
When is it expected that TextMate 2 will untangle from TextMate 1 in the
Application Support folder? Right now we have the Avian folder along with
the TextMate folder and as best I can tell TextMate 2 uses some things from
both folders. That's confusing and messy.
Is there anyone left using TextMate 1 *and* TextMate 2?
Bob
--
View this message in context: http://textmate.1073791.n5.nabble.com/Consolidation-of-TextMate-Application…
Sent from the textmate users mailing list archive at Nabble.com.
Hi there,
I am having some serious problem with Textmate 2 in Mac Yosemite. I am typing my thesis in Latex. All of a sudden Textmate 2 stopped showing any error for undefined commands. Let me give you an example, lets say I need to write $\alpha$, but mistakenly I typed $\apha$ in the .tex file. When I compile it with Textmate, it does not show any error as in `Undefined Control Sequence’, it says 0 Error in the log window and just skips the part of $\apha$ in the pdf. This is a very serious problem for me as I am typing my thesis I am likely to make many such typing mistakes and if these goes undetected in the compilation then that’s a huge problem for me! Could you please tell me how to solve this problem? This thing didn’t happen before, I have been using Textmate 2 in Yosemite for around 6 moths now without any problem until today. Following are the sample codes I used to recreate the problem:
\documentclass[12pt]{amsart}
\usepackage{amssymb, amsmath}
\date{}
\begin{document}
\title{Error Testing}
\maketitle
I want to write $\alpha$ but mistakenly if I write $\apha$ and complie it with Textmate $2$, on the log window it does not show any error as `Undefined control sequence' and on the PDF it just skips the part where it has $\apha$.
$\slpha$ $\alphabeta$
\end{document}
Thanks,
Omprokash Das
Hello,
I was using Textmate 2.0 beta 6.8, and suddenly, I received this error when
I invoked latex tidy:
Can't locate YAML/Tiny.pm in @INC (you may need to install the YAML::Tiny
module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level
/Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level
/Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2
/System/Library/Perl/5.18/darwin-thread-multi-2level
/System/Library/Perl/5.18
/System/Library/Perl/Extras/5.18/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.18 .) at /usr/texbin/latexindent line 20.
BEGIN failed--compilation aborted at /usr/texbin/latexindent line 20.
I use tidy often, and it usually works. I am sure I used it earlier today
without incident.
Further, I also suddenly received the error "Command returned status code
1." for Typeset and view (PDF) when I compiled a latex file. The file uses
the mtpro2 fonts, which, when disabled, allowed the file to compile again,
but this is the first time this has happened. I did compile the file with
the fonts enabled earlier today.
Thank you for any help.
Best wishes,
Anthony Pulido
Are there plans to make TextMate’s “chrome” (file pane, tabs, etc.) theme-able? I’d like the fonts in the file pane to be smaller and the background to be darker.
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I’m new to TextMate 2 grammar definitions and am trying to add a Markdown regex to identify a Markdown fenced code block like this one:
```
Vagrant.configure("2") do |config|
config.vm.box = "scotch/box"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.hostname = "scotchbox"
config.vm.synced_folder ".", "/var/www", :mount_options => ["dmode=777", "fmode=666"]
end
```
I built this regex:
{ name = 'markup.raw.block.markdown';
begin = '(^|\G)([`]{3})';
end = '(^|\G)(^[`]{3})';
},
Which hits the starting ``` but misses the ending one. Probably because it thinks the second one is the start of a new code block rather than the end of the last one.
TextMate tangles me up some because it looks at just one line at a time for regex matches. Looked at it that way, each of the ```s is exactly the same!
What would the proper regex be?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I have Panic Sans (nearly the same as Menlo) picked as my display font. Everything in the editor uses that font. Except markup.raw.block.markdown!
I didn’t do it, or at least I don’t know that I did. What else in my bundles, configuration, or defaults could be doing that?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I’d like a file menu command to revert a file to its previously saved state, discarding all current changes.
Or is that already somewhere that I missed?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I have a custom Markdown grammar that I inject into the official Markdown grammar with an injection selector of L:text.html.markdown and it works fine. That custom grammar defines the starting content of a markdown file between -{3} and -{3} as YAML.
I have a custom YAML grammar that I inject into the official YAML grammar with an injection selector of L:source.yaml and it also works fine. That custom grammar defines runs of entity.name.value.yaml.
But my custom YAML injection does not work in Markdown. I wanted my injected custom YAML to be injected into Markdown, but it’s not. I guess injecting into YAML is not picked up when YAML is injected into Markdown. :(
Is that how it is expected to work?
Is there another way to get injections to work on top of injections like this:
Custom YAML -> YAML -> Markdown
Or do I have to fork the YAML grammar?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
My .tm_properties file has this line:
excludeDirectories = "{$excludeDirectories,assets,bin,images,logs,node_modules,cache}”
and it works. Too well.
Not only does it exclude projectroot/images (which is what I wanted), but it excludes projectroot/user/pages/images, too.
How do I restrict excludeDirectories to only a top level folder?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I have a .tm_properties file in the root of my project folder that contains these lines:
excludeInFolderSearch = "{$excludeInFolderSearch,assets,bin,cache,images,logs,node_modules, config.codekit, composer.lock}"
excludeInFileChooser = "{$exclude,$excludeInFolderSearch}”
That doesn’t hide the folders logs, cache, etc. from the file pane.
Do I have the syntax wrong?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I have ~/Library/Application Support/TextMate synced between two computers
via Dropbox (Mackup). Today, when I launched 2.0-beta 6.8 for the first
time, com.macromates.TextMate.preview segfaults, and does so for every
subsequent launch.
Console shows this prior to the crash:
TextMate[11231]: CoreData could not fulfill a fault for '0xff880002b
<x-coredata://47E84A6D-2744-440D-ABA2-CE0276F6DD6C/PasteboardEntry/p16354>'
When I remove Library/Application Support/TextMate/ClipboardHistory.db*, it
can start again.
-MinRK
I use the app Oyster on Mac to edit and debug regexs. It works nicely, but doesn’t properly predict what TextMate will do with a regex. Something that works in Oyster, does not in TextMate.
Has anyone using Mac found a regex editor that predicts TextMate?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com <http://www.bobrockefeller.com/>
I’m attempting to match the leading - characters in a Markdown list such as this:
---
What were the key things that drove me to make a switch?
- No Database -- you
- Tremendous Support -- the
- Sane Folder Structure -- everything
- Rapid Development -- there
- Blog Post Folders -- granted
- Asset Pipeline -- Grav
- Twig — yes
—
The regex that isn’t working looks like this:
{ name = 'text.html.markdown.list';
match = '(?<=\n)-(?= )|(?<!.)-(?= )';
},
What did I get wrong?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com <http://www.bobrockefeller.com/>
I just came across this because I have script called 'crypt'.
The Avian bundle has command with a scope selector
'attr.rev-path.crypt' which seems to trigger on any file called
'crypt' and prompts me to enter a password so that the file can be
encrypted.
I can easily disable this, but was just curious as to why it is there
in the first place.
Now we are in beta phase, I’ve stumbled a couple of times recently having multiple cursors and having commands fail, as this is not supported yet.
Not sure if this is tricky or not to enable.. I could see it could be, if a command does things that step on what the other “copies” are trying to do. Perhaps a “multiple-selection safe” button in the snippet or command to enable cases where the author thinks it should be as straight-forward as typing into a multiple selection (like, for instance, tag completion) would get this feature off the ground?
t
Is there any documentation of changes needed to convert 1.5 bundles to work with 2.0? I dragged the 1.5 bundle to TextMate 2 and it asks if I want to install it. Click OK and nothing seems to happen. The bundle is not installed and no errors on the screen or in the log.
Thanks,
John DeSoi, Ph.D.