User:Eric Martz/Sandbox 17: Difference between revisions
Eric Martz (talk | contribs) No edit summary |
Eric Martz (talk | contribs) No edit summary |
||
Line 63: | Line 63: | ||
2020-12-21: | 2020-12-21: | ||
7. <scene name='87/870563/2020_12_21_retry_4_isosurfaces/1'>Re-try of the 4-isosurface PNGJ</scene> (Image:6zgi-membrane-proximal-cavity-jmol-cr2.5.pngj). | 7. <scene name='87/870563/2020_12_21_retry_4_isosurfaces/1'>Re-try of the 4-isosurface PNGJ</scene> (Image:6zgi-membrane-proximal-cavity-jmol-cr2.5.pngj). WORKS. | ||
8. <scene name='87/870563/2020_12_21_retry_4_isosurfaces/2'>Same scene as 7 with caption edited to include colored text</scene>. | 8. <scene name='87/870563/2020_12_21_retry_4_isosurfaces/2'>Same scene as 7 with caption edited to include colored text</scene>. WORKS WITH COLORED CAPTION. | ||
9. <scene name='87/870563/2020_12_21_retry_4_isosurfaces/3'>Same as 8 but with yellow caption text done as a style span</scene>. DOES NOT WORK. | 9. <scene name='87/870563/2020_12_21_retry_4_isosurfaces/3'>Same as 8 but with yellow caption text done as a style span</scene>. DOES NOT WORK. | ||
Line 71: | Line 71: | ||
10. <scene name='87/870563/2020_12_21_retry_4_isosurfaces/4'>Same as 9 but with non-breaking space codes removed</scene>. STILL DOES NOT WORK. Evidently style spans are not supported in captions. | 10. <scene name='87/870563/2020_12_21_retry_4_isosurfaces/4'>Same as 9 but with non-breaking space codes removed</scene>. STILL DOES NOT WORK. Evidently style spans are not supported in captions. | ||
11. <scene name='87/870563/2020_12_21_retry_4_isosurfaces/5'>Yellow background text changed to a class span</scene>. | 11. <scene name='87/870563/2020_12_21_retry_4_isosurfaces/5'>Yellow background text changed to a class span</scene>. WORKS. | ||
</StructureSection> | </StructureSection> |
Revision as of 01:04, 22 December 2020
PNGJ scene and caption testsPNGJ scene and caption tests
This page created 2020/12/16 after Jaim made changes to enable caption editing.
2020-12-17:
Scenes 4 and 5 use Image:6zgi-membrane-proximal-cavity-jmol-cr2.5.pngj.
2020-12-19:
I have not been able to devise a method to color text in the caption. Anything with < or > creates an XML error (page cannot be saved). Using e.g. < can be saved, but confuses JSmol which expects a new command after the ';'. Proteopedia's wiki lacks Template:Font_color: red text?. 6. I tried an indirect method to color caption text. This page saves in Proteopedia, and the JSmol variable captext prints correctly. I can't tell if my assignment to the Javascript variable captext is working. The caption does not display. There are no JSmol errors. There are Javascript warnings, but not errors.
2020-12-21: 7. (Image:6zgi-membrane-proximal-cavity-jmol-cr2.5.pngj). WORKS. 8. . WORKS WITH COLORED CAPTION. 9. . DOES NOT WORK. 10. . STILL DOES NOT WORK. Evidently style spans are not supported in captions. 11. . WORKS.
|
|