plugin:svgembed
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:svgembed [2021-06-09 17:16] – Restless | plugin:svgembed [2023-12-06 21:25] (current) – [svgEmbed Plugin] Restless | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
- | description: | + | description: |
- | author | + | author |
- | email : restlessmind@gmail.com | + | email : emb@pobox.com |
type : helper, syntax | type : helper, syntax | ||
lastupdate : 2021-06-09 | lastupdate : 2021-06-09 | ||
- | compatible : Hogfather, Greebo | + | compatible : Igor, Hogfather, Greebo, Jack Jackrum |
depends | depends | ||
conflicts | conflicts | ||
Line 19: | Line 19: | ||
screenshot_img : https:// | screenshot_img : https:// | ||
+ | |||
---- | ---- | ||
Line 24: | Line 25: | ||
PHP 7+ and [[https:// | PHP 7+ and [[https:// | ||
+ | |||
+ | ==== Compatibility with Igor release candidates ==== | ||
+ | |||
+ | As of this writing (June 27, 2022), this plugin is compatible with the Igor RC2 release without changes. | ||
===== Installation ===== | ===== Installation ===== | ||
Line 34: | Line 39: | ||
Under the " | Under the " | ||
- | ^ Setting name ^ Description ^ Default value ^ | + | ^ Setting name ^ Description ^ Default value ^ |
- | | | + | | **max_svg_width** |
- | | | + | | **default_width** |
- | | **default_height** | Default fall-through height of an SVG file. | 150 | | + | | **default_height** |
- | | | + | | **default_print** |
See below for discussion about how these values interact with your SVG file for display. | See below for discussion about how these values interact with your SVG file for display. | ||
Line 71: | Line 76: | ||
* [[: | * [[: | ||
- | * [[# | + | * [[# |
* [[# | * [[# | ||
* [[# | * [[# | ||
Line 245: | Line 250: | ||
With this code I get a small button that is dim when normal, slightly grey-pink when hovered, and while it's hovered the JavaScript for this plugin triggers the last set of rules to slightly darken the background of the SVG file to show what would be printed if the button is pressed. | With this code I get a small button that is dim when normal, slightly grey-pink when hovered, and while it's hovered the JavaScript for this plugin triggers the last set of rules to slightly darken the background of the SVG file to show what would be printed if the button is pressed. | ||
+ | |||
+ | ==== Export to PDF with DW2PDF ==== | ||
+ | |||
+ | Export with [[plugin: | ||
+ | |||
+ | Unfortunately, | ||
+ | |||
+ | This may not be in final form. Further testing is needed, but does not affect anything if you are not using DW2PDF. | ||
===== Development ===== | ===== Development ===== | ||
Line 250: | Line 263: | ||
* **2021-06-09** | * **2021-06-09** | ||
- | * Added initial support for [[plugin: | + | * Added initial support for [[plugin: |
* **2020-06-07** | * **2020-06-07** | ||
* Made change to make compatible with Hogfather RC2. | * Made change to make compatible with Hogfather RC2. | ||
Line 267: | Line 280: | ||
* **2019-06-21** | * **2019-06-21** | ||
* Initial release | * Initial release | ||
+ | |||
+ | |||
+ | === Limitations === | ||
+ | |||
+ | SVGZ (compressed SVG) files are not supported because of the way the plugin operates. | ||
=== Known Bugs and Issues === | === Known Bugs and Issues === | ||
- | None. If you find a bug, please [[http:// | + | * Currently, SVG file positioning may be an issue with the DW2PDF integration. |
+ | |||
+ | If you find a bug, please [[https:// | ||
Line 286: | Line 306: | ||
>> < | >> < | ||
>> | >> | ||
- | >> < | + | >> < |
>>> | >>> | ||
- | >>> | + | >>> |
> < | > < | ||
>> < | >> < | ||
Line 294: | Line 314: | ||
>> < | >> < | ||
>> | >> | ||
- | >> | + | >> |
>> | >> | ||
>> < | >> < | ||
>> | >> | ||
- | >> | + | >> |
plugin/svgembed.1623251806.txt.gz · Last modified: 2021-06-09 17:16 by Restless