You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ss...@apache.org on 2025/10/02 09:41:01 UTC

(xmlgraphics-website) branch master updated: Fix batik links

This is an automated email from the ASF dual-hosted git repository.

ssteiner pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/xmlgraphics-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 5ada3030 Fix batik links
5ada3030 is described below

commit 5ada3030be43920f83226d85ebb65ae7500c75fd
Author: Simon Steiner <ss...@apache.org>
AuthorDate: Thu Oct 2 10:40:51 2025 +0100

    Fix batik links
---
 content/batik/index.mdtext               |  2 +-
 content/batik/install.mdtext             |  2 +-
 content/batik/tools/browser.mdtext       | 24 ++++++++++++------------
 content/batik/using/architecture.mdtext  |  2 +-
 content/batik/using/svg-generator.mdtext |  4 ++--
 content/batik/using/swing.mdtext         |  2 +-
 content/index.mdtext                     | 10 +++++-----
 7 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/content/batik/index.mdtext b/content/batik/index.mdtext
index e9fc102d..85d5bd60 100644
--- a/content/batik/index.mdtext
+++ b/content/batik/index.mdtext
@@ -34,7 +34,7 @@ This is mainly a bug fix release
 
 ## What Batik can be used for { #uses}
 
- ![Batik use cases](images/batikUses.jpg "")
+ ![Batik use cases](images/batikUses.jpg)
 
 With Batik, you can manipulate SVG documents anywhere Java is available. You can also use the various [Batik modules](using/index.html) to [generate](using/svg-generator.html), [manipulate](using/dom-api.html) and [transcode](using/transcoder.html) SVG images in your applications or applets.
 
diff --git a/content/batik/install.mdtext b/content/batik/install.mdtext
index be87ccd2..f67632bb 100644
--- a/content/batik/install.mdtext
+++ b/content/batik/install.mdtext
@@ -24,7 +24,7 @@ Conversely, you can remove the `rhino*.jar` of the Batik `lib` directory to remo
 
 The Batik distribution comes with many jar files. Not all of them are needed in every case (although the provided applications tend to use most of them). The following is a diagram showing the dependencies between the various jar files in the Batik binary distribution.
 
-![Batik jar file dependency graph](images/batik-jars-deps-small.svg "")
+![Batik jar file dependency graph](images/batik-jars-deps-small.svg)
 
 All `batik` package references are short for `org.apache.batik`.
 
diff --git a/content/batik/tools/browser.mdtext b/content/batik/tools/browser.mdtext
index de443ee2..72aad1e1 100644
--- a/content/batik/tools/browser.mdtext
+++ b/content/batik/tools/browser.mdtext
@@ -86,7 +86,7 @@ Note that the number of files that can be opened on Windows from the command lin
 
 The following image shows the result of starting the browser, from the binary or source distribution, with the `-font-size 10 samples/batikFX.svg` options.
 
-<div class="figure"> ![Screenshot of Squiggle showing the batikFX.svg sample](images/svgviewerDefaultRegular.png "") </div>
+<div class="figure"> ![Screenshot of Squiggle showing the batikFX.svg sample](images/svgviewerDefaultRegular.png) </div>
 
 # Viewing SVG documents { #viewing}
 
@@ -106,22 +106,22 @@ The browser has several features to view and browse SVG documents:
 ### Opening a local SVG file { #localFile}
 
 In situations where you want to open SVG files locally on the machine where you are running Squiggle, you can use **File→Open File** menu item to open that file, or use the **Ctrl-F** key accelerator. Doing so brings up a file chooser that lets you select the file you want to view.
-<div class="figure"> ![Screenshot of Squiggle showing the 'File→Open' menu and file chooser](images/svgviewerFileOpen.png "") </div>
+<div class="figure"> ![Screenshot of Squiggle showing the 'File→Open' menu and file chooser](images/svgviewerFileOpen.png) </div>
 
 ## Opening an SVG file from the web { #urlFile}
 
 There are many situations where the SVG content you want to view is not local to the machine where Squiggle is running. In that case, you can use the **File→Open Location** menu item, or use the **Ctrl-A** key accelerator to open that page. Doing so brings up a dialog box where you can type in the URL for the file you want to view.
-<div class="figure"> ![Screenshot of Squiggle showing the 'File→Open Location' menu and window](images/svgviewerOpenPage.png "") </div>
+<div class="figure"> ![Screenshot of Squiggle showing the 'File→Open Location' menu and window](images/svgviewerOpenPage.png) </div>
 
 ## Using the location bar text field to view an SVG file { #locationBar}
 
 When you know the URL of the document you want to view, you can enter it directly in the location bar text field at the top of Squiggle, the same way you can enter a URL in an HTML browser.
-<div class="figure"> ![Screenshot of Squiggle showing the location bar](images/svgviewerLocationBar.png "") </div>
+<div class="figure"> ![Screenshot of Squiggle showing the location bar](images/svgviewerLocationBar.png) </div>
 
 ## Browsing SVG files { #browsing}
 
 As with HTML content, it is common to navigate back and forth between SVG files (remember that SVG files contain hyperlinks, just like HTML does) and, as described later in this document, it is possible to [zoom](#zoomInOut) into SVG documents, [pan](#panning) and [rotate](#rotating).
-<div class="figure"> ![Screnshot of Squiggle showing the 'Go' menu](images/svgviewerBrowsing.png "") </div>
+<div class="figure"> ![Screnshot of Squiggle showing the 'Go' menu](images/svgviewerBrowsing.png) </div>
 Squiggle offers multiple features to help you browse SVG files:
 
 
@@ -141,7 +141,7 @@ Navigating between views
 The **View→Previous Transform** menu item (**Ctrl-K**) and the **View→Next Transform** menu item (**Ctrl-L**) let you go to the previous or next view of the document. This is useful when, for example, you [pan](#panning) or [rotate](#rotating) the document and want to go back to the previous view you had of the document (i.e., before you panned or rotated it).
 
 ### Viewing multiple SVG files { #viewingMultiple}
-<div class="figure"> ![Screenshot of Squiggle with two windows open](images/svgviewerMultipleFiles.png "") </div>
+<div class="figure"> ![Screenshot of Squiggle with two windows open](images/svgviewerMultipleFiles.png) </div>
 Squiggle can display multiple files simultaneously in different windows. To view a new file in a separate window, simply select the **File→New Window** menu item or use the **Ctrl-N** keyboard accelerator.
 
 ### Reloading an SVG document { #reloading}
@@ -160,18 +160,18 @@ The browser offers two ways to inspect the source of an SVG document: [viewing t
 
 ### Viewing the source { #viewingSource}
 
-<div class="figure"> ![Screenshot of Squiggle showing the 'View→View Source' menu item and the source window](images/svgviewerViewSource.png "") </div>
+<div class="figure"> ![Screenshot of Squiggle showing the 'View→View Source' menu item and the source window](images/svgviewerViewSource.png) </div>
 When the browser displays an SVG file, you can select the **View→View Source...** menu item or use the **Ctrl-U** keyboard accelerator to view the source code.
 
 ### Viewing the document tree { #viewingTree}
 
-<div class="figure"> ![Screenshot of Squiggle showing the 'View→DOM Viewer...' menu item and the DOM viewer window](images/svgviewerViewTree.png "") </div>
+<div class="figure"> ![Screenshot of Squiggle showing the 'View→DOM Viewer...' menu item and the DOM viewer window](images/svgviewerViewTree.png) </div>
 When the browser displays an SVG file, you can select the **View→DOM Viewer...** menu item or use the **Ctrl-D** keyboard accelerator to open a window that shows the SVG document in the form of a tree. The window lets you navigate the tree, select individual elements, such as a path elements, and view the attributes and CSS values that apply to these elements. While the View Source window shows the SVG source as it was when it was loaded, the DOM Viewer window reflects the current state  [...]
 
 ## Configuring Squiggle { #configuring}
 
 The **Edit→Preferences** menu item or **Ctrl-G** brings up the dialog box shown in the following figure.
-<div class="figure"> ![Screenshot of Squiggle with the Preferences window open](images/svgviewerPreferences.png "") </div>
+<div class="figure"> ![Screenshot of Squiggle with the Preferences window open](images/svgviewerPreferences.png) </div>
 This dialog contains several types of options, which can be selected with the left-hand side list. For each type of option, a panel lets you configure various browser parameters:
 
 
@@ -246,7 +246,7 @@ There are several methods to zoom in or out an SVG document:
 - If the mouse is over the document in the display area, you can press the **Ctrl key** then **click the left mouse button and drag** to select the area of interest in the document. This can only be used to zoom into a document.
 
 - If the mouse is over the document in the display area, you can press the **Shift key** then **click the right mouse button and drag** it. This is called the *real time* zoom and can be used both for zooming in and out.
-<div class="figure"> ![Screenshot of Squiggle showing the Zoom In and Zoom Out menu items and tool bar buttons](images/svgviewerZoomin.png "") </div><div class="figure"> ![Screenshot of Squiggle zooming to an area of interest](images/svgviewerAOI.png "") </div>
+<div class="figure"> ![Screenshot of Squiggle showing the Zoom In and Zoom Out menu items and tool bar buttons](images/svgviewerZoomin.png) </div><div class="figure"> ![Screenshot of Squiggle zooming to an area of interest](images/svgviewerAOI.png) </div>
 
 ## Panning a document { #panning}
 
@@ -256,7 +256,7 @@ Some documents are too big to fit into the browser, especially when you [zoom](#
 - With the mouse cursor over the SVG document, **press the Shift key** and then **click and drag the left mouse button** to a new location. When you release the mouse, the document will be translated to the new mouse location.
 
 - If you have the [thumbnail](#thumbnail) open, you can select the marker showing the current area of interest and move it to the desired location.
-<div class="figure"> ![Screenshot of Squiggle illustrating the panning gesture](images/svgviewerPan.png "") </div>
+<div class="figure"> ![Screenshot of Squiggle illustrating the panning gesture](images/svgviewerPan.png) </div>
 
 ## Rotating a document { #rotating}
 
@@ -269,4 +269,4 @@ While the mouse and keyboard interactions give interactive way to navigate an SV
 ### Thumbnail { #thumbnail}
 
 Panning in the document window can be difficult after you have zoomed into a document because you cannot see the whole document. Panning on large documents (or with a large zoom factor) is made easy by the thumbnail that you can bring up through the **View→Thumbnail** menu item or the **Ctrl-Y** keyboard accelerator. The thumbnail shows a rectangular marker that represents the “Area of Interest”, i.e., the region currently displayed in the window (the visible portion of the document). Yo [...]
-<div class="figure"> ![Screenshot of Squiggle showing the Thumbnail window](images/svgviewerThumbnail.png "") </div>
\ No newline at end of file
+<div class="figure"> ![Screenshot of Squiggle showing the Thumbnail window](images/svgviewerThumbnail.png) </div>
\ No newline at end of file
diff --git a/content/batik/using/architecture.mdtext b/content/batik/using/architecture.mdtext
index baf52fa6..8dacb433 100644
--- a/content/batik/using/architecture.mdtext
+++ b/content/batik/using/architecture.mdtext
@@ -6,7 +6,7 @@ Title: Architecture overview
 This document briefly describes the Batik architecture and the role of each of its modules. For detailed module design, you can refer to the Batik UML diagrams [Object by Design](http://opensource.objectsbydesign.com/batik/index.html) or [yWorks](http://www.yworks.com/products/yDoc/showcase/batik-1.5/).
 
 The Batik modules are of one of three types: application modules, core modules and low level modules. The following figure illustrates these three module types.
-<div class="figure"> ![Batik Architecture](images/HighLevelArchitecture.png "") </div>
+<div class="figure"> ![Batik Architecture](images/HighLevelArchitecture.png) </div>
  [Application modules](#applicationComponents) illustrate how to use the core modules and let users evaluate the Batik software by experimenting with its features.
 
 The [Core modules](#coreComponents) are the heart of Batik and the primary deliverables for the projects. These are the modules developers use to manipulate, generate, create, convert, render and view SVG content.
diff --git a/content/batik/using/svg-generator.mdtext b/content/batik/using/svg-generator.mdtext
index dad4e4da..2fd9327b 100644
--- a/content/batik/using/svg-generator.mdtext
+++ b/content/batik/using/svg-generator.mdtext
@@ -2,7 +2,7 @@ Title: SVG Generator: SVGGraphics2D
 
 #SVG Generator: SVGGraphics2D
 
-<div class="figure"> ![Flow diagram illustrating that Java programs can have their graphics converted to SVG and then viewed in any SVG viewer](images/svggen.jpg "") </div>
+<div class="figure"> ![Flow diagram illustrating that Java programs can have their graphics converted to SVG and then viewed in any SVG viewer](images/svggen.jpg) </div>
 As SVG is emerging as a promising graphics format for a wide range of domains and applications, bridging it with Java becomes important. This page explains how Batik’s [SVGGraphics2D](../javadoc/org/apache/batik/svggen/SVGGraphics2D.html), referred to as the SVG Generator, makes this possible.
 
 ## The SVGGraphics2D class { #whatIsIt}
@@ -18,7 +18,7 @@ On the Java platform, all rendering goes through the [Graphics2D](http://java.su
 
 - it offers the user the ability to use the DOM API to manipulate the generated document.
 
-<div class="figure"> ![Diagram illustrating how the SVGGraphics2D inherits from Graphics2D, and uses Document to generate a DOM tree](images/svggenHighLevelArchi.jpg "") </div>
+<div class="figure"> ![Diagram illustrating how the SVGGraphics2D inherits from Graphics2D, and uses Document to generate a DOM tree](images/svggenHighLevelArchi.jpg) </div>
 The above figure shows how the generator works with the DOM API. The W3C has defined an API for representing XML content with a Java object. That API allows programmers to manipulate, create, and/or modify XML content in memory. The DOM API contains interfaces such as [Document](http://java.sun.com/j2se/1.5.0/docs/api/org/w3c/dom/Document.html), [Element](http://java.sun.com/j2se/1.5.0/docs/api/org/w3c/dom/Element.html), and [Attr](http://java.sun.com/j2se/1.5.0/docs/api/org/w3c/dom/Attr [...]
 
 The generator manages a tree of DOM objects that represent the SVG content corresponding to the rendering calls made on the `SVGGraphics2D` instance. In other words, every time a program invokes a rendering method, such as `fillRect`, on a `SVGGraphics2D` instance, a new DOM object, representing the SVG equivalent, is appended to the DOM tree. For example, a `rect` element will be appended after the `fillRect` method has been invoked).
diff --git a/content/batik/using/swing.mdtext b/content/batik/using/swing.mdtext
index 20066c2c..235df494 100644
--- a/content/batik/using/swing.mdtext
+++ b/content/batik/using/swing.mdtext
@@ -121,7 +121,7 @@ If you try this example, do not forget to set your `CLASSPATH` so that it contai
         }
     }
 
-![Screenshot of the example SVGApplication program](images/svgapplication.png "")
+![Screenshot of the example SVGApplication program](images/svgapplication.png)
 
 # Handling events { #eventhandling}
 
diff --git a/content/index.mdtext b/content/index.mdtext
index 8df8c6fb..fab79ec7 100644
--- a/content/index.mdtext
+++ b/content/index.mdtext
@@ -19,15 +19,15 @@ The Apache&trade; XML Graphics Project currently consists of the following sub-p
 
 Batik is a Java(tm) technology based toolkit for applications or applets that want to use images in the [Scalable Vector Graphics (SVG)](http://www.w3.org/TR/SVG/) format for various purposes, such as viewing, generation or manipulation.
 
-The project's ambition is to give developers a set of [core modules](http://xmlgraphics.apache.org/batik/using/architecture.html#coreComponents) which can be used together or individually to support specific SVG solutions. Here are some examples of [modules](http://xmlgraphics.apache.org/batik/architecture.html).
+The project's ambition is to give developers a set of [core modules](/batik/using/architecture.html#coreComponents) which can be used together or individually to support specific SVG solutions. Here are some examples of [modules](/batik/architecture.html).
 
 ## Apache&trade; Batik Modules
 
-- the [SVG Parser](/batik/architecture.html#lowLevelComponents)
-- the [SVG Generator](/batik/svggen.html)
-- the [SVG DOM](/batik/domapi.html)
+- the [SVG Parser](/batik/using/architecture.html#lowLevelComponents)
+- the [SVG Generator](/batik/using/svg-generator.html)
+- the [SVG DOM](/batik/using/dom-api.html)
 
-Another ambition for the Batik project is to make it highly [extensible](/batik/extendingBatik.html) (for example, Batik allows the developer to handle custom SVG tags). Even though the goal of the project is to provide a set of core modules, one of the deliverables is a full fledged [SVG Browser](http://xmlgraphics.apache.org/batik/tools/browser.html) implementation, which validates the various modules and their inter-operability.
+Another ambition for the Batik project is to make it highly [extensible](/batik/using/extending.html) (for example, Batik allows the developer to handle custom SVG tags). Even though the goal of the project is to provide a set of core modules, one of the deliverables is a full fledged [SVG Browser](/batik/tools/browser.html) implementation, which validates the various modules and their inter-operability.
 
 Find out more about [Apache Batik](/batik/).
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org