head 1.74; access; symbols; locks; strict; comment @# @; 1.74 date 2005.07.20.19.06.26; author cworth; state Exp; branches; next 1.73; commitid 74d242dea0ae4567; 1.73 date 2005.07.12.16.12.37; author cworth; state Exp; branches; next 1.72; commitid d5542d3ebf44567; 1.72 date 2005.07.12.04.40.33; author cworth; state Exp; branches; next 1.71; commitid 700242d349c04567; 1.71 date 2005.05.27.06.53.41; author keithp; state Exp; branches; next 1.70; commitid 1b6d4296c3f24567; 1.70 date 2005.04.26.18.48.10; author cworth; state Exp; branches; next 1.69; commitid 8ce426e8ce84567; 1.69 date 2005.04.26.18.47.14; author cworth; state Exp; branches; next 1.68; commitid 85d426e8caf4567; 1.68 date 2005.04.21.12.35.53; author cworth; state Exp; branches; next 1.67; commitid 536d42679e284567; 1.67 date 2005.04.20.02.53.40; author keithp; state Exp; branches; next 1.66; 1.66 date 2005.04.18.06.28.27; author cworth; state Exp; branches; next 1.65; 1.65 date 2005.04.18.05.34.42; author cworth; state Exp; branches; next 1.64; 1.64 date 2005.04.18.00.07.08; author cworth; state Exp; branches; next 1.63; 1.63 date 2005.02.15.19.48.59; author krh; state Exp; branches; next 1.62; 1.62 date 2005.02.13.15.48.03; author krh; state Exp; branches; next 1.61; 1.61 date 2005.02.13.04.00.46; author cworth; state Exp; branches; next 1.60; 1.60 date 2005.02.13.03.42.34; author cworth; state Exp; branches; next 1.59; 1.59 date 2005.02.13.03.41.48; author cworth; state Exp; branches; next 1.58; 1.58 date 2005.02.12.21.45.23; author cworth; state Exp; branches; next 1.57; 1.57 date 2005.02.12.18.21.18; author cworth; state Exp; branches; next 1.56; 1.56 date 2005.02.11.20.00.31; author krh; state Exp; branches; next 1.55; 1.55 date 2005.02.10.22.25.26; author cworth; state Exp; branches; next 1.54; 1.54 date 2005.02.10.21.39.16; author cworth; state Exp; branches; next 1.53; 1.53 date 2005.02.04.20.50.21; author cworth; state Exp; branches; next 1.52; 1.52 date 2005.02.03.17.07.04; author cworth; state Exp; branches; next 1.51; 1.51 date 2005.02.02.22.29.16; author cworth; state Exp; branches; next 1.50; 1.50 date 2005.02.02.20.14.56; author cworth; state Exp; branches; next 1.49; 1.49 date 2005.02.02.20.07.24; author cworth; state Exp; branches; next 1.48; 1.48 date 2005.02.02.19.43.01; author cworth; state Exp; branches; next 1.47; 1.47 date 2005.02.02.16.59.37; author cworth; state Exp; branches; next 1.46; 1.46 date 2005.02.02.16.21.43; author cworth; state Exp; branches; next 1.45; 1.45 date 2005.02.02.16.17.29; author cworth; state Exp; branches; next 1.44; 1.44 date 2005.02.02.15.05.33; author cworth; state Exp; branches; next 1.43; 1.43 date 2005.02.02.14.44.14; author cworth; state Exp; branches; next 1.42; 1.42 date 2005.02.02.12.19.18; author cworth; state Exp; branches; next 1.41; 1.41 date 2005.02.01.23.12.24; author cworth; state Exp; branches; next 1.40; 1.40 date 2005.02.01.23.01.00; author cworth; state Exp; branches; next 1.39; 1.39 date 2005.02.01.22.22.22; author cworth; state Exp; branches; next 1.38; 1.38 date 2005.02.01.21.57.04; author cworth; state Exp; branches; next 1.37; 1.37 date 2005.02.01.16.58.29; author cworth; state Exp; branches; next 1.36; 1.36 date 2005.02.01.16.53.53; author cworth; state Exp; branches; next 1.35; 1.35 date 2005.02.01.16.52.09; author cworth; state Exp; branches; next 1.34; 1.34 date 2005.02.01.04.55.21; author cworth; state Exp; branches; next 1.33; 1.33 date 2005.02.01.04.47.49; author rworth; state Exp; branches; next 1.32; 1.32 date 2005.02.01.03.36.24; author rworth; state Exp; branches; next 1.31; 1.31 date 2005.02.01.03.26.05; author cworth; state Exp; branches; next 1.30; 1.30 date 2005.02.01.03.22.53; author rworth; state Exp; branches; next 1.29; 1.29 date 2005.02.01.03.16.21; author cworth; state Exp; branches; next 1.28; 1.28 date 2005.02.01.03.04.23; author cworth; state Exp; branches; next 1.27; 1.27 date 2005.02.01.03.01.40; author cworth; state Exp; branches; next 1.26; 1.26 date 2005.01.31.22.30.46; author cworth; state Exp; branches; next 1.25; 1.25 date 2005.01.31.21.43.21; author cworth; state Exp; branches; next 1.24; 1.24 date 2005.01.31.21.29.58; author cworth; state Exp; branches; next 1.23; 1.23 date 2005.01.31.21.26.12; author cworth; state Exp; branches; next 1.22; 1.22 date 2005.01.31.19.15.42; author cworth; state Exp; branches; next 1.21; 1.21 date 2005.01.31.19.14.39; author cworth; state Exp; branches; next 1.20; 1.20 date 2005.01.31.19.12.55; author cworth; state Exp; branches; next 1.19; 1.19 date 2005.01.31.12.15.45; author rworth; state Exp; branches; next 1.18; 1.18 date 2005.01.30.14.22.12; author rworth; state Exp; branches; next 1.17; 1.17 date 2005.01.29.22.21.02; author rworth; state Exp; branches; next 1.16; 1.16 date 2005.01.29.12.20.19; author cworth; state Exp; branches; next 1.15; 1.15 date 2005.01.29.11.58.24; author cworth; state Exp; branches; next 1.14; 1.14 date 2005.01.28.21.48.23; author cworth; state Exp; branches; next 1.13; 1.13 date 2005.01.28.21.41.59; author cworth; state Exp; branches; next 1.12; 1.12 date 2005.01.28.20.14.17; author cworth; state Exp; branches; next 1.11; 1.11 date 2005.01.28.19.58.19; author cworth; state Exp; branches; next 1.10; 1.10 date 2005.01.28.15.32.07; author cworth; state Exp; branches; next 1.9; 1.9 date 2005.01.28.12.10.01; author rworth; state Exp; branches; next 1.8; 1.8 date 2005.01.28.01.09.38; author rworth; state Exp; branches; next 1.7; 1.7 date 2005.01.27.23.01.24; author cworth; state Exp; branches; next 1.6; 1.6 date 2005.01.27.22.28.21; author cworth; state Exp; branches; next 1.5; 1.5 date 2005.01.27.21.42.47; author cworth; state Exp; branches; next 1.4; 1.4 date 2005.01.27.20.22.53; author cworth; state Exp; branches; next 1.3; 1.3 date 2005.01.26.15.41.05; author cworth; state Exp; branches; next 1.2; 1.2 date 2005.01.26.15.06.35; author cworth; state Exp; branches; next 1.1; 1.1 date 2005.01.26.13.45.09; author rworth; state Exp; branches; next ; desc @@ 1.74 log @ * src/svgslides-4suite: Fix so that slide titles and content may contain utf-8 characters without crashing python. Turn off the override of the transform attribute when copying a element from input to output. * example/example-left-right.svg: Add missing file. @ text @2005-07-20 Carl Worth * src/svgslides-4suite: Fix so that slide titles and content may contain utf-8 characters without crashing python. Turn off the override of the transform attribute when copying a element from input to output. * example/example-left-right.svg: Add missing file. 2005-07-12 Carl Worth * src/svgslides-4suite: Add a hack to allow titles to contain utf-8 characters. * test/test.xml: Add a slide to test utf-8 characters in title and body. 2005-07-11 Carl Worth * src/svgslides-4suite: Add a nasty hack which provides a hash table to map nodes to NodeAttribute objects so that we can annotate new properties with set_mapped_attr and get_mapped_attr. We used to just use assignment such as node.attr = value, but that doesn't work with th C implementation of Domlette, and the python implementation has gone away upstream. * test/test.xml: Pulled the img tag outside the outside the ul tag, since otherwise it gets placed incorrectly. This might likely be a regression, but svgslides has never offered great stability... 2005-05-26 Keith Packard * src/svgslides-output.c: (svgslides_document_output_pdf): Update to new API. Set fixed margin of 1/2". Scale each slide to fit within the margin while preserving the aspect ratio. 2005-04-21 Carl Worth * example/example-inverse.svg: * example/example-title.svg: * example/example.svg: Add URL and presentation title to theme. * example/example.xml: Add URL. Add slide to demonstrate alignment. * src/svgslides-4suite: Add support for a slide-number variable. Add support for left/center/right alignment of list items. Add support for spitting out an SVG group tag. 2005-04-21 Carl Worth * src/svgslides-4suite (transform_li): Remove errant print. 2005-04-20 Keith Packard * src/svgslides-4suite: Add support for user-defined bullets 2005-04-18 Carl Worth * example/Makefile: * example/default.svg: * example/example-inverse.svg: * example/example-title.svg: * example/example.svg: * example/example.xml: Rename example stuff from test to example. Use new theme-variation.svg naming for themes. 2005-04-18 Carl Worth * test/test.xml: Fix missing closing tag. * configure.in: * src/Makefile.am: Install an svgslides symlink pointing to svgslides-4suite. * example/.cvsignore: Ignore HTML output files. * test/test.xml: * example/test.xml: Add title attribute to top slides element, which appears to be required for the HTML output stuff. * src/.cvsignore: Ignore svgslides-output binary. * src/svgslides-xslt: New file (was previously named svgslides). 2005-04-18 Carl Worth * src/svgslides-output.c (svgslides_document_output_pdf): Eliminate unused variable data. * src/svgslides-4suite (title): Generate HTML output as well. 2005-02-15 Kristian Høgsberg * src/svgslides-output.c (svgslides_document_output_pdf): Set DPI to 300 for PDF output. * configure.in: Remove svgslides-output/Makefile from AC_OUTPUT. 2005-02-13 Kristian Høgsberg * configure.in: Add check for libraries requires by svgslides-output. * src/Makefile.am (pkgdata_DATA): Add svgslides-output. * src/svgslides-output.c: New tool to output svg slides to other formats. Currently only PDF. 2005-02-12 Carl Worth * src/svgslides-4suite (find_height_content_node, transform_li) (transform_content_node): Add new tag, list-item continuation, as a shortcut for
  • . * test/test.xml: test new tag. * src/Makefile.am (bin_SCRIPTS): Install svgslides-4suite. * test/test.xml: Add tests for indentation and img tag. * src/svgslides-4suite (get_attr, get_attr_float): Add some much needed convenience functions for getting attributes (of the right type and with default values). (prev_sib, find_position_content_node) (find_position_content_nodes, find_height_content_node) (find_height_content_nodes, layout_content_nodes): Fix layout of bulleted lists. Now supports multiple levels of indentation. (transform_li): Add bullet to
  • results. (transform_img): Add support for tag. 2005-02-12 Carl Worth * src/svgslides-4suite: Set USE_MINIDOM=1 internally to guarantee we won't get the C implementation of Domlette, and so things will actually work. (do_xpath): Get input file and basename from command-line argument. (line_height, layout_ul, layout_li): Fix layout of single-depth bulleted lists. Other than missing bullets, I think we know have parity with the XSLT-based output. 2005-02-12 Carl Worth * src/svgslides-4suite: New implementation of svgslides in python rather than XSLT. It's nearly as far along as svgslides.xsl, but isn't ready to be the default implementation yet. 2005-02-11 Kristian Høgsberg * autogen.sh: Add aclocal invocation. * Makefile: Remove. 2005-02-10 Carl Worth * example/Makefile: Move examples into a nice self-contained directory with a Makefile. * src/svgslides.in: Add a simple binary named svgslides for running things, (it finds the stylesheet under prefix/share/svgslides). * configure.in: Autotool-ify everything. * svgslides.xsl: Copy font-family attribute from text sample. 2005-02-04 Carl Worth * svgslides.xsl: Fix broken indenting of list items, (so they won't appear flush-left anymore). 2005-02-03 Carl Worth * svgslides-index.rnc: Add new schema for index files. * svgslides.xsl: Add support to generate an XML index file which captures the filename and title of each slide. This is intended to work with Kristian Høgsberg's recent addition of support for svgslides to evince. 2005-02-02 Carl Worth * README: Add a big README. It's got good coverage in some parts, (template generation), and no coverage in others (dependencies, installing, actually running the thing). The big text portions should probably be broken out into separate documentation files. * svgslides.rnc: * default.svg: * bigblue.svg: * svgslides.xsl: * test.xml: Change everywhere the namespace identifier for svgslides from http://www.svgslides.org/2005/svgslides to http://www.svgslides.org/svgslides0.1 . I greatly prefer this style over the W3C's (which was the model for the old identifier), since it doesn't have a confusing year in it, and it directly contains the version. * svgslides.xsl: Add a fairly lame bullet. It's just a black dot, and it's not positioned all that well. Need to fix it so the theme designer can provide her own. * default.svg: Separate content from title just a bit. * test.xml: Add example for referencing an SVG image. * svgslides.xsl: Pass region-width down as a param. Add support for a new element in the content. It currently accepts attributes of x and y (in [0..1] range normalized to the region) and x-align="left|center|right" and y-align="top|center|bottom". * default.svg: Increase default font sizes. 2005-02-02 Carl Worth * svgslides.xsl: Fix text positioning of
  • to count preceeding siblings rather than position() which wasn't giving the desired result. Consider font-size when positioning so the intial baseline doesn't make text extent above the theme's content region. * test.xml: Remove unused xinclude namespace declaration. Add a bit of whitespace to neaten things up. * test.xml: Update to test and demonstrate theme inheritance and selection. * svgslides.xsl: Allow theme inheritance with a bit of XPath voodoo. Remove 'default' value for theme-id param as it is currently of no effect. * default.svg: Add fill attribute to text sample which is currently required by the theme support, (would be better to support the inheritance and default attribute values of SVG). * svgslides.xsl: Use XSLT document function to find the SVG theme file (currently only looks in the current directory, but could be easily extended). This means that XInclude is no longer necessary, and the templates section of the content can be dropped comepletely. * svgslides.xsl: Rename select-theme to apply-theme. Fix default value for theme-id to actually be a string, (though default theme support is still broken). Pick up font fill color from the theme. * test.xml: Track rename of template to theme. * svgslides.xsl: Rename template to theme. This avoids the longstanding confusion of XSLT template vs. SVG slide templates. It also provides a separate notion of artwork in a theme vs. other sorts of slide templates such as layouts. 2005-02-01 Carl Worth * svgslides.xsl: Add very simple
  • text positioning, (which will probably only work for a single, un-nested
      ). But at least text.xml is full viewable in the output, (still no bullets). * svgslides.xsl: Make the code for setting group region attributes much more readable by using documented variables and the magic {} attribute style, (instead of xsl:attribute elements). * svgslides.xsl: Transform to . Within , copy font-size up from the first text element, and transform up from the first rect. * svgslides.xsl: Add a smattering of whitespace to help indicate logical separation, (though with so little syntax, there's not much to be done here). * default.svg: Rewrite region group to more likely match what we'll see from non-hand-generated templates, (ie. no attributes on group). * test-template.svg: * test-template1.svg: * test-template2.svg: Remove currently unused templates. * svgslides.xsl: Small implementation change to ss:varaiable support. Now prefers xsl:copy over literal result element, and xsl:apply-templates over xsl:copy-of. This is both more consistent with our global svg:* implementation, and more flexible if we ever want to do other attribute transformation. 2005-01-31 Carl Worth * default.svg: Use whitespace to separate logically distinct portions. * svgslides.xsl: Drop unused NewLine variable. 2005-01-31 Richard Worth * default.svg: Created very simplified template (by hand) for test purposes, including 2 new element: title, and footer. * test.xml: Added two attributes to test new text substitution template - title, and footer. * svgslides.xsl: Added support for arbitrarily named text- subtition through 'variables' between svg template and content file. in the content file and Place Slide Title Here in the template generates Slide Title with all the text properties preserved. This is simple (but flexible) text substitution. 2005-01-31 Richard Worth * svgslides.xsl: More clean-up of old text-y garbage. 2005-01-31 Carl Worth * test.xml: Drop font-size and line-height. We want these to come from the SVG template, not the slide content. 2005-01-31 Richard Worth * svgslides.xsl: Removed all the old template functions (ul, li, text-y, add, multiply, etc.) to make it easier to start work based on the new svg template region model. 2005-01-31 Carl Worth * svgslides.xsl: Add crude support for a magic title region in the template, (no positioning of the text yet). * test.xml: Move title out of a region and into a simple attribute in the slide element. * svgslides.xsl: Use simpler expression to find the current slide content belonging to a region, (earlier version wasn't fully qualified). * svgslides.xsl: Be consistent about always using a space before the '/' of a self-closing tag. Initial version that works with multiple regions, (though text_y is now completely broken): * svgslides.xsl: Fix bug in expression for selecting all nodes under the named region. * test.xml: Strip down to a more minimal test, (we can build it out more later). Change title to "test" rather than "cairo". Switch to default.svg as the template and add use of two regions within one slide, which now seems to work somewhat. This is currently using an entire region for the title --- we will want to fix that to use an attribute instead. * default.svg: Add another template, this time experimenting to see how hard it is to work with inkscape output, (I manually copied the x/y values from the rect up into the group). Oh, whoops. That means the template will not give the right results anymore if directly viewed. Maybe we should just document that each region must include a rect and we can grab x/y from there while transforming. Also manually copied font-size up into the group. 2005-01-31 Carl Worth * svgslides.xsl: Add support for multiple regions in the template, (still untested except for ss:region="default"). * test-template1.svg: * test-template2.svg: Change default ss:region attribute from "body" to "default". * svgslides.xsl: Change all identfiers to prefer '-' over '_' as a separator. Remove unused variables slide_width, slide_height, and current_slide. * test-template1.svg: * test-template2.svg: Add ss:region attributes to the element that represents the body. * svgslides.xsl: Rewrite to output the template svg content with substitution of transformed slide content for any element in the template that has an ss:region attribute. There is not yet support for multiple regions in the template to be handled in different ways. * test.xml: Remove extraneous width/height and font-size attributes to reduce clutter. Add newlines between each slide. Kill another line-height. 2005-01-31 Richard Worth * svgslides.xsl: Copied variables from original version. * Makefile: Add simple Makefile. 2005-01-29 Richard Worth * svgslides.xsl: Include bullet from template (if exists) inside , otherwise def a default bullet (circle). For now, the bullet is sized at 1/font-size. In other words, when placed, it will be scaled by the font-size, so it matches. This would be a pain for a template designer, so once we support default font- sizing in a template we can fix it so the provided bullet is assumed to be in relation to this size, and can be scaled if desired when the font-size changes. * test-template2.svg: Created square bullet. 2005-01-29 Richard Worth * test-template.svg: Changed defs id. * svgslides.xsl: Fixed the x-positioning, missing ss: qualifiers on some ancestor::ul's. Output selected templated based on slide/@@template, wrapped in . For now I wrote a named to perform this because I can't remember how to get back to the context from within an XPath expression. But this works, especially since templates may require more processing in the future. * test.xml: Use XInclude to include template svg file inside templates/template element. Eventually we may want to use a second pass of xslt to do this automatically, basing it off the template/@@href. * test-template1.svg: Add modified test template * test-template2.svg: Add modified test template 2005-01-29 Carl Worth * test-template.svg: Add test-template.svg, (snagged it from ~rworth, since I think Richard forgot to add it). Add width/height to the top-level svg element. Add an example to show how I'm thinking we'll do the substitution of slide content. 2005-01-28 Carl Worth * svgslides.xsl: Add Richard's original templates for g, div, break-nl, multiply, add, and count-nl. Fix indentation. Attempt to fix the namespaces, (probably still botched since none of these have been tested). * svgslides.xsl: Incorporate Richard's original templates for ul, li, and text_y. Add ss: and svg: prefixes as necessary. Add outer element around each slide with a transform by negative text_y in the Y direction. This is a crude workaround for the bug in text_y that would otherwise make each successive slide appear further down than the previous one. * svgslides.xsl: Switch over to generate SVG output. Nothing interesting yet, (just all the text from any
        all overlapping in one row near the top of the slide). But it is real SVG now, (and validates). * svgslides.xsl: Fix indentation. * svgslides.xsl: Rename svgslides-split.xsl to svgslides.xsl. 2005-01-28 Richard Worth * svgslides-split.xsl: Specify default namespace in output of root element. Output copy of in each split. 2005-01-27 Richard Worth * test.xml: * svgslides.rnc: * svgslides-split.xsl: Now supports root element, as well as preliminary structure. 2005-01-27 Carl Worth * test.xml: Add test file which now has the newly-required xmlns attribute. * svgslides.rnc: Specify a default namespace, (under svgslides.org). We'll probably want to use finer versioning than just a year though... * svgslides-split.xsl (xmlns): Now looks for elements within the 2005/svgslides namespace. * svgslides.rnc: Add RelaxNG-based svgslides schema, (autogenerated with "trang cairo.xml svgslides.rnc"). 2005-01-27 Carl Worth * svgslides-split.xsl: Change indentation two-character indent, (nxml-mode default). 2005-01-26 Carl Worth * svgslides-split.xsl: Get intermediate filename base from title attribute of top-level slides element in source. Use 3-digit, 0-padded integers in intermediate filenames. 2005-01-26 Richard D. Worth * svgslides-split.xsl: added. * ChangeLog: added. @ 1.73 log @ * src/svgslides-4suite: Add a hack to allow titles to contain utf-8 characters. * test/test.xml: Add a slide to test utf-8 characters in title and body. @ text @d1 9 @ 1.72 log @ * src/svgslides-4suite: Add a nasty hack which provides a hash table to map nodes to NodeAttribute objects so that we can annotate new properties with set_mapped_attr and get_mapped_attr. We used to just use assignment such as node.attr = value, but that doesn't work with th C implementation of Domlette, and the python implementation has gone away upstream. * test/test.xml: Pulled the img tag outside the outside the ul tag, since otherwise it gets placed incorrectly. This might likely be a regression, but svgslides has never offered great stability... @ text @d1 8 @ 1.71 log @2005-05-26 Keith Packard * src/svgslides-output.c: (svgslides_document_output_pdf): Update to new API. Set fixed margin of 1/2". Scale each slide to fit within the margin while preserving the aspect ratio. @ text @d1 14 @ 1.70 log @ * example/example-inverse.svg: * example/example-title.svg: * example/example.svg: Add URL and presentation title to theme. * example/example.xml: Add URL. Add slide to demonstrate alignment. * src/svgslides-4suite: Add support for a slide-number variable. Add support for left/center/right alignment of list items. Add support for spitting out an SVG group tag. @ text @d1 7 @ 1.69 log @ * example/example-inverse.svg: * example/example-title.svg: * example/example.svg: Add URL and presentation title to theme. * example/example.xml: Add URL. Add slide to demonstrate alignment. * src/svgslides-4suite: Add support for a slide-number variable. Add support for left/center/right alignment of list items. Add support for spitting out an SVG group tag. @ text @d10 4 @ 1.68 log @ * src/svgslides-4suite (transform_li): Remove errant print. @ text @d3 9 @ 1.67 log @2005-04-20 Keith Packard * src/svgslides-4suite: Add support for user-defined bullets @ text @d1 4 @ 1.66 log @ * example/Makefile: * example/default.svg: * example/example-inverse.svg: * example/example-title.svg: * example/example.svg: * example/example.xml: Rename example stuff from test to example. Use new theme-variation.svg naming for themes. @ text @d1 5 @ 1.65 log @ * test/test.xml: Fix missing closing tag. * configure.in: * src/Makefile.am: Install an svgslides symlink pointing to svgslides-4suite. * example/.cvsignore: Ignore HTML output files. * test/test.xml: * example/test.xml: Add title attribute to top slides element, which appears to be required for the HTML output stuff. * src/.cvsignore: Ignore svgslides-output binary. * src/svgslides-xslt: New file (was previously named svgslides). @ text @d3 10 @ 1.64 log @ * src/svgslides-output.c (svgslides_document_output_pdf): Eliminate unused variable data. * src/svgslides-4suite (title): Generate HTML output as well. @ text @d3 18 @ 1.63 log @2005-02-15 Kristian Høgsberg * src/svgslides-output.c (svgslides_document_output_pdf): Set DPI to 300 for PDF output. * configure.in: Remove svgslides-output/Makefile from AC_OUTPUT. @ text @d1 7 @ 1.62 log @2005-02-13 Kristian Høgsberg * configure.in: Add check for libraries requires by svgslides-output. * src/Makefile.am (pkgdata_DATA): Add svgslides-output. * src/svgslides-output.c: New tool to output svg slides to other formats. Currently only PDF. @ text @d1 7 @ 1.61 log @ * src/svgslides-4suite (find_height_content_node, transform_li) (transform_content_node): Add new tag, list-item continuation, as a shortcut for
      • . * test/test.xml: test new tag. @ text @d1 9 @ 1.60 log @ * src/Makefile.am (bin_SCRIPTS): Install svgslides-4suite. @ text @d3 6 @ 1.59 log @ * test/test.xml: Add tests for indentation and img tag. * src/svgslides-4suite (get_attr, get_attr_float): Add some much needed convenience functions for getting attributes (of the right type and with default values). (prev_sib, find_position_content_node) (find_position_content_nodes, find_height_content_node) (find_height_content_nodes, layout_content_nodes): Fix layout of bulleted lists. Now supports multiple levels of indentation. (transform_li): Add bullet to
      • results. (transform_img): Add support for tag. @ text @d3 2 @ 1.58 log @ * src/svgslides-4suite: Set USE_MINIDOM=1 internally to guarantee we won't get the C implementation of Domlette, and so things will actually work. (do_xpath): Get input file and basename from command-line argument. (line_height, layout_ul, layout_li): Fix layout of single-depth bulleted lists. Other than missing bullets, I think we know have parity with the XSLT-based output. @ text @d3 14 @ 1.57 log @ * src/svgslides-4suite: New implementation of svgslides in python rather than XSLT. It's nearly as far along as svgslides.xsl, but isn't ready to be the default implementation yet. @ text @d3 11 @ 1.56 log @2005-02-11 Kristian Høgsberg * autogen.sh: Add aclocal invocation. * Makefile: Remove. @ text @d1 6 @ 1.55 log @ * example/Makefile: Move examples into a nice self-contained directory with a Makefile. * src/svgslides.in: Add a simple binary named svgslides for running things, (it finds the stylesheet under prefix/share/svgslides). * configure.in: Autotool-ify everything. @ text @d1 5 @ 1.54 log @ * svgslides.xsl: Copy font-family attribute from text sample. @ text @d3 9 @ 1.53 log @ * svgslides.xsl: Fix broken indenting of list items, (so they won't appear flush-left anymore). @ text @d1 4 @ 1.52 log @ * svgslides-index.rnc: Add new schema for index files. * svgslides.xsl: Add support to generate an XML index file which captures the filename and title of each slide. This is intended to work with Kristian Høgsberg's recent addition of support for svgslides to evince. @ text @d1 5 @ 1.51 log @ * README: Add a big README. It's got good coverage in some parts, (template generation), and no coverage in others (dependencies, installing, actually running the thing). The big text portions should probably be broken out into separate documentation files. @ text @d1 9 @ 1.50 log @ * svgslides.rnc: * default.svg: * bigblue.svg: * svgslides.xsl: * test.xml: Change everywhere the namespace identifier for svgslides from http://www.svgslides.org/2005/svgslides to http://www.svgslides.org/svgslides0.1 . I greatly prefer this style over the W3C's (which was the model for the old identifier), since it doesn't have a confusing year in it, and it directly contains the version. @ text @d3 5 @ 1.49 log @ * svgslides.xsl: Add a fairly lame bullet. It's just a black dot, and it's not positioned all that well. Need to fix it so the theme designer can provide her own. * default.svg: Separate content from title just a bit. @ text @d3 11 @ 1.48 log @ * test.xml: Add example for referencing an SVG image. * svgslides.xsl: Pass region-width down as a param. Add support for a new element in the content. It currently accepts attributes of x and y (in [0..1] range normalized to the region) and x-align="left|center|right" and y-align="top|center|bottom". * default.svg: Increase default font sizes. @ text @d3 6 @ 1.47 log @ * svgslides.xsl: Fix text positioning of
      • to count preceeding siblings rather than position() which wasn't giving the desired result. Consider font-size when positioning so the intial baseline doesn't make text extent above the theme's content region. @ text @d3 12 @ 1.46 log @ * test.xml: Remove unused xinclude namespace declaration. Add a bit of whitespace to neaten things up. @ text @d3 5 @ 1.45 log @ * test.xml: Update to test and demonstrate theme inheritance and selection. * svgslides.xsl: Allow theme inheritance with a bit of XPath voodoo. Remove 'default' value for theme-id param as it is currently of no effect. * default.svg: Add fill attribute to text sample which is currently required by the theme support, (would be better to support the inheritance and default attribute values of SVG). @ text @d3 3 @ 1.44 log @ * svgslides.xsl: Use XSLT document function to find the SVG theme file (currently only looks in the current directory, but could be easily extended). This means that XInclude is no longer necessary, and the templates section of the content can be dropped comepletely. @ text @d3 11 @ 1.43 log @ * svgslides.xsl: Rename select-theme to apply-theme. Fix default value for theme-id to actually be a string, (though default theme support is still broken). Pick up font fill color from the theme. @ text @d3 6 @ 1.42 log @ * test.xml: Track rename of template to theme. * svgslides.xsl: Rename template to theme. This avoids the longstanding confusion of XSLT template vs. SVG slide templates. It also provides a separate notion of artwork in a theme vs. other sorts of slide templates such as layouts. @ text @d3 4 @ 1.41 log @ * svgslides.xsl: Add very simple
      • text positioning, (which will probably only work for a single, un-nested
          ). But at least text.xml is full viewable in the output, (still no bullets). @ text @d1 9 @ 1.40 log @ * svgslides.xsl: Make the code for setting group region attributes much more readable by using documented variables and the magic {} attribute style, (instead of xsl:attribute elements). @ text @d3 4 @ 1.39 log @ * svgslides.xsl: Transform to . Within , copy font-size up from the first text element, and transform up from the first rect. @ text @d3 4 @ 1.38 log @ * svgslides.xsl: Add a smattering of whitespace to help indicate logical separation, (though with so little syntax, there's not much to be done here). @ text @d3 4 @ 1.37 log @ * default.svg: Rewrite region group to more likely match what we'll see from non-hand-generated templates, (ie. no attributes on group). @ text @d3 4 @ 1.36 log @ * test-template.svg: * test-template1.svg: * test-template2.svg: Remove currently unused templates. @ text @d3 4 @ 1.35 log @ * svgslides.xsl: Small implementation change to ss:varaiable support. Now prefers xsl:copy over literal result element, and xsl:apply-templates over xsl:copy-of. This is both more consistent with our global svg:* implementation, and more flexible if we ever want to do other attribute transformation. @ text @d3 4 @ 1.34 log @ * default.svg: Use whitespace to separate logically distinct portions. * svgslides.xsl: Drop unused NewLine variable. @ text @d1 8 @ 1.33 log @2005-01-31 Richard Worth * default.svg: Created very simplified template (by hand) for test purposes, including 2 new element: title, and footer. * test.xml: Added two attributes to test new text substitution template - title, and footer. * svgslides.xsl: Added support for arbitrarily named text- subtition through 'variables' between svg template and content file. in the content file and Place Slide Title Here in the template generates Slide Title with all the text properties preserved. This is simple (but flexible) text substitution. @ text @d1 7 @ 1.32 log @2005-01-31 Richard Worth * svgslides.xsl: More clean-up of old text-y garbage. @ text @d3 17 @ 1.31 log @ * test.xml: Drop font-size and line-height. We want these to come from the SVG template, not the slide content. @ text @d1 4 @ 1.30 log @2005-01-31 Richard Worth * svgslides.xsl: Removed all the old template functions (ul, li, text-y, add, multiply, etc.) to make it easier to start work based on the new svg template region model. @ text @d1 5 @ 1.29 log @ * svgslides.xsl: Add crude support for a magic title region in the template, (no positioning of the text yet). * test.xml: Move title out of a region and into a simple attribute in the slide element. @ text @d1 6 @ 1.28 log @ * svgslides.xsl: Use simpler expression to find the current slide content belonging to a region, (earlier version wasn't fully qualified). @ text @d3 6 @ 1.27 log @ * svgslides.xsl: Be consistent about always using a space before the '/' of a self-closing tag. @ text @d3 4 @ 1.26 log @ Initial version that works with multiple regions, (though text_y is now completely broken): * svgslides.xsl: Fix bug in expression for selecting all nodes under the named region. * test.xml: Strip down to a more minimal test, (we can build it out more later). Change title to "test" rather than "cairo". Switch to default.svg as the template and add use of two regions within one slide, which now seems to work somewhat. This is currently using an entire region for the title --- we will want to fix that to use an attribute instead. * default.svg: Add another template, this time experimenting to see how hard it is to work with inkscape output, (I manually copied the x/y values from the rect up into the group). Oh, whoops. That means the template will not give the right results anymore if directly viewed. Maybe we should just document that each region must include a rect and we can grab x/y from there while transforming. Also manually copied font-size up into the group. @ text @d3 3 @ 1.25 log @ * svgslides.xsl: Add support for multiple regions in the template, (still untested except for ss:region="default"). * test-template1.svg: * test-template2.svg: Change default ss:region attribute from "body" to "default". @ text @d3 24 @ 1.24 log @ * svgslides.xsl: Change all identfiers to prefer '-' over '_' as a separator. Remove unused variables slide_width, slide_height, and current_slide. @ text @d3 7 @ 1.23 log @ * test-template1.svg: * test-template2.svg: Add ss:region attributes to the element that represents the body. * svgslides.xsl: Rewrite to output the template svg content with substitution of transformed slide content for any element in the template that has an ss:region attribute. There is not yet support for multiple regions in the template to be handled in different ways. @ text @d3 4 @ 1.22 log @ Kill another line-height. @ text @d3 11 @ 1.21 log @ Add newlines between each slide. @ text @d6 1 @ 1.20 log @test.xml @ text @d5 1 @ 1.19 log @2005-01-31 Richard Worth * svgslides.xsl: Copied variables from original version. * Makefile: Add simple Makefile. @ text @d1 5 @ 1.18 log @2005-01-29 Richard Worth * svgslides.xsl: Include bullet from template (if exists) inside , otherwise def a default bullet (circle). For now, the bullet is sized at 1/font-size. In other words, when placed, it will be scaled by the font-size, so it matches. This would be a pain for a template designer, so once we support default font- sizing in a template we can fix it so the provided bullet is assumed to be in relation to this size, and can be scaled if desired when the font-size changes. @ text @d1 6 @ 1.17 log @2005-01-29 Richard Worth * test-template.svg: Changed defs id. * svgslides.xsl: Fixed the x-positioning, missing ss: qualifiers on some ancestor::ul's. Output selected templated based on slide/@@template, wrapped in . For now I wrote a named to perform this because I can't remember how to get back to the context from within an XPath expression. But this works, especially since templates may require more processing in the future. * test.xml: Use XInclude to include template svg file inside templates/template element. Eventually we may want to use a second pass of xslt to do this automatically, basing it off the template/@@href. * test-template1.svg: Add modified test template * test-template2.svg: Add modified test template @ text @d1 14 a14 1 2005-01-29 Richard Worth @ 1.16 log @ Add width/height to the top-level svg element. Add an example to show how I'm thinking we'll do the substitution of slide content. @ text @d1 21 @ 1.15 log @ * test-template.svg: Add test-template.svg, (snagged it from ~rworth, since I think Richard forgot to add it). @ text @d5 3 @ 1.14 log @ * svgslides.xsl: Add Richard's original templates for g, div, break-nl, multiply, add, and count-nl. Fix indentation. Attempt to fix the namespaces, (probably still botched since none of these have been tested). @ text @d1 5 @ 1.13 log @ * svgslides.xsl: Incorporate Richard's original templates for ul, li, and text_y. Add ss: and svg: prefixes as necessary. Add outer element around each slide with a transform by negative text_y in the Y direction. This is a crude workaround for the bug in text_y that would otherwise make each successive slide appear further down than the previous one. @ text @d3 5 @ 1.12 log @ * svgslides.xsl: Switch over to generate SVG output. Nothing interesting yet, (just all the text from any
            all overlapping in one row near the top of the slide). But it is real SVG now, (and validates). @ text @d3 7 d14 1 a14 1 @ 1.11 log @Fix indentation @ text @d3 5 @ 1.10 log @ * svgslides.xsl: Rename svgslides-split.xsl to svgslides.xsl. @ text @d3 2 @ 1.9 log @2005-01-28 Richard Worth * svgslides-split.xsl: Specify default namespace in output of root element. Output copy of in each split. @ text @d1 4 @ 1.8 log @2005-01-27 Richard Worth * test.xml: * svgslides.rnc: * svgslides-split.xsl: Now supports root element, as well as preliminary structure. @ text @d1 6 @ 1.7 log @ * test.xml: Add test file which now has the newly-required xmlns attribute. @ text @d1 8 @ 1.6 log @ * svgslides.rnc: Specify a default namespace, (under svgslides.org). We'll probably want to use finer versioning than just a year though... * svgslides-split.xsl (xmlns): Now looks for elements within the 2005/svgslides namespace. @ text @d3 3 @ 1.5 log @ * svgslides.rnc: Add RelaxNG-based svgslides schema, (autogenerated with "trang cairo.xml svgslides.rnc"). @ text @d3 7 @ 1.4 log @ * svgslides-split.xsl: Change indentation two-character indent, (nxml-mode default). @ text @d3 5 @ 1.3 log @ Use 3-digit, 0-padded integers in intermediate filenames. @ text @d1 5 @ 1.2 log @ * svgslides-split.xsl: Get intermediate filename base from title attribute of top-level slides element in source. @ text @d5 1 @ 1.1 log @svgslides-split.xsl: added. ChangeLog: added. @ text @d1 5 @