Sublime Forum

ST3: ExportHtml

#82

Looks like a couple of my plugins don’t work when they are archived as .sublime-package. This should be fixed for ExportHtml now.

0 Likes

#83

I’m currently using build 3020 and can not seem to override nor access the default settings. Is this an ExportHTML issue or a ST3 package issue? Is the master branch compatible with ST3 now?

0 Likes

#84

Overriding the settings file on 3020 should not be a problem. I know that at work on my Windows machine it is working fine. What platform are you on: windows, mac, linux?

As for accessing the default, I have just pushed a commit that allows for access to default settings via the menu at Preferences->Packages->ExportHtml.

As for branches, none of the main branches support ST3 at this time. I am waiting to see how Package Control sorts all of this out. It is way too much work to make these plugins (especially the complicated ones) support both ST2 and ST3. While possible, it may become pretty fragile, ugly, and troublesome in the future with new features etc. With that said, supporting multiple branches is also going to become tiresome as well, and I have full intentions to kill off support for the ST2 branches no later than the official ST3 release (if not sooner). While I won’t delete ST2 branches, I plan on providing no future work on them either as long as they are stable. They may get moved somewhere else, and the main branch might just become the ST3 branch.

0 Likes

#85

I’m using Windows 7 64bit. I have upgraded to the latest package using Package Control by setting the following in my Packages\User\Package Control.sublime-settings

[code] “repositories”:

	"https://github.com/facelessuser/ExportHtml/tree/ST3"
][/code]

I was able to pull in your latest change (from today), but I still don’t see my menu or any of my settings overriding the defaults.

0 Likes

#86

Yes, I am running Windows 7 64bit at work, and I am having no issues with ExportHtml. It sounds like maybe PackageControl is not getting the correct or latest branch for you maybe. I cannot reproduce your issues at all. Maybe try manually installing ExportHtml instead of PackageControl to verify?

0 Likes

#87

By the way, if anyone has been experiencing in the past transparent colors that didn’t make sense, this has been fixed as of probably a week ago. It should now give true Sublime colors in all instances, let me know if I you have an example that is turning up contrary to this.

0 Likes

#88

It’s working perfectly. Thanks!

0 Likes

#89

Refactored some code and split out things in such a way that other plugins can use the modules. The new filtering module as added a glow filter.

Also, now you can control (depending on the filter) whether the filter is applied to just the foreground or background.

These will be back-ported to ST2 branch when I get some time.

All of these new features are pretty pointless, but I like them anyways :smile:.

0 Likes

#90

Great plugin! I can finally print

0 Likes

#91

Thanks :smile:.

0 Likes

#92

Not works:

Traceback (most recent call last):
  File "ExportHtml in E:\Utilities\Sublime Text\Data\Installed Packages\ExportHtml.sublime-package", line 327, in execute
  File "ExportHtml in E:\Utilities\Sublime Text\Data\Installed Packages\ExportHtml.sublime-package", line 954, in run
  File "ExportHtml in E:\Utilities\Sublime Text\Data\Installed Packages\ExportHtml.sublime-package", line 497, in setup
  File "lib.color_scheme_matcher in E:\Utilities\Sublime Text\Data\Installed Packages\ExportHtml.sublime-package", line 83, in __init__
  File "lib.color_scheme_matcher in E:\Utilities\Sublime Text\Data\Installed Packages\ExportHtml.sublime-package", line 142, in parse_scheme
  File "lib.color_scheme_matcher in E:\Utilities\Sublime Text\Data\Installed Packages\ExportHtml.sublime-package", line 166, in strip_color
  File "lib.rgba in E:\Utilities\Sublime Text\Data\Installed Packages\ExportHtml.sublime-package", line 41, in __init__
  File "lib.rgba in E:\Utilities\Sublime Text\Data\Installed Packages\ExportHtml.sublime-package", line 51, in _split_channels
AssertionError
0 Likes

#93

Without more info, I’m not going to be able to reproduce anything.

If you want me to take a look, you will have to:

  • point me at the color scheme you’re using.
  • post some example code I can copy and paste.
  • tell me which Sublime version you are using.
  • what OS you are on.
  • are you using custom settings, and if so, what are they.
  • which export command you are running.

Stuff like that.

For me it is working. Most times when problems are reported, it is because of sloppy color scheme format. So please provide as much info as you can (preferably in an issue on the GitHub repo).

0 Likes

#94

Ah, that’s due to color scheme, if I enable
“color_scheme”: “Packages/ExportHtml/ColorSchemes/Print-Grayscale.tmTheme”,
then it works.

Thanks

0 Likes

#95

If you point me at the command and color scheme that failed, it is possible I can look into why it failed.

0 Likes

#96

It’s Monokai-customised a lot by myself.

0 Likes

#97

Ahh, well if you post it somewhere I can access it, I can tell you why it fails, and maybe how to fix it.

0 Likes

#98

https://drive.google.com/open?id=0B3YfJ8tEh553R3NMZEZFeFBqY2M

Actually I don’t mind a lot. There are many ways to print, i.e: open in another Text Editor (I don’t mind the color highlighting)

0 Likes

#99

I’ll take a look. I just wanted to check to see what kind of odd formatting it bombs on. It helps me identify similar issues others have, and sometimes it shows me how I can make the colors scheme parser more robust.

0 Likes

#100

New release: 2.7.0.

Now supports .sublime-color-scheme. Eventually it will use the actual API, but it was much quicker to just grab the libraries done in ScopeHunter and keep everything else the same, especially since we are still supporting the old method for the stable releases as well.

As always, let me know if I broke stuff.

0 Likes

#101

ExportHtml 2.8.0

Oct 21, 2017

  • NEW: Add support for per scope selection foreground.
  • FIX: Some general color scheme parsing and tweaking issues.
1 Like